diff options
Diffstat (limited to 'scripts/package/Makefile')
-rw-r--r-- | scripts/package/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile index 5e326078a4a2..8c6b7b09606a 100644 --- a/scripts/package/Makefile +++ b/scripts/package/Makefile | |||
@@ -1,10 +1,6 @@ | |||
1 | # Makefile for the different targets used to generate full packages of a kernel | 1 | # Makefile for the different targets used to generate full packages of a kernel |
2 | # It uses the generic clean infrastructure of kbuild | 2 | # It uses the generic clean infrastructure of kbuild |
3 | 3 | ||
4 | # Ignore the following files/directories during tar operation | ||
5 | TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS | ||
6 | |||
7 | |||
8 | # RPM target | 4 | # RPM target |
9 | # --------------------------------------------------------------------------- | 5 | # --------------------------------------------------------------------------- |
10 | # The rpm target generates two rpm files: | 6 | # The rpm target generates two rpm files: |
@@ -47,7 +43,7 @@ rpm-pkg rpm: $(objtree)/kernel.spec FORCE | |||
47 | set -e; \ | 43 | set -e; \ |
48 | mv -f $(objtree)/.tmp_version $(objtree)/.version | 44 | mv -f $(objtree)/.tmp_version $(objtree)/.version |
49 | 45 | ||
50 | $(RPM) --target $(UTS_MACHINE) -ta ../$(KERNELPATH).tar.gz | 46 | $(RPM) $(RPMOPTS) --target $(UTS_MACHINE) -ta ../$(KERNELPATH).tar.gz |
51 | rm ../$(KERNELPATH).tar.gz | 47 | rm ../$(KERNELPATH).tar.gz |
52 | 48 | ||
53 | clean-files := $(objtree)/kernel.spec | 49 | clean-files := $(objtree)/kernel.spec |
@@ -64,7 +60,8 @@ binrpm-pkg: $(objtree)/binkernel.spec FORCE | |||
64 | set -e; \ | 60 | set -e; \ |
65 | mv -f $(objtree)/.tmp_version $(objtree)/.version | 61 | mv -f $(objtree)/.tmp_version $(objtree)/.version |
66 | 62 | ||
67 | $(RPM) --define "_builddir $(srctree)" --target $(UTS_MACHINE) -bb $< | 63 | $(RPM) $(RPMOPTS) --define "_builddir $(srctree)" --target \ |
64 | $(UTS_MACHINE) -bb $< | ||
68 | 65 | ||
69 | clean-files += $(objtree)/binkernel.spec | 66 | clean-files += $(objtree)/binkernel.spec |
70 | 67 | ||