diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -1,8 +1,8 @@ | |||
1 | VERSION = 2 | 1 | VERSION = 2 |
2 | PATCHLEVEL = 6 | 2 | PATCHLEVEL = 6 |
3 | SUBLEVEL = 25 | 3 | SUBLEVEL = 25 |
4 | EXTRAVERSION = -rc1 | 4 | EXTRAVERSION = -rc2 |
5 | NAME = Arr Matey! A Hairy Bilge Rat! | 5 | NAME = Funky Weasel is Jiggy wit it |
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" |
@@ -507,6 +507,10 @@ else | |||
507 | KBUILD_CFLAGS += -O2 | 507 | KBUILD_CFLAGS += -O2 |
508 | endif | 508 | endif |
509 | 509 | ||
510 | # Force gcc to behave correct even for buggy distributions | ||
511 | # Arch Makefiles may override this setting | ||
512 | KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) | ||
513 | |||
510 | include $(srctree)/arch/$(SRCARCH)/Makefile | 514 | include $(srctree)/arch/$(SRCARCH)/Makefile |
511 | 515 | ||
512 | ifdef CONFIG_FRAME_POINTER | 516 | ifdef CONFIG_FRAME_POINTER |
@@ -525,9 +529,6 @@ ifdef CONFIG_DEBUG_SECTION_MISMATCH | |||
525 | KBUILD_CFLAGS += $(call cc-option, -fno-inline-functions-called-once) | 529 | KBUILD_CFLAGS += $(call cc-option, -fno-inline-functions-called-once) |
526 | endif | 530 | endif |
527 | 531 | ||
528 | # Force gcc to behave correct even for buggy distributions | ||
529 | KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) | ||
530 | |||
531 | # arch Makefile may override CC so keep this after arch Makefile is included | 532 | # arch Makefile may override CC so keep this after arch Makefile is included |
532 | NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) | 533 | NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) |
533 | CHECKFLAGS += $(NOSTDINC_FLAGS) | 534 | CHECKFLAGS += $(NOSTDINC_FLAGS) |
@@ -810,7 +811,9 @@ endif | |||
810 | $(Q)rm -f .old_version | 811 | $(Q)rm -f .old_version |
811 | 812 | ||
812 | # build vmlinux.o first to catch section mismatch errors early | 813 | # build vmlinux.o first to catch section mismatch errors early |
813 | $(kallsyms.o): vmlinux.o | 814 | ifdef CONFIG_KALLSYMS |
815 | .tmp_vmlinux1: vmlinux.o | ||
816 | endif | ||
814 | vmlinux.o: $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) FORCE | 817 | vmlinux.o: $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) FORCE |
815 | $(call if_changed_rule,vmlinux-modpost) | 818 | $(call if_changed_rule,vmlinux-modpost) |
816 | 819 | ||