[Buildroot] compiling package/libcgi before my cgi code
Peter Korsgaard
jacmet at uclibc.org
Wed Jan 25 06:28:45 UTC 2012
>>>>> "Sridhar" == Sridhar Addagada <sridhar_a at yahoo.com> writes:
Sridhar> Hi,
Sridhar> I'm working to implement web management on our device, and
Sridhar> have enabled lighttpd, and created a new directory under
Sridhar> packages (packages/mycgi) where i put in my xxx-cgi.c code. I
Sridhar> need to make sure that libcgi compiles before my cgi sources
Sridhar> are compiled. Here is the makefile I've cooked up. Any
Sridhar> suggestions appreciated.
You use rather use the new-style GENTARGETS format, and simply add
WEBCFG_DEPENDENCIES = libcgi like you already did. For details, see the
documentation:
http://buildroot.net/buildroot.html#generic-tutorial
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list