diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-08 13:25:20 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-08 13:25:20 +0000 |
commit | 2af860464eadc7f9606efe1e2876c9170d1cb40d (patch) | |
tree | a561192aa594f54269c72cbdb6d81a2ac4f56807 | |
parent | 62538804506061d80ac73b49df43285922fbdaef (diff) | |
download | busybox-w32-2af860464eadc7f9606efe1e2876c9170d1cb40d.tar.gz busybox-w32-2af860464eadc7f9606efe1e2876c9170d1cb40d.tar.bz2 busybox-w32-2af860464eadc7f9606efe1e2876c9170d1cb40d.zip |
- forgot to pull in arch-specific tweaks
-rw-r--r-- | scripts/Makefile.IMA | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/Makefile.IMA b/scripts/Makefile.IMA index 29399178e..353a4ac1b 100644 --- a/scripts/Makefile.IMA +++ b/scripts/Makefile.IMA | |||
@@ -32,6 +32,15 @@ include .config | |||
32 | include $(srctree)/scripts/Kbuild.include | 32 | include $(srctree)/scripts/Kbuild.include |
33 | 33 | ||
34 | include Makefile.flags | 34 | include Makefile.flags |
35 | |||
36 | SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \ | ||
37 | -e s/arm.*/arm/ -e s/sa110/arm/ \ | ||
38 | -e s/s390x/s390/ -e s/parisc64/parisc/ \ | ||
39 | -e s/ppc.*/powerpc/ -e s/mips.*/mips/ ) | ||
40 | ARCH ?= $(SUBARCH) | ||
41 | |||
42 | # Cross compiling and selecting different set of gcc/bin-utils | ||
43 | -include $(srctree)/arch/$(ARCH)/Makefile | ||
35 | ifdef CONFIG_FEATURE_COMPRESS_USAGE | 44 | ifdef CONFIG_FEATURE_COMPRESS_USAGE |
36 | usage_stuff = include/usage_compressed.h | 45 | usage_stuff = include/usage_compressed.h |
37 | endif | 46 | endif |