diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -1,7 +1,7 @@ | |||
1 | VERSION = 2 | 1 | VERSION = 2 |
2 | PATCHLEVEL = 6 | 2 | PATCHLEVEL = 6 |
3 | SUBLEVEL = 19 | 3 | SUBLEVEL = 20 |
4 | EXTRAVERSION = | 4 | EXTRAVERSION =-rc1 |
5 | NAME=Avast! A bilge rat! | 5 | NAME=Avast! A bilge rat! |
6 | 6 | ||
7 | # *DOCUMENTATION* | 7 | # *DOCUMENTATION* |
@@ -496,11 +496,6 @@ else | |||
496 | CFLAGS += -fomit-frame-pointer | 496 | CFLAGS += -fomit-frame-pointer |
497 | endif | 497 | endif |
498 | 498 | ||
499 | ifdef CONFIG_UNWIND_INFO | ||
500 | CFLAGS += -fasynchronous-unwind-tables | ||
501 | LDFLAGS_vmlinux += --eh-frame-hdr | ||
502 | endif | ||
503 | |||
504 | ifdef CONFIG_DEBUG_INFO | 499 | ifdef CONFIG_DEBUG_INFO |
505 | CFLAGS += -g | 500 | CFLAGS += -g |
506 | endif | 501 | endif |
@@ -1390,12 +1385,18 @@ endif #ifeq ($(mixed-targets),1) | |||
1390 | 1385 | ||
1391 | PHONY += checkstack kernelrelease kernelversion | 1386 | PHONY += checkstack kernelrelease kernelversion |
1392 | 1387 | ||
1393 | # Use $(SUBARCH) here instead of $(ARCH) so that this works for UML. | 1388 | # UML needs a little special treatment here. It wants to use the host |
1394 | # In the UML case, $(SUBARCH) is the name of the underlying | 1389 | # toolchain, so needs $(SUBARCH) passed to checkstack.pl. Everyone |
1395 | # architecture, while for all other arches, it is the same as $(ARCH). | 1390 | # else wants $(ARCH), including people doing cross-builds, which means |
1391 | # that $(SUBARCH) doesn't work here. | ||
1392 | ifeq ($(ARCH), um) | ||
1393 | CHECKSTACK_ARCH := $(SUBARCH) | ||
1394 | else | ||
1395 | CHECKSTACK_ARCH := $(ARCH) | ||
1396 | endif | ||
1396 | checkstack: | 1397 | checkstack: |
1397 | $(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \ | 1398 | $(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \ |
1398 | $(PERL) $(src)/scripts/checkstack.pl $(SUBARCH) | 1399 | $(PERL) $(src)/scripts/checkstack.pl $(CHECKSTACK_ARCH) |
1399 | 1400 | ||
1400 | kernelrelease: | 1401 | kernelrelease: |
1401 | $(if $(wildcard include/config/kernel.release), $(Q)echo $(KERNELRELEASE), \ | 1402 | $(if $(wildcard include/config/kernel.release), $(Q)echo $(KERNELRELEASE), \ |