[Buildroot] [RFC] *clean targets

Peter Korsgaard jacmet at uclibc.org
Fri Nov 20 16:20:44 UTC 2009


>>>>> "Bernhard" == Bernhard Reutner-Fischer <rep.dot.nop at gmail.com> writes:

Hi,

 Bernhard> .. and of course keep DL_DIR

 Bernhard> so, to come back to my initial proposal

 Bernhard> # wipe target and staging dirs (think %-uninstall):
 Bernhard> clean:
 Bernhard> # remove generated files, retain: configs and DL_DIR, {m,}conf{,.o}, host-*:
 Bernhard> realclean:
 Bernhard> # remove generated files, including configs {m,}conf host-* (but not DL_DIR!):
 Bernhard> # think git clean -d -x
 Bernhard> distclean:

Check the tree. I believe the commit does that (except we don't have a
realclean).

 Bernhard> # make a release tarball; see how existing DL_DIR does not matter:
 Bernhard> dist release: FOO=buildroot VERS=1.2.3
 Bernhard> 	git archive --prefix $(FOO)-$(VERS) HEAD | tee >(bzip2>$(FOO).tar.bz2) >(gzip>$(FOO).tar.gz) | xv>$(FOO).tar.xv

I prefer to not touch make release right now - Not a high priority as
I'm the only one using it.


-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list