kbuild: rpm-pkg: build binary packages from source rpm
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 15 Feb 2023 01:20:25 +0000 (10:20 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 26 Feb 2023 06:18:47 +0000 (15:18 +0900)
commit1ec9bb704faf50c48727b5daa33bc42e7334db60
treee96d7f1c5058b83885f485718f877acc004c378d
parent7bf4582d7aad870ecb4f760743307ecba7a960f4
kbuild: rpm-pkg: build binary packages from source rpm

The build rules of rpm-pkg and srcrpm-pkg are almost the same.
Remove the code duplication.

Change rpm-pkg to build binary packages from the source package generated
by srcrpm-pkg.

This changes the output directory of the srpm generated by 'make rpm-pkg'
because srcrpm-pkg overrides _srcrpmdir.

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