kbuild: rpm-pkg: build the kernel in-place for rpm-pkg
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 22 Jul 2023 04:48:04 +0000 (13:48 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 24 Jul 2023 15:59:33 +0000 (00:59 +0900)
commit6db9ced4641fab2710e83c4d703e9ad60dd3ccf5
tree50002b6ff14eba0a6d086d7663a9c70f888e56c0
parent975667d02d134f7b48d15ee7ff0d49e69a6774cf
kbuild: rpm-pkg: build the kernel in-place for rpm-pkg

Currently, 'make rpm-pkg' always builds the kernel from the pristine
source tree in the ~/rpmbuild/BUILD/ directory.

Build the kernel incrementally just like 'make binrpm-pkg'.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/Makefile.package