From e62d2ecda04e8f10f409bac5a3b5cbac12bd33e1 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 15 Jan 2009 19:36:06 +0000 Subject: [PATCH] Makefile: implement make release --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 1e15676699..157b5e9138 100644 --- a/Makefile +++ b/Makefile @@ -516,6 +516,12 @@ help: @echo 'See docs/README and docs/buildroot.html for further details' @echo +release: distclean + OUT=buildroot-$$(grep -A2 BR2_VERSION $(CONFIG_CONFIG_IN)|grep default|cut -f2 -d\"); \ + rm -rf ../$$OUT*; cp -al . ../$$OUT; cd ..; \ + tar cfz $$OUT.tar.gz --exclude .svn --exclude .git --exclude \*~ $$OUT; \ + rm -rf $$OUT + .PHONY: dummy subdirs release distclean clean config oldconfig \ menuconfig tags check test depend defconfig help -- 2.30.2