[Buildroot] [PATCH 1/2] package/Makefile.package.in: Added BZR download support
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Dec 26 09:21:55 UTC 2010
On Sat, 25 Dec 2010 23:30:11 +0100
Peter Korsgaard <jacmet at uclibc.org> wrote:
> Thomas> +define DOWNLOAD_BZR
> Thomas> + test -e $(DL_DIR)/$($(PKG)_SOURCE) || \
> Thomas> + $(BZR) export $(DL_DIR)/$($(PKG)_SOURCE) $($(PKG)_SITE) -r $($(PKG)_DL_VERSION)
>
> Shouldn't this make a tarball like the git/svn versions do?
I was also a little bit surprised, but bzr export creates a tarball
automatically.
I have tested those two patches by creating a simple package that gets
its source from BZR, and it worked properly (tarball created in
$(DL_DIR), and re-used at the next build).
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list