From: Masahiro Yamada Date: Wed, 15 May 2019 16:18:54 +0000 (+0900) Subject: kbuild: add LICENSES to KBUILD_ALLDIRS X-Git-Tag: v5.2-rc1~3^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=233c741dcbb135aeaeab89b74ab9681e4ca2e921;p=thirdparty%2Flinux.git kbuild: add LICENSES to KBUILD_ALLDIRS For *-pkg targets, the LICENSES directory should be included in the source tarball. Signed-off-by: Masahiro Yamada --- diff --git a/Makefile b/Makefile index 95421654a16de..e5414f78e123b 100644 --- a/Makefile +++ b/Makefile @@ -1016,7 +1016,7 @@ export KBUILD_VMLINUX_LIBS := $(libs-y1) export KBUILD_LDS := arch/$(SRCARCH)/kernel/vmlinux.lds export LDFLAGS_vmlinux # used by scripts/package/Makefile -export KBUILD_ALLDIRS := $(sort $(filter-out arch/%,$(vmlinux-alldirs)) arch include scripts tools) +export KBUILD_ALLDIRS := $(sort $(filter-out arch/%,$(vmlinux-alldirs)) LICENSES arch include scripts tools) vmlinux-deps := $(KBUILD_LDS) $(KBUILD_VMLINUX_OBJS) $(KBUILD_VMLINUX_LIBS)