diff options
-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), \ |