[Buildroot] LIBFOO_SITE in .mk file

Jeff Krasky jeff.krasky at dspcg.com
Mon Nov 28 16:14:58 UTC 2011


> Woops, you're right, my bad. The manual is obvisouly correct.
> 
> You should use :
>
> ETHERCAT_VERSION = 3.3
> ETHERCAT_SITE = http://foobar.com/somewhere/
> ETHERCAT_SOURCE = ethercat-$(ETHERCAT_VERSION).tar.bz2
> 
> Why are you using a local directory ? You *really* should be using a
> tarball available from http or ftp so that you can later contribute
> your package to Buildroot.

Because I don't want just the default source of EtherCAT built into the
Linux image.  Lets say I want to modify something in the examples directory
of EtherCAT.  For instance, I had to modify the sample code and rebuild.  So
what I want is this "rebuilt" version of EtherCAT, with customized example
code, as part of the Linux image.  If I point at the EtherCAT website, that
won't be the correct version.  The EtherCAT examples development will occur
on the same machine that Buildroot is on, hence why I like the local
filesystem solution.

So any thoughts on why it is not finding the file?

Thanks.




More information about the buildroot mailing list