Skip to contentSkip to conversation

Kbuild-Packaging: Create tarballs

PATCH In review Jan-Benedict Glaw 2 participants 4 messages May 24, 2005 – Jul 13, 2005 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kbuild-Packaging: Create tarballs

Hi Sam!

I propose this patch for ./scripts/packag/ . It adds tarball packaging, which I prefer for distribution. Also one of the two blanks after @echo is removed. One seems to be enough :)

---

 scripts/package/Makefile  |   19 ++++++-
 scripts/package/buildtar  |  111 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 127 insertions(+), 3 deletions(-)
scripts/package/Makefile +16 -3
@@ -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'
 
scripts/package/buildtar +111 -0

111 lines not on this page · raw message

Signature · 4 lines
Jan-Benedict Glaw       [email protected]    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
#1 lore raw
Quoted 5 lines · Jan-Benedict Glaw

Hi Sam!

I propose this patch for ./scripts/packag/ . It adds tarball packaging, which I prefer for distribution. Also one of the two blanks after @echo is removed. One seems to be enough :)

Thanks for resending this old patch.
Will look into after -final is out.

Sam

#2 lore raw
In reply to Jan-Benedict Glaw
Quoted 5 lines · Jan-Benedict Glaw

Hi Sam!

I propose this patch for ./scripts/packag/ . It adds tarball packaging, which I prefer for distribution. Also one of the two blanks after @echo is removed. One seems to be enough :)

Applied after fixing MIME damage.
Thanks,
Sam

#3 lore raw
Quoted 8 lines · Sam Ravnborg
Quoted 5 lines · Jan-Benedict Glaw

Hi Sam!

I propose this patch for ./scripts/packag/ . It adds tarball packaging, which I prefer for distribution. Also one of the two blanks after @echo is removed. One seems to be enough :)

Applied after fixing MIME damage.

Hmm, that was my MTA that did it when I saved the patch.

Sam