summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada2019-05-15 18:18:54 +0200
committerMasahiro Yamada2019-05-18 04:49:57 +0200
commit233c741dcbb135aeaeab89b74ab9681e4ca2e921 (patch)
tree8f7b6de33bd0fb295e0fe189654ef52e101b2755 /Makefile
parentkbuild: remove 'addtree' and 'flags' magic for header search paths (diff)
downloadkernel-qcow2-linux-233c741dcbb135aeaeab89b74ab9681e4ca2e921.tar.gz
kernel-qcow2-linux-233c741dcbb135aeaeab89b74ab9681e4ca2e921.tar.xz
kernel-qcow2-linux-233c741dcbb135aeaeab89b74ab9681e4ca2e921.zip
kbuild: add LICENSES to KBUILD_ALLDIRS
For *-pkg targets, the LICENSES directory should be included in the source tarball. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 95421654a16d..e5414f78e123 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)