scummvm random work
[patches.git] / u-boot-no-host-ppc-check.patch
CommitLineData
5e993f12 1diff --git a/Makefile b/Makefile
2index 358d181..a04715d 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -118,7 +118,7 @@ include $(OBJTREE)/include/config.mk
6 export ARCH CPU BOARD VENDOR SOC
7
8 ifndef CROSS_COMPILE
9-ifeq ($(HOSTARCH),ppc)
10+ifeq ($(HOSTARCH),$(ARCH))
11 CROSS_COMPILE =
12 else
13 ifeq ($(ARCH),ppc)
14@@ -128,12 +128,8 @@ ifeq ($(ARCH),arm)
15 CROSS_COMPILE = arm-linux-
16 endif
17 ifeq ($(ARCH),i386)
18-ifeq ($(HOSTARCH),i386)
19-CROSS_COMPILE =
20-else
21 CROSS_COMPILE = i386-linux-
22 endif
23-endif
24 ifeq ($(ARCH),mips)
25 CROSS_COMPILE = mips_4KC-
26 endif