Am 26.08.2012 19:33, schrieb Yves Blusseau:
> Hi all,
> 
> i have added a new tool: tool/setup-builddir and associate a makefile 
> variable to it: $(BT_SETUP_BUILDDIR)
> 
> This tool help to uncompress source tarball in build directory.
> 
> In the buildtool.mk you can rewrite all:
>       bzcat $(XXX_SOURCE) | tar -xvf -
> or
>       zcat $(XXX_SOURCE) | tar -xvf -
> 
> with
> 
>       $(BT_SETUP_BUILDDIR) -v $(XXX_SOURCE)
> 
> You can look at commit f515c8e for an example to use the new makefile 
> variable.
> 
> setup-builddir tool can extract any tarball compressed in gzip, bzip2, lzip, 
> lzop, lzma or xz format.
> 
> So in the futur try to focus on lzma or xz formats for the source tarballs 
> (it will take less space in the git repository).

Hi Yves;

I've tested the changes with dnsmasq and while
"buildtool.pl build dnsmasq"
with the entry
DNSMASQ_DIR=$(CURDIR)/$(shell $(BT_TGZ_GETDIRNAME) $(DNSMASQ_SOURCE)
2>/dev/null )

went fine, a
"buildtool.pl srcclean dnsmasq"
failed.

make -C /opt/buildtool-master/source/i486-unknown-linux-uclibc/dnsmasq/
clean
Note the missing DNSMASQ_DIR in the command above.

Looks like any of the variables that defines DNSMASQ_DIR is empty when
called from buildtool.pl srcclean (and maybe also buildclean).

kp

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to