summaryrefslogtreecommitdiffstats
path: root/scripts/package/debian
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-12-30 22:51:56 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-01-10 20:39:06 +0900
commit1b5e94657320c86fc660745e3fc64321948649be (patch)
treebab704d79299d6299ddc97d647457a8cf462bbdb /scripts/package/debian
parent358c3f8cce6d8294e7ba72199f04771e9bff4b64 (diff)
downloadlinux-1b5e94657320c86fc660745e3fc64321948649be.tar.gz
linux-1b5e94657320c86fc660745e3fc64321948649be.tar.bz2
linux-1b5e94657320c86fc660745e3fc64321948649be.zip
kbuild: deb-pkg: move 'make headers' to build-arch
Strictly speaking, 'make headers' should be a part of build-arch instead of binary-arch. 'make headers' constructs ready-to-copy UAPI headers in the kernel directory. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <n.schier@avm.de>
Diffstat (limited to 'scripts/package/debian')
-rwxr-xr-xscripts/package/debian/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/package/debian/rules b/scripts/package/debian/rules
index 7ab31419579f..098307780062 100755
--- a/scripts/package/debian/rules
+++ b/scripts/package/debian/rules
@@ -26,8 +26,8 @@ binary-arch: build-arch
build: build-arch build-indep
build-indep:
build-arch:
- $(MAKE) $(make-opts) \
- olddefconfig all
+ $(MAKE) $(make-opts) olddefconfig
+ $(MAKE) $(make-opts) $(if $(filter um,$(ARCH)),,headers) all
.PHONY: clean
clean: