Commit d1b32bac authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: do not include old-kbuild-file from Makefile.headersinst

Now asm-generic wrappers to be exported are all listed in
arch/*/include/uapi/asm/Kbuild.  "make headers_install" no longer
depends on any Kbuild files outside uapi directories.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 22c92aee
...@@ -40,11 +40,6 @@ ifeq ($(skip-inst),) ...@@ -40,11 +40,6 @@ ifeq ($(skip-inst),)
kbuild-file := $(srctree)/$(obj)/Kbuild kbuild-file := $(srctree)/$(obj)/Kbuild
-include $(kbuild-file) -include $(kbuild-file)
old-kbuild-file := $(srctree)/$(subst uapi/,,$(obj))/Kbuild
ifneq ($(wildcard $(old-kbuild-file)),)
include $(old-kbuild-file)
endif
installdir := $(INSTALL_HDR_PATH)/$(dst) installdir := $(INSTALL_HDR_PATH)/$(dst)
gendir := $(objtree)/$(subst include/,include/generated/,$(obj)) gendir := $(objtree)/$(subst include/,include/generated/,$(obj))
header-files := $(notdir $(wildcard $(srcdir)/*.h)) header-files := $(notdir $(wildcard $(srcdir)/*.h))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment