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/mips | |
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/mips')
-rw-r--r-- | arch/mips/Makefile | 8 | ||||
-rw-r--r-- | arch/mips/kernel/Makefile | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index ebd5d02a7d78..6b663bec4752 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -608,14 +608,14 @@ ifdef CONFIG_64BIT | |||
608 | endif | 608 | endif |
609 | endif | 609 | endif |
610 | 610 | ||
611 | AFLAGS += $(cflags-y) | 611 | KBUILD_AFLAGS += $(cflags-y) |
612 | CFLAGS += $(cflags-y) \ | 612 | KBUILD_CFLAGS += $(cflags-y) \ |
613 | -D"VMLINUX_LOAD_ADDRESS=$(load-y)" | 613 | -D"VMLINUX_LOAD_ADDRESS=$(load-y)" |
614 | 614 | ||
615 | LDFLAGS += -m $(ld-emul) | 615 | LDFLAGS += -m $(ld-emul) |
616 | 616 | ||
617 | ifdef CONFIG_MIPS | 617 | ifdef CONFIG_MIPS |
618 | CHECKFLAGS += $(shell $(CC) $(CFLAGS) -dM -E -xc /dev/null | \ | 618 | CHECKFLAGS += $(shell $(CC) $(KBUILD_CFLAGS) -dM -E -xc /dev/null | \ |
619 | egrep -vw '__GNUC_(|MINOR_|PATCHLEVEL_)_' | \ | 619 | egrep -vw '__GNUC_(|MINOR_|PATCHLEVEL_)_' | \ |
620 | sed -e 's/^\#define /-D/' -e "s/ /='/" -e "s/$$/'/") | 620 | sed -e 's/^\#define /-D/' -e "s/ /='/" -e "s/$$/'/") |
621 | ifdef CONFIG_64BIT | 621 | ifdef CONFIG_64BIT |
@@ -632,7 +632,7 @@ OBJCOPYFLAGS += --remove-section=.reginfo | |||
632 | # | 632 | # |
633 | 633 | ||
634 | CPPFLAGS_vmlinux.lds := \ | 634 | CPPFLAGS_vmlinux.lds := \ |
635 | $(CFLAGS) \ | 635 | $(KBUILD_CFLAGS) \ |
636 | -D"LOADADDR=$(load-y)" \ | 636 | -D"LOADADDR=$(load-y)" \ |
637 | -D"JIFFIES=$(JIFFIES)" \ | 637 | -D"JIFFIES=$(JIFFIES)" \ |
638 | -D"DATAOFFSET=$(if $(dataoffset-y),$(dataoffset-y),0)" | 638 | -D"DATAOFFSET=$(if $(dataoffset-y),$(dataoffset-y),0)" |
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile index a2689f93c160..95a356ef3910 100644 --- a/arch/mips/kernel/Makefile +++ b/arch/mips/kernel/Makefile | |||
@@ -71,7 +71,7 @@ obj-$(CONFIG_PCSPEAKER) += pcspeaker.o | |||
71 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o | 71 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o |
72 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | 72 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o |
73 | 73 | ||
74 | CFLAGS_cpu-bugs64.o = $(shell if $(CC) $(CFLAGS) -Wa,-mdaddi -c -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-DHAVE_AS_SET_DADDI"; fi) | 74 | CFLAGS_cpu-bugs64.o = $(shell if $(CC) $(KBUILD_CFLAGS) -Wa,-mdaddi -c -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-DHAVE_AS_SET_DADDI"; fi) |
75 | 75 | ||
76 | obj-$(CONFIG_HAVE_STD_PC_SERIAL_PORT) += 8250-platform.o | 76 | obj-$(CONFIG_HAVE_STD_PC_SERIAL_PORT) += 8250-platform.o |
77 | 77 | ||