aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 80dac0245d66..4c6c5e32ef96 100644
--- a/Makefile
+++ b/Makefile
@@ -1385,9 +1385,13 @@ endif #ifeq ($(config-targets),1)
1385endif #ifeq ($(mixed-targets),1) 1385endif #ifeq ($(mixed-targets),1)
1386 1386
1387PHONY += checkstack kernelrelease kernelversion 1387PHONY += 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).
1388checkstack: 1392checkstack:
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
1392kernelrelease: 1396kernelrelease:
1393 $(if $(wildcard include/config/kernel.release), $(Q)echo $(KERNELRELEASE), \ 1397 $(if $(wildcard include/config/kernel.release), $(Q)echo $(KERNELRELEASE), \