diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-06 03:02:57 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-06 03:02:57 -0400 |
commit | f541ae326fa120fa5c57433e4d9a133df212ce41 (patch) | |
tree | bdbd94ec72cfc601118051cb35e8617d55510177 /Makefile | |
parent | e255357764f92afcafafbd4879b222b8c752065a (diff) | |
parent | 0221c81b1b8eb0cbb6b30a0ced52ead32d2b4e4c (diff) |
Merge branch 'linus' into perfcounters/core-v2
Merge reason: we have gathered quite a few conflicts, need to merge upstream
Conflicts:
arch/powerpc/kernel/Makefile
arch/x86/ia32/ia32entry.S
arch/x86/include/asm/hardirq.h
arch/x86/include/asm/unistd_32.h
arch/x86/include/asm/unistd_64.h
arch/x86/kernel/cpu/common.c
arch/x86/kernel/irq.c
arch/x86/kernel/syscall_table_32.S
arch/x86/mm/iomap_32.c
include/linux/sched.h
kernel/Makefile
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 28 |
1 files changed, 20 insertions, 8 deletions
@@ -1,8 +1,8 @@ | |||
1 | VERSION = 2 | 1 | VERSION = 2 |
2 | PATCHLEVEL = 6 | 2 | PATCHLEVEL = 6 |
3 | SUBLEVEL = 29 | 3 | SUBLEVEL = 29 |
4 | EXTRAVERSION = -rc7 | 4 | EXTRAVERSION = |
5 | NAME = Erotic Pickled Herring | 5 | NAME = Temporary Tasmanian Devil |
6 | 6 | ||
7 | # *DOCUMENTATION* | 7 | # *DOCUMENTATION* |
8 | # To see a list of typical targets execute "make help" | 8 | # To see a list of typical targets execute "make help" |
@@ -567,6 +567,12 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,) | |||
567 | # disable pointer signed / unsigned warnings in gcc 4.0 | 567 | # disable pointer signed / unsigned warnings in gcc 4.0 |
568 | KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) | 568 | KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) |
569 | 569 | ||
570 | # disable invalid "can't wrap" optimzations for signed / pointers | ||
571 | KBUILD_CFLAGS += $(call cc-option,-fwrapv) | ||
572 | |||
573 | # revert to pre-gcc-4.4 behaviour of .eh_frame | ||
574 | KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm) | ||
575 | |||
570 | # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments | 576 | # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments |
571 | # But warn user when we do so | 577 | # But warn user when we do so |
572 | warn-assign = \ | 578 | warn-assign = \ |
@@ -905,12 +911,18 @@ localver = $(subst $(space),, $(string) \ | |||
905 | # and if the SCM is know a tag from the SCM is appended. | 911 | # and if the SCM is know a tag from the SCM is appended. |
906 | # The appended tag is determined by the SCM used. | 912 | # The appended tag is determined by the SCM used. |
907 | # | 913 | # |
908 | # Currently, only git is supported. | 914 | # .scmversion is used when generating rpm packages so we do not loose |
909 | # Other SCMs can edit scripts/setlocalversion and add the appropriate | 915 | # the version information from the SCM when we do the build of the kernel |
910 | # checks as needed. | 916 | # from the copied source |
911 | ifdef CONFIG_LOCALVERSION_AUTO | 917 | ifdef CONFIG_LOCALVERSION_AUTO |
912 | _localver-auto = $(shell $(CONFIG_SHELL) \ | 918 | |
913 | $(srctree)/scripts/setlocalversion $(srctree)) | 919 | ifeq ($(wildcard .scmversion),) |
920 | _localver-auto = $(shell $(CONFIG_SHELL) \ | ||
921 | $(srctree)/scripts/setlocalversion $(srctree)) | ||
922 | else | ||
923 | _localver-auto = $(shell cat .scmversion 2> /dev/null) | ||
924 | endif | ||
925 | |||
914 | localver-auto = $(LOCALVERSION)$(_localver-auto) | 926 | localver-auto = $(LOCALVERSION)$(_localver-auto) |
915 | endif | 927 | endif |
916 | 928 | ||
@@ -1538,7 +1550,7 @@ quiet_cmd_depmod = DEPMOD $(KERNELRELEASE) | |||
1538 | cmd_depmod = \ | 1550 | cmd_depmod = \ |
1539 | if [ -r System.map -a -x $(DEPMOD) ]; then \ | 1551 | if [ -r System.map -a -x $(DEPMOD) ]; then \ |
1540 | $(DEPMOD) -ae -F System.map \ | 1552 | $(DEPMOD) -ae -F System.map \ |
1541 | $(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r) \ | 1553 | $(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) ) \ |
1542 | $(KERNELRELEASE); \ | 1554 | $(KERNELRELEASE); \ |
1543 | fi | 1555 | fi |
1544 | 1556 | ||