aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-04-06 03:02:57 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-06 03:02:57 -0400
commitf541ae326fa120fa5c57433e4d9a133df212ce41 (patch)
treebdbd94ec72cfc601118051cb35e8617d55510177 /Makefile
parente255357764f92afcafafbd4879b222b8c752065a (diff)
parent0221c81b1b8eb0cbb6b30a0ced52ead32d2b4e4c (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--Makefile28
1 files changed, 20 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index c40d83aedebe..c6307b6d069f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
1VERSION = 2 1VERSION = 2
2PATCHLEVEL = 6 2PATCHLEVEL = 6
3SUBLEVEL = 29 3SUBLEVEL = 29
4EXTRAVERSION = -rc7 4EXTRAVERSION =
5NAME = Erotic Pickled Herring 5NAME = 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
568KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) 568KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,)
569 569
570# disable invalid "can't wrap" optimzations for signed / pointers
571KBUILD_CFLAGS += $(call cc-option,-fwrapv)
572
573# revert to pre-gcc-4.4 behaviour of .eh_frame
574KBUILD_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
572warn-assign = \ 578warn-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
911ifdef CONFIG_LOCALVERSION_AUTO 917ifdef CONFIG_LOCALVERSION_AUTO
912 _localver-auto = $(shell $(CONFIG_SHELL) \ 918
913 $(srctree)/scripts/setlocalversion $(srctree)) 919ifeq ($(wildcard .scmversion),)
920 _localver-auto = $(shell $(CONFIG_SHELL) \
921 $(srctree)/scripts/setlocalversion $(srctree))
922else
923 _localver-auto = $(shell cat .scmversion 2> /dev/null)
924endif
925
914 localver-auto = $(LOCALVERSION)$(_localver-auto) 926 localver-auto = $(LOCALVERSION)$(_localver-auto)
915endif 927endif
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