mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
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>
This commit is contained in:
parent
358c3f8cce
commit
1b5e946573
@ -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/<libc-machine>/asm to match the structure
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user