From: Masahiro Yamada Date: Sat, 30 Dec 2023 13:51:56 +0000 (+0900) Subject: kbuild: deb-pkg: move 'make headers' to build-arch X-Git-Tag: v6.8-rc1~31^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b5e94657320c86fc660745e3fc64321948649be;p=thirdparty%2Flinux.git 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 Reviewed-by: Nicolas Schier --- diff --git a/scripts/package/builddeb b/scripts/package/builddeb index cc8c7a807fcc2..842ee4b405285 100755 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -155,7 +155,6 @@ install_libc_headers () { rm -rf $pdir - $MAKE -f $srctree/Makefile headers $MAKE -f $srctree/Makefile headers_install INSTALL_HDR_PATH=$pdir/usr # move asm headers to /usr/include//asm to match the structure diff --git a/scripts/package/debian/rules b/scripts/package/debian/rules index 7ab31419579f0..0983077800622 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: