aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 59b60d5562d3..4f7e3ccde05b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
1VERSION = 2 1VERSION = 2
2PATCHLEVEL = 6 2PATCHLEVEL = 6
3SUBLEVEL = 29 3SUBLEVEL = 30
4EXTRAVERSION = 4EXTRAVERSION = -rc1
5NAME = Temporary Tasmanian Devil 5NAME = Temporary Tasmanian Devil
6 6
7# *DOCUMENTATION* 7# *DOCUMENTATION*
@@ -572,7 +572,7 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
572# disable pointer signed / unsigned warnings in gcc 4.0 572# disable pointer signed / unsigned warnings in gcc 4.0
573KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) 573KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,)
574 574
575# disable invalid "can't wrap" optimzations for signed / pointers 575# disable invalid "can't wrap" optimizations for signed / pointers
576KBUILD_CFLAGS += $(call cc-option,-fwrapv) 576KBUILD_CFLAGS += $(call cc-option,-fwrapv)
577 577
578# revert to pre-gcc-4.4 behaviour of .eh_frame 578# revert to pre-gcc-4.4 behaviour of .eh_frame
@@ -602,6 +602,10 @@ LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\
602LDFLAGS_MODULE += $(LDFLAGS_BUILD_ID) 602LDFLAGS_MODULE += $(LDFLAGS_BUILD_ID)
603LDFLAGS_vmlinux += $(LDFLAGS_BUILD_ID) 603LDFLAGS_vmlinux += $(LDFLAGS_BUILD_ID)
604 604
605ifeq ($(CONFIG_STRIP_ASM_SYMS),y)
606LDFLAGS_vmlinux += -X
607endif
608
605# Default kernel image to build when no specific target is given. 609# Default kernel image to build when no specific target is given.
606# KBUILD_IMAGE may be overruled on the command line or 610# KBUILD_IMAGE may be overruled on the command line or
607# set in the environment 611# set in the environment
@@ -1592,5 +1596,5 @@ PHONY += FORCE
1592FORCE: 1596FORCE:
1593 1597
1594# Declare the contents of the .PHONY variable as phony. We keep that 1598# Declare the contents of the .PHONY variable as phony. We keep that
1595# information in a variable se we can use it in if_changed and friends. 1599# information in a variable so we can use it in if_changed and friends.
1596.PHONY: $(PHONY) 1600.PHONY: $(PHONY)