summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-01-03 04:47:05 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-01-06 04:47:08 +0300
commitf7de64b73172e0c4cc900c14a432b76f0347ee9e (patch)
treefa650f4ffe77ccfa330eeaf945309df57c22790c
parentba97df45581f09a987ffa38444c33ed6a0a9479e (diff)
downloadlinux-f7de64b73172e0c4cc900c14a432b76f0347ee9e.tar.xz
kbuild: remove unnecessary stubs for archheader and archscripts
Make simply skips a missing rule when it is marked as .PHONY. Remove the dummy targets. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index adf1bd212cf2..3e71fa2ee9ed 100644
--- a/Makefile
+++ b/Makefile
@@ -1156,11 +1156,7 @@ export INSTALL_HDR_PATH = $(objtree)/usr
# If we do an all arch process set dst to include/arch-$(SRCARCH)
hdr-dst = $(if $(KBUILD_HEADERS), dst=include/arch-$(SRCARCH), dst=include)
-PHONY += archheaders
-archheaders:
-
-PHONY += archscripts
-archscripts:
+PHONY += archheaders archscripts
PHONY += __headers
__headers: $(version_h) scripts_basic uapi-asm-generic archheaders archscripts