diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-09-27 04:50:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 11:26:16 -0400 |
commit | e3ccf6e3699c879973b616fe681ecaa363457d41 (patch) | |
tree | 91aba1c6ddf86881a84966af84e7a128fd6ba742 /Makefile | |
parent | 53dd2b55c50c810073615c79816bc06aea02dba9 (diff) |
[PATCH] uml: add checkstack support
Make checkstack work for UML. We need to pass the underlying architecture
name, rather than "um" to checkstack.pl.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Acked-by: Matt Mackall <mpm@selenic.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1385,9 +1385,13 @@ endif #ifeq ($(config-targets),1) | |||
1385 | endif #ifeq ($(mixed-targets),1) | 1385 | endif #ifeq ($(mixed-targets),1) |
1386 | 1386 | ||
1387 | PHONY += checkstack kernelrelease kernelversion | 1387 | PHONY += checkstack kernelrelease kernelversion |
1388 | |||
1389 | # Use $(SUBARCH) here instead of $(ARCH) so that this works for UML. | ||
1390 | # In the UML case, $(SUBARCH) is the name of the underlying | ||
1391 | # architecture, while for all other arches, it is the same as $(ARCH). | ||
1388 | checkstack: | 1392 | checkstack: |
1389 | $(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \ | 1393 | $(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \ |
1390 | $(PERL) $(src)/scripts/checkstack.pl $(ARCH) | 1394 | $(PERL) $(src)/scripts/checkstack.pl $(SUBARCH) |
1391 | 1395 | ||
1392 | kernelrelease: | 1396 | kernelrelease: |
1393 | $(if $(wildcard include/config/kernel.release), $(Q)echo $(KERNELRELEASE), \ | 1397 | $(if $(wildcard include/config/kernel.release), $(Q)echo $(KERNELRELEASE), \ |