From: Luiz Capitulino Date: Wed, 15 May 2013 16:06:26 +0000 (-0400) Subject: package: Makefile: unbreak binrpm-pkg target X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f66ba560943ae21f5d1e505bad0a3591823b2b37;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Michal Marek --- diff --git a/scripts/package/Makefile b/scripts/package/Makefile index 84a406070f6f..a4f31c900fa6 100644 --- a/scripts/package/Makefile +++ b/scripts/package/Makefile @@ -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