summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2013-05-15 12:06:26 -0400
committerMichal Marek <mmarek@suse.cz>2013-05-16 09:46:45 +0200
commitf66ba560943ae21f5d1e505bad0a3591823b2b37 (patch)
tree14c03456b2c06ac34c114e3d19bc30ed66d7ece4
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
downloadlinux-stable-f66ba560943ae21f5d1e505bad0a3591823b2b37.tar.gz
linux-stable-f66ba560943ae21f5d1e505bad0a3591823b2b37.tar.bz2
linux-stable-f66ba560943ae21f5d1e505bad0a3591823b2b37.zip
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 <lcapitulino@redhat.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r--scripts/package/Makefile2
1 files changed, 1 insertions, 1 deletions
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