X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=4c6c5e32ef96e3d12da975e682ee8a3f6ebc37e3;hb=3e26a423e78c1bb1ebd29c49d4ae4ccbbacd861b;hp=80dac0245d6647459857617dcbb02b693ee832d1;hpb=508df253dbefb0385a629370f4244e3db197d3b8;p=linux-2.6 diff --git a/Makefile b/Makefile index 80dac0245d..4c6c5e32ef 100644 --- a/Makefile +++ b/Makefile @@ -1385,9 +1385,13 @@ endif #ifeq ($(config-targets),1) endif #ifeq ($(mixed-targets),1) PHONY += checkstack kernelrelease kernelversion + +# Use $(SUBARCH) here instead of $(ARCH) so that this works for UML. +# In the UML case, $(SUBARCH) is the name of the underlying +# architecture, while for all other arches, it is the same as $(ARCH). checkstack: $(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \ - $(PERL) $(src)/scripts/checkstack.pl $(ARCH) + $(PERL) $(src)/scripts/checkstack.pl $(SUBARCH) kernelrelease: $(if $(wildcard include/config/kernel.release), $(Q)echo $(KERNELRELEASE), \