diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/math-emu/Makefile | 2 | ||||
-rw-r--r-- | arch/ppc/boot/Makefile | 1 | ||||
-rw-r--r-- | arch/x86/math-emu/Makefile | 3 | ||||
-rw-r--r-- | arch/xtensa/boot/Makefile | 5 |
4 files changed, 4 insertions, 7 deletions
diff --git a/arch/parisc/math-emu/Makefile b/arch/parisc/math-emu/Makefile index affd4c80e3b7..1f3f225897f5 100644 --- a/arch/parisc/math-emu/Makefile +++ b/arch/parisc/math-emu/Makefile | |||
@@ -3,7 +3,7 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | # See arch/parisc/math-emu/README | 5 | # See arch/parisc/math-emu/README |
6 | CFLAGS += -Wno-parentheses -Wno-implicit-function-declaration \ | 6 | EXTRA_CFLAGS += -Wno-parentheses -Wno-implicit-function-declaration \ |
7 | -Wno-uninitialized -Wno-strict-prototypes -Wno-return-type \ | 7 | -Wno-uninitialized -Wno-strict-prototypes -Wno-return-type \ |
8 | -Wno-implicit-int | 8 | -Wno-implicit-int |
9 | 9 | ||
diff --git a/arch/ppc/boot/Makefile b/arch/ppc/boot/Makefile index b739e25d4728..487dc66dcc74 100644 --- a/arch/ppc/boot/Makefile +++ b/arch/ppc/boot/Makefile | |||
@@ -13,7 +13,6 @@ | |||
13 | # modified by Cort (cort@cs.nmt.edu) | 13 | # modified by Cort (cort@cs.nmt.edu) |
14 | # | 14 | # |
15 | 15 | ||
16 | CFLAGS += -fno-builtin -D__BOOTER__ -Iarch/$(ARCH)/boot/include | ||
17 | HOSTCFLAGS += -Iarch/$(ARCH)/boot/include | 16 | HOSTCFLAGS += -Iarch/$(ARCH)/boot/include |
18 | 17 | ||
19 | BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd | 18 | BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd |
diff --git a/arch/x86/math-emu/Makefile b/arch/x86/math-emu/Makefile index 9c943fa6ce6b..9b0c63b60302 100644 --- a/arch/x86/math-emu/Makefile +++ b/arch/x86/math-emu/Makefile | |||
@@ -5,8 +5,7 @@ | |||
5 | #DEBUG = -DDEBUGGING | 5 | #DEBUG = -DDEBUGGING |
6 | DEBUG = | 6 | DEBUG = |
7 | PARANOID = -DPARANOID | 7 | PARANOID = -DPARANOID |
8 | CFLAGS := $(CFLAGS) $(PARANOID) $(DEBUG) -fno-builtin $(MATH_EMULATION) | 8 | EXTRA_CFLAGS := $(PARANOID) $(DEBUG) -fno-builtin $(MATH_EMULATION) |
9 | |||
10 | EXTRA_AFLAGS := $(PARANOID) | 9 | EXTRA_AFLAGS := $(PARANOID) |
11 | 10 | ||
12 | # From 'C' language sources: | 11 | # From 'C' language sources: |
diff --git a/arch/xtensa/boot/Makefile b/arch/xtensa/boot/Makefile index 820b31d10ae4..9c5185f605b6 100644 --- a/arch/xtensa/boot/Makefile +++ b/arch/xtensa/boot/Makefile | |||
@@ -8,13 +8,12 @@ | |||
8 | # | 8 | # |
9 | 9 | ||
10 | 10 | ||
11 | CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include | 11 | EXTRA_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include |
12 | HOSTFLAGS += -Iarch/$(ARCH)/boot/include | 12 | HOSTFLAGS += -Iarch/$(ARCH)/boot/include |
13 | 13 | ||
14 | BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#") | 14 | BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#") |
15 | 15 | ||
16 | export CFLAGS | 16 | export EXTRA_CFLAGS |
17 | export AFLAGS | ||
18 | export BIG_ENDIAN | 17 | export BIG_ENDIAN |
19 | 18 | ||
20 | subdir-y := lib | 19 | subdir-y := lib |