diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-09-24 20:19:09 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-09-28 21:38:57 +0200 |
commit | a3c4d4abaaf0b3fb3335a432fa9b75d414d1f987 (patch) | |
tree | ab282c686fecc9bbe27691a252923ffb174da6da /scripts | |
parent | kbuild: add phony targets to ./Kbuild (diff) | |
download | linux-a3c4d4abaaf0b3fb3335a432fa9b75d414d1f987.tar.xz linux-a3c4d4abaaf0b3fb3335a432fa9b75d414d1f987.zip |
kbuild: hard-code KBUILD_ALLDIRS in scripts/Makefile.package
My future plan is to list subdirectories in ./Kbuild. When it occurs,
$(vmlinux-alldirs) will not contain all subdirectories.
Let's hard-code the directory list until I get around to implementing
a more sophisticated way for generating a source tarball.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.package | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/Makefile.package b/scripts/Makefile.package index 5017f6b2da80..8bbcced67c22 100644 --- a/scripts/Makefile.package +++ b/scripts/Makefile.package @@ -29,7 +29,10 @@ KDEB_SOURCENAME ?= linux-upstream KBUILD_PKG_ROOTCMD ?="fakeroot -u" export KDEB_SOURCENAME # Include only those top-level files that are needed by make, plus the GPL copy -TAR_CONTENT := $(KBUILD_ALLDIRS) .config .scmversion Makefile \ +TAR_CONTENT := Documentation LICENSES arch block certs crypto drivers fs \ + include init io_uring ipc kernel lib mm net samples scripts \ + security sound tools usr virt \ + .config .scmversion Makefile \ Kbuild Kconfig COPYING $(wildcard localversion*) MKSPEC := $(srctree)/scripts/package/mkspec |