diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 14:23:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 14:23:06 -0400 |
commit | 821f3eff7cdb9d6c7076effabd46c96c322daed1 (patch) | |
tree | 60f13155196fd6c84424c8aebc133ca4a5f56749 /arch/arm | |
parent | ebc283118ee448dcb6e6cae74a8a43f17a1ccc3f (diff) | |
parent | f77bf01425b11947eeb3b5b54685212c302741b8 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild: (40 commits)
kbuild: introduce ccflags-y, asflags-y and ldflags-y
kbuild: enable 'make CPPFLAGS=...' to add additional options to CPP
kbuild: enable use of AFLAGS and CFLAGS on commandline
kbuild: enable 'make AFLAGS=...' to add additional options to AS
kbuild: fix AFLAGS use in h8300 and m68knommu
kbuild: check for wrong use of CFLAGS
kbuild: enable 'make CFLAGS=...' to add additional options to CC
kbuild: fix up CFLAGS usage
kbuild: make modpost detect unterminated device id lists
kbuild: call export_report from the Makefile
kbuild: move Kai Germaschewski to CREDITS
kconfig/menuconfig: distinguish between selected-by-another options and comments
kconfig: tristate choices with mixed tristate and boolean values
include/linux/Kbuild: remove duplicate entries
kbuild: kill backward compatibility checks
kbuild: kill EXTRA_ARFLAGS
kbuild: fix documentation in makefiles.txt
kbuild: call make once for all targets when O=.. is used
kbuild: pass -g to assembler under CONFIG_DEBUG_INFO
kbuild: update _shipped files for kconfig syntax cleanup
...
Fix up conflicts in arch/um/sys-{x86_64,i386}/Makefile manually.
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/Makefile | 14 | ||||
-rw-r--r-- | arch/arm/boot/compressed/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/vfp/Makefile | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 6c2d539cd22b..35e56c99ad1d 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -14,9 +14,9 @@ LDFLAGS_vmlinux :=-p --no-undefined -X | |||
14 | CPPFLAGS_vmlinux.lds = -DTEXT_OFFSET=$(TEXT_OFFSET) | 14 | CPPFLAGS_vmlinux.lds = -DTEXT_OFFSET=$(TEXT_OFFSET) |
15 | OBJCOPYFLAGS :=-O binary -R .note -R .note.gnu.build-id -R .comment -S | 15 | OBJCOPYFLAGS :=-O binary -R .note -R .note.gnu.build-id -R .comment -S |
16 | GZFLAGS :=-9 | 16 | GZFLAGS :=-9 |
17 | #CFLAGS +=-pipe | 17 | #KBUILD_CFLAGS +=-pipe |
18 | # Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb: | 18 | # Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb: |
19 | CFLAGS +=$(call cc-option,-marm,) | 19 | KBUILD_CFLAGS +=$(call cc-option,-marm,) |
20 | 20 | ||
21 | # Do not use arch/arm/defconfig - it's always outdated. | 21 | # Do not use arch/arm/defconfig - it's always outdated. |
22 | # Select a platform tht is kept up-to-date | 22 | # Select a platform tht is kept up-to-date |
@@ -28,15 +28,15 @@ MMUEXT := -nommu | |||
28 | endif | 28 | endif |
29 | 29 | ||
30 | ifeq ($(CONFIG_FRAME_POINTER),y) | 30 | ifeq ($(CONFIG_FRAME_POINTER),y) |
31 | CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog | 31 | KBUILD_CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog |
32 | endif | 32 | endif |
33 | 33 | ||
34 | ifeq ($(CONFIG_CPU_BIG_ENDIAN),y) | 34 | ifeq ($(CONFIG_CPU_BIG_ENDIAN),y) |
35 | CPPFLAGS += -mbig-endian | 35 | KBUILD_CPPFLAGS += -mbig-endian |
36 | AS += -EB | 36 | AS += -EB |
37 | LD += -EB | 37 | LD += -EB |
38 | else | 38 | else |
39 | CPPFLAGS += -mlittle-endian | 39 | KBUILD_CPPFLAGS += -mlittle-endian |
40 | AS += -EL | 40 | AS += -EL |
41 | LD += -EL | 41 | LD += -EL |
42 | endif | 42 | endif |
@@ -85,8 +85,8 @@ CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call cc-option,-mno-th | |||
85 | endif | 85 | endif |
86 | 86 | ||
87 | # Need -Uarm for gcc < 3.x | 87 | # Need -Uarm for gcc < 3.x |
88 | CFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm | 88 | KBUILD_CFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm |
89 | AFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float | 89 | KBUILD_AFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float |
90 | 90 | ||
91 | CHECKFLAGS += -D__arm__ | 91 | CHECKFLAGS += -D__arm__ |
92 | 92 | ||
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index 6b8cbd69f249..5fde99f9d9f9 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile | |||
@@ -87,7 +87,7 @@ ifneq ($(PARAMS_PHYS),) | |||
87 | LDFLAGS_vmlinux += --defsym params_phys=$(PARAMS_PHYS) | 87 | LDFLAGS_vmlinux += --defsym params_phys=$(PARAMS_PHYS) |
88 | endif | 88 | endif |
89 | LDFLAGS_vmlinux += -p --no-undefined -X \ | 89 | LDFLAGS_vmlinux += -p --no-undefined -X \ |
90 | $(shell $(CC) $(CFLAGS) --print-libgcc-file-name) -T | 90 | $(shell $(CC) $(KBUILD_CFLAGS) --print-libgcc-file-name) -T |
91 | 91 | ||
92 | # Don't allow any static data in misc.o, which | 92 | # Don't allow any static data in misc.o, which |
93 | # would otherwise mess up our GOT table | 93 | # would otherwise mess up our GOT table |
diff --git a/arch/arm/vfp/Makefile b/arch/arm/vfp/Makefile index 7e136e77971a..39f6d8e1af73 100644 --- a/arch/arm/vfp/Makefile +++ b/arch/arm/vfp/Makefile | |||
@@ -7,7 +7,7 @@ | |||
7 | # EXTRA_CFLAGS := -DDEBUG | 7 | # EXTRA_CFLAGS := -DDEBUG |
8 | # EXTRA_AFLAGS := -DDEBUG | 8 | # EXTRA_AFLAGS := -DDEBUG |
9 | 9 | ||
10 | AFLAGS :=$(AFLAGS:-msoft-float=-Wa,-mfpu=softvfp+vfp) | 10 | KBUILD_AFLAGS :=$(KBUILD_AFLAGS:-msoft-float=-Wa,-mfpu=softvfp+vfp) |
11 | LDFLAGS +=--no-warn-mismatch | 11 | LDFLAGS +=--no-warn-mismatch |
12 | 12 | ||
13 | obj-y += vfp.o | 13 | obj-y += vfp.o |