Skip to content

Commit

Permalink
Don't set HOST_ARCH to ppc970 on other hosts
Browse files Browse the repository at this point in the history
Last commit introduced regression. Fixinig...

Signed-off-by: Dinar Valeev <dvaleev@suse.com>
  • Loading branch information
Dinar Valeev authored and adrianschroeter committed Dec 2, 2013
1 parent a38aa4c commit 5dbff32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build
Expand Up @@ -1032,7 +1032,8 @@ check_for_arm()

check_for_ppc()
{
grep -q "PowerNV" /proc/cpuinfo && export HOST_ARCH=power7 || export HOST_ARCH=ppc970
grep -q "PowerNV" /proc/cpuinfo && export HOST_ARCH=power7
grep -q "PPC970MP" /proc/cpuinfo && export HOST_ARCH=ppc970

case $BUILD_ARCH in
ppc|ppc64) export VM_KERNEL=/boot/vmlinux
Expand Down

0 comments on commit 5dbff32

Please sign in to comment.