diff options
| author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
|---|---|---|
| committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
| commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
| tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /scripts/package/Makefile | |
| parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
| parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) | |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'scripts/package/Makefile')
| -rw-r--r-- | scripts/package/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile index d0b931b994fc..006960ebbce9 100644 --- a/scripts/package/Makefile +++ b/scripts/package/Makefile | |||
| @@ -26,9 +26,9 @@ RPM := $(shell if [ -x "/usr/bin/rpmbuild" ]; then echo rpmbuild; \ | |||
| 26 | else echo rpm; fi) | 26 | else echo rpm; fi) |
| 27 | 27 | ||
| 28 | # Remove hyphens since they have special meaning in RPM filenames | 28 | # Remove hyphens since they have special meaning in RPM filenames |
| 29 | KERNELPATH := kernel-$(subst -,,$(KERNELRELEASE)) | 29 | KERNELPATH := kernel-$(subst -,_,$(KERNELRELEASE)) |
| 30 | MKSPEC := $(srctree)/scripts/package/mkspec | 30 | MKSPEC := $(srctree)/scripts/package/mkspec |
| 31 | PREV := set -e; cd ..; | 31 | PREV := set -e; cd -P ..; |
| 32 | 32 | ||
| 33 | # rpm-pkg | 33 | # rpm-pkg |
| 34 | # --------------------------------------------------------------------------- | 34 | # --------------------------------------------------------------------------- |
| @@ -127,7 +127,8 @@ rm -r $(perf-tar); \ | |||
| 127 | $(if $(findstring tar-src,$@),, \ | 127 | $(if $(findstring tar-src,$@),, \ |
| 128 | $(if $(findstring bz2,$@),bzip2, \ | 128 | $(if $(findstring bz2,$@),bzip2, \ |
| 129 | $(if $(findstring gz,$@),gzip, \ | 129 | $(if $(findstring gz,$@),gzip, \ |
| 130 | $(error unknown target $@))) \ | 130 | $(if $(findstring xz,$@),xz, \ |
| 131 | $(error unknown target $@)))) \ | ||
| 131 | -f -9 $(perf-tar).tar) | 132 | -f -9 $(perf-tar).tar) |
| 132 | 133 | ||
| 133 | perf-%pkg: FORCE | 134 | perf-%pkg: FORCE |
| @@ -142,7 +143,9 @@ help: FORCE | |||
| 142 | @echo ' tar-pkg - Build the kernel as an uncompressed tarball' | 143 | @echo ' tar-pkg - Build the kernel as an uncompressed tarball' |
| 143 | @echo ' targz-pkg - Build the kernel as a gzip compressed tarball' | 144 | @echo ' targz-pkg - Build the kernel as a gzip compressed tarball' |
| 144 | @echo ' tarbz2-pkg - Build the kernel as a bzip2 compressed tarball' | 145 | @echo ' tarbz2-pkg - Build the kernel as a bzip2 compressed tarball' |
| 146 | @echo ' tarxz-pkg - Build the kernel as a xz compressed tarball' | ||
| 145 | @echo ' perf-tar-src-pkg - Build $(perf-tar).tar source tarball' | 147 | @echo ' perf-tar-src-pkg - Build $(perf-tar).tar source tarball' |
| 146 | @echo ' perf-targz-src-pkg - Build $(perf-tar).tar.gz source tarball' | 148 | @echo ' perf-targz-src-pkg - Build $(perf-tar).tar.gz source tarball' |
| 147 | @echo ' perf-tarbz2-src-pkg - Build $(perf-tar).tar.bz2 source tarball' | 149 | @echo ' perf-tarbz2-src-pkg - Build $(perf-tar).tar.bz2 source tarball' |
| 150 | @echo ' perf-tarxz-src-pkg - Build $(perf-tar).tar.xz source tarball' | ||
| 148 | 151 | ||
