aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/package/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile
index 5e326078a4a..c162409fb4e 100644
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -47,7 +47,7 @@ rpm-pkg rpm: $(objtree)/kernel.spec FORCE
47 set -e; \ 47 set -e; \
48 mv -f $(objtree)/.tmp_version $(objtree)/.version 48 mv -f $(objtree)/.tmp_version $(objtree)/.version
49 49
50 $(RPM) --target $(UTS_MACHINE) -ta ../$(KERNELPATH).tar.gz 50 $(RPM) $(RPMOPTS) --target $(UTS_MACHINE) -ta ../$(KERNELPATH).tar.gz
51 rm ../$(KERNELPATH).tar.gz 51 rm ../$(KERNELPATH).tar.gz
52 52
53clean-files := $(objtree)/kernel.spec 53clean-files := $(objtree)/kernel.spec
@@ -64,7 +64,8 @@ binrpm-pkg: $(objtree)/binkernel.spec FORCE
64 set -e; \ 64 set -e; \
65 mv -f $(objtree)/.tmp_version $(objtree)/.version 65 mv -f $(objtree)/.tmp_version $(objtree)/.version
66 66
67 $(RPM) --define "_builddir $(srctree)" --target $(UTS_MACHINE) -bb $< 67 $(RPM) $(RPMOPTS) --define "_builddir $(srctree)" --target \
68 $(UTS_MACHINE) -bb $<
68 69
69clean-files += $(objtree)/binkernel.spec 70clean-files += $(objtree)/binkernel.spec
70 71