diff options
| author | Jan-Benedict Glaw <jbglaw@lug-owl.de> | 2005-05-24 05:27:37 -0400 |
|---|---|---|
| committer | Sam Ravnborg <sam@mars.(none)> | 2005-07-12 18:40:17 -0400 |
| commit | 6d983feab80948cdd0e3920c40d453a6436eeb23 (patch) | |
| tree | 137bc3a30d14ec9777d2a6d311652582ecdadad0 /scripts/package/Makefile | |
| parent | 7ac3db59fd4410405ce55e2a25c397aec440d8da (diff) | |
[PATCH] kbuild: create tarballs
It adds tarball packaging, which I prefer for distribution.
Also one of the two blanks after @echo is removed. One seems to be enough :)
Signed-off-by: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/package/Makefile')
| -rw-r--r-- | scripts/package/Makefile | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile index 3b1f2eff2584..fbb8cf5d4e19 100644 --- a/scripts/package/Makefile +++ b/scripts/package/Makefile | |||
| @@ -80,10 +80,23 @@ deb-pkg: | |||
| 80 | clean-dirs += $(objtree)/debian/ | 80 | clean-dirs += $(objtree)/debian/ |
| 81 | 81 | ||
| 82 | 82 | ||
| 83 | # tarball targets | ||
| 84 | # --------------------------------------------------------------------------- | ||
| 85 | .PHONY: tar%pkg | ||
| 86 | tar%pkg: | ||
| 87 | $(MAKE) | ||
| 88 | $(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@ | ||
| 89 | |||
| 90 | clean-dirs += $(objtree)/tar-install/ | ||
| 91 | |||
| 92 | |||
| 83 | # Help text displayed when executing 'make help' | 93 | # Help text displayed when executing 'make help' |
| 84 | # --------------------------------------------------------------------------- | 94 | # --------------------------------------------------------------------------- |
| 85 | help: | 95 | help: |
| 86 | @echo ' rpm-pkg - Build the kernel as an RPM package' | 96 | @echo ' rpm-pkg - Build the kernel as an RPM package' |
| 87 | @echo ' binrpm-pkg - Build an rpm package containing the compiled kernel & modules' | 97 | @echo ' binrpm-pkg - Build an rpm package containing the compiled kernel & modules' |
| 88 | @echo ' deb-pkg - Build the kernel as an deb package' | 98 | @echo ' deb-pkg - Build the kernel as an deb package' |
| 99 | @echo ' tar-pkg - Build the kernel as an uncompressed tarball' | ||
| 100 | @echo ' targz-pkg - Build the kernel as a gzip compressed tarball' | ||
| 101 | @echo ' tarbz2-pkg - Build the kernel as a bzip2 compressed tarball' | ||
| 89 | 102 | ||
