diff options
author | Jan-Benedict Glaw <jbglaw@lug-owl.de> | 2005-05-24 11:27:37 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.(none)> | 2005-07-12 22:40:17 +0000 |
commit | 6d983feab80948cdd0e3920c40d453a6436eeb23 (patch) | |
tree | 137bc3a30d14ec9777d2a6d311652582ecdadad0 /scripts/package/Makefile | |
parent | 7ac3db59fd4410405ce55e2a25c397aec440d8da (diff) | |
download | op-kernel-dev-6d983feab80948cdd0e3920c40d453a6436eeb23.zip op-kernel-dev-6d983feab80948cdd0e3920c40d453a6436eeb23.tar.gz |
[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 3b1f2ef..fbb8cf5 100644 --- a/scripts/package/Makefile +++ b/scripts/package/Makefile @@ -80,10 +80,23 @@ deb-pkg: clean-dirs += $(objtree)/debian/ +# tarball targets +# --------------------------------------------------------------------------- +.PHONY: tar%pkg +tar%pkg: + $(MAKE) + $(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@ + +clean-dirs += $(objtree)/tar-install/ + + # Help text displayed when executing 'make help' # --------------------------------------------------------------------------- help: - @echo ' rpm-pkg - Build the kernel as an RPM package' - @echo ' binrpm-pkg - Build an rpm package containing the compiled kernel & modules' - @echo ' deb-pkg - Build the kernel as an deb package' + @echo ' rpm-pkg - Build the kernel as an RPM package' + @echo ' binrpm-pkg - Build an rpm package containing the compiled kernel & modules' + @echo ' deb-pkg - Build the kernel as an deb package' + @echo ' tar-pkg - Build the kernel as an uncompressed tarball' + @echo ' targz-pkg - Build the kernel as a gzip compressed tarball' + @echo ' tarbz2-pkg - Build the kernel as a bzip2 compressed tarball' |