]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
kbuild: do not include old-kbuild-file from Makefile.headersinst
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 9 Jul 2017 18:32:58 +0000 (03:32 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 11 Jul 2017 12:33:53 +0000 (21:33 +0900)
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: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/Makefile.headersinst

index e9147f05ea7720bc42f1059c3d3a013a81e2c796..e6343b34182ad6492138b2b24b90dae22198b674 100644 (file)
@@ -40,11 +40,6 @@ ifeq ($(skip-inst),)
 kbuild-file := $(srctree)/$(obj)/Kbuild
 -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)
 gendir        := $(objtree)/$(subst include/,include/generated/,$(obj))
 header-files  := $(notdir $(wildcard $(srcdir)/*.h))