spec: support gbs(1) incremental builds
authorŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 4 Jan 2021 13:41:58 +0000 (14:41 +0100)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 7 Feb 2022 08:01:41 +0000 (17:01 +0900)
commit881338593079270b29041cfd661c1fc218fcc834
tree732147f97664d196536f9ef7d3ad5c9806216526
parent9ea2f2cbefec97b401d41f95ec6cfdeda96c979e
spec: support gbs(1) incremental builds

gbs(1) enable incremental builds that are significantly faster, hoewever,
spec files need some adjustments.

+ You can't use -n <name> with %setup
+ There is no point in making mrproper
+ use rsync(1) instead of cp(1)+find(1) to copy devel files

Other changes are:
+ use make headers_install to install headers in the buildroot
+ add _smp_mflags to make(1) things faster

Change-Id: Ia14fbe7acab8b83683f9e07757b4f62a7657b2a5
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
packaging/linux-rpi4.spec