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>
This commit is contained in:
6
Makefile
6
Makefile
@@ -1156,11 +1156,7 @@ export INSTALL_HDR_PATH = $(objtree)/usr
|
|||||||
# If we do an all arch process set dst to include/arch-$(SRCARCH)
|
# If we do an all arch process set dst to include/arch-$(SRCARCH)
|
||||||
hdr-dst = $(if $(KBUILD_HEADERS), dst=include/arch-$(SRCARCH), dst=include)
|
hdr-dst = $(if $(KBUILD_HEADERS), dst=include/arch-$(SRCARCH), dst=include)
|
||||||
|
|
||||||
PHONY += archheaders
|
PHONY += archheaders archscripts
|
||||||
archheaders:
|
|
||||||
|
|
||||||
PHONY += archscripts
|
|
||||||
archscripts:
|
|
||||||
|
|
||||||
PHONY += __headers
|
PHONY += __headers
|
||||||
__headers: $(version_h) scripts_basic uapi-asm-generic archheaders archscripts
|
__headers: $(version_h) scripts_basic uapi-asm-generic archheaders archscripts
|
||||||
|
|||||||
Reference in New Issue
Block a user