package: Makefile: unbreak binrpm-pkg target
PATCH 1/1 package: Makefile: unbreak binrpm-pkg target
Commit 6501320311664e11ad5489fedb17ea1f817c2617 dropped the rpm spec as a prerequisite for the binrpm-pkg target but forgot to update $< usage, which causes the rule to break.
This commit fixes that by replacing $< with the spec name.
Signed-off-by Luiz Capitulino <[email protected]>
--- scripts/package/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/package/Makefile +1 -1
@@ -63,7 +63,7 @@ binrpm-pkg: FORCE mv -f $(objtree)/.tmp_version $(objtree)/.version $(RPM) $(RPMOPTS) --define "_builddir $(objtree)" --target \ - $(UTS_MACHINE) -bb $< + $(UTS_MACHINE) -bb $(objtree)/binkernel.spec rm binkernel.spec # Deb target
Signature · 1 line
1.8.1.4
Quoted 3 lines · Luiz Capitulino
Commit
6501320311664e11ad5489fedb17ea1f817c2617dropped the rpm spec as a prerequisite for the binrpm-pkg target but forgot to update $< usage, which causes the rule to break.
Oops :)
Quoted 1 line
This commit fixes that by replacing $< with the spec name.
Thanks for the fix, I added it to kbuild.git#rc-fixes.
Michal