path: root/arch/cris/Makefile
diff options
authorSam Ravnborg <>2009-09-20 12:28:22 +0200
committerSam Ravnborg <>2009-09-20 12:28:22 +0200
commit51b563fc93c8cb5bff1d67a0a71c374e4a4ea049 (patch)
tree38c6a6d185183b30b8dbe59d5b8fa78815a1fdd4 /arch/cris/Makefile
parent4356f4890792a678936c93c9196e8f7742e04535 (diff)
arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0
Albin Tonnerre <> reported: Bash 4 filters out variables which contain a dot in them. This happends to be the case of This is rather unfortunate, as it now causes build failures when using SHELL=/bin/bash to compile, or when bash happens to be used by make (eg when it's /bin/sh) Remove the common definition of by pushing relevant stuff to either or the arch specific kernel/Makefile where we build the linker script. This is also nice cleanup as we move the information out where it is used. Notes for the different architectures touched: arm - we use an already exported symbol cris - we use a config symbol aleady available [Not build tested] mips - the jiffies complexity has moved to where we need it. Added a few variables to CPPFLAGS - they are only used by the linker script. [Not build tested] powerpc - removed assignment that is not needed [not build tested] sparc - simplified it using $(BITS) um - introduced a few new exported variables to deal with this xtensa - added options to CPP invocation [not build tested] Cc: Albin Tonnerre <> Cc: Russell King <> Cc: Mikael Starvik <> Cc: Jesper Nilsson <> Cc: Benjamin Herrenschmidt <> Cc: Paul Mackerras <> Cc: "David S. Miller" <> Cc: Jeff Dike <> Cc: Chris Zankel <> Signed-off-by: Sam Ravnborg <>
Diffstat (limited to 'arch/cris/Makefile')
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/cris/Makefile b/arch/cris/Makefile
index 71e17d3eeddb..29c2ceb38a76 100644
--- a/arch/cris/Makefile
+++ b/arch/cris/Makefile
@@ -42,8 +42,6 @@ LD = $(CROSS_COMPILE)ld -mcrislinux
KBUILD_AFLAGS += -mlinux -march=$(arch-y) $(inc)
KBUILD_CFLAGS += -mlinux -march=$(arch-y) -pipe $(inc)