[Buildroot] How to create the package from software using "bootstrap" to configure?
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Dec 21 18:01:42 UTC 2013
Dear Wojciech Zabolotny,
On Sat, 21 Dec 2013 18:54:57 +0100, Wojciech Zabolotny wrote:
> Thanks. I have created Config.in and avrdude.mk as attached, and they
> seem to work (however I want to test it better before I submit the
> patch proposal).
Looks pretty good. A few comments:
* In the Config.in file, you need to inherit the dependencies of the
libraries you're selecting. For example, libusb depends on thread
support, so avrdude should depend on thread support. See
http://buildroot.org/downloads/manual/manual.html#dependencies-target-toolchain-options
for details.
* In your .mk file, use the github helper function instead of a
complete github URL.
* The license is GPLv2+, not GPLv2.
* You should add AVRDUDE_LICENSE_FILES = avrdude/COPYING
* You should remove the AVRDUDE_INSTALL_TARGET line, since YES is
the default value.
* You should add a comment on top of the AUTORECONF line explaining
why it is needed.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list