Skip to content
Snippets Groups Projects
Commit 233c741d authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: add LICENSES to KBUILD_ALLDIRS


For *-pkg targets, the LICENSES directory should be included in the
source tarball.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent cdd750bf
No related branches found
No related tags found
No related merge requests found
...@@ -1016,7 +1016,7 @@ export KBUILD_VMLINUX_LIBS := $(libs-y1) ...@@ -1016,7 +1016,7 @@ export KBUILD_VMLINUX_LIBS := $(libs-y1)
export KBUILD_LDS := arch/$(SRCARCH)/kernel/vmlinux.lds export KBUILD_LDS := arch/$(SRCARCH)/kernel/vmlinux.lds
export LDFLAGS_vmlinux export LDFLAGS_vmlinux
# used by scripts/package/Makefile # 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) vmlinux-deps := $(KBUILD_LDS) $(KBUILD_VMLINUX_OBJS) $(KBUILD_VMLINUX_LIBS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment