projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6253880
)
- forgot to pull in arch-specific tweaks
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Thu, 8 May 2008 13:25:20 +0000
(13:25 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Thu, 8 May 2008 13:25:20 +0000
(13:25 -0000)
scripts/Makefile.IMA
patch
|
blob
|
history
diff --git
a/scripts/Makefile.IMA
b/scripts/Makefile.IMA
index 29399178eb3ce808108d5c5ebfdb00ec1349c6eb..353a4ac1bc3e433b36cdbf88473d577041510fff 100644
(file)
--- a/
scripts/Makefile.IMA
+++ b/
scripts/Makefile.IMA
@@
-32,6
+32,15
@@
include .config
include $(srctree)/scripts/Kbuild.include
include Makefile.flags
+
+SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
+ -e s/arm.*/arm/ -e s/sa110/arm/ \
+ -e s/s390x/s390/ -e s/parisc64/parisc/ \
+ -e s/ppc.*/powerpc/ -e s/mips.*/mips/ )
+ARCH ?= $(SUBARCH)
+
+# Cross compiling and selecting different set of gcc/bin-utils
+-include $(srctree)/arch/$(ARCH)/Makefile
ifdef CONFIG_FEATURE_COMPRESS_USAGE
usage_stuff = include/usage_compressed.h
endif