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>
Tue, 30 Mar 2021 01:40:01 +0000 (10:40 +0900)
commit4f9f195875cc9aa9bc8a252b7a140fb25951e0e0
treef822ac56d6fb01b494eed178f5b61a86a75002db
parent9793a73e4687e470044881753a8c01b079ca2e43
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