diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -1,7 +1,7 @@ | |||
1 | VERSION = 2 | 1 | VERSION = 2 |
2 | PATCHLEVEL = 6 | 2 | PATCHLEVEL = 6 |
3 | SUBLEVEL = 30 | 3 | SUBLEVEL = 30 |
4 | EXTRAVERSION = -rc1 | 4 | EXTRAVERSION = -rc3 |
5 | NAME = Temporary Tasmanian Devil | 5 | NAME = Temporary Tasmanian Devil |
6 | 6 | ||
7 | # *DOCUMENTATION* | 7 | # *DOCUMENTATION* |
@@ -169,7 +169,7 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \ | |||
169 | -e s/arm.*/arm/ -e s/sa110/arm/ \ | 169 | -e s/arm.*/arm/ -e s/sa110/arm/ \ |
170 | -e s/s390x/s390/ -e s/parisc64/parisc/ \ | 170 | -e s/s390x/s390/ -e s/parisc64/parisc/ \ |
171 | -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \ | 171 | -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \ |
172 | -e s/sh.*/sh/ ) | 172 | -e s/sh[234].*/sh/ ) |
173 | 173 | ||
174 | # Cross compiling and selecting different set of gcc/bin-utils | 174 | # Cross compiling and selecting different set of gcc/bin-utils |
175 | # --------------------------------------------------------------------------- | 175 | # --------------------------------------------------------------------------- |
@@ -210,6 +210,11 @@ ifeq ($(ARCH),sparc64) | |||
210 | SRCARCH := sparc | 210 | SRCARCH := sparc |
211 | endif | 211 | endif |
212 | 212 | ||
213 | # Additional ARCH settings for sh | ||
214 | ifeq ($(ARCH),sh64) | ||
215 | SRCARCH := sh | ||
216 | endif | ||
217 | |||
213 | # Where to locate arch specific headers | 218 | # Where to locate arch specific headers |
214 | hdr-arch := $(SRCARCH) | 219 | hdr-arch := $(SRCARCH) |
215 | 220 | ||
@@ -567,7 +572,7 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,) | |||
567 | # disable pointer signed / unsigned warnings in gcc 4.0 | 572 | # disable pointer signed / unsigned warnings in gcc 4.0 |
568 | KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) | 573 | KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) |
569 | 574 | ||
570 | # disable invalid "can't wrap" optimzations for signed / pointers | 575 | # disable invalid "can't wrap" optimizations for signed / pointers |
571 | KBUILD_CFLAGS += $(call cc-option,-fwrapv) | 576 | KBUILD_CFLAGS += $(call cc-option,-fwrapv) |
572 | 577 | ||
573 | # revert to pre-gcc-4.4 behaviour of .eh_frame | 578 | # revert to pre-gcc-4.4 behaviour of .eh_frame |
@@ -597,6 +602,10 @@ LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\ | |||
597 | LDFLAGS_MODULE += $(LDFLAGS_BUILD_ID) | 602 | LDFLAGS_MODULE += $(LDFLAGS_BUILD_ID) |
598 | LDFLAGS_vmlinux += $(LDFLAGS_BUILD_ID) | 603 | LDFLAGS_vmlinux += $(LDFLAGS_BUILD_ID) |
599 | 604 | ||
605 | ifeq ($(CONFIG_STRIP_ASM_SYMS),y) | ||
606 | LDFLAGS_vmlinux += -X | ||
607 | endif | ||
608 | |||
600 | # Default kernel image to build when no specific target is given. | 609 | # Default kernel image to build when no specific target is given. |
601 | # KBUILD_IMAGE may be overruled on the command line or | 610 | # KBUILD_IMAGE may be overruled on the command line or |
602 | # set in the environment | 611 | # set in the environment |
@@ -1191,7 +1200,7 @@ CLEAN_FILES += vmlinux System.map \ | |||
1191 | .tmp_kallsyms* .tmp_version .tmp_vmlinux* .tmp_System.map | 1200 | .tmp_kallsyms* .tmp_version .tmp_vmlinux* .tmp_System.map |
1192 | 1201 | ||
1193 | # Directories & files removed with 'make mrproper' | 1202 | # Directories & files removed with 'make mrproper' |
1194 | MRPROPER_DIRS += include/config include2 usr/include | 1203 | MRPROPER_DIRS += include/config include2 usr/include include/generated |
1195 | MRPROPER_FILES += .config .config.old include/asm .version .old_version \ | 1204 | MRPROPER_FILES += .config .config.old include/asm .version .old_version \ |
1196 | include/linux/autoconf.h include/linux/version.h \ | 1205 | include/linux/autoconf.h include/linux/version.h \ |
1197 | include/linux/utsrelease.h \ | 1206 | include/linux/utsrelease.h \ |
@@ -1587,5 +1596,5 @@ PHONY += FORCE | |||
1587 | FORCE: | 1596 | FORCE: |
1588 | 1597 | ||
1589 | # 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 |
1590 | # 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. |
1591 | .PHONY: $(PHONY) | 1600 | .PHONY: $(PHONY) |