[Buildroot] How to create package that build with scons

Baruch Siach baruch at tkos.co.il
Tue Oct 4 10:54:50 UTC 2011

Hi Andrew,

On Tue, Oct 04, 2011 at 01:34:56PM +0300, Andrew Pushkin wrote:
> Hello I need create package that build with scons (I need gpsd-3.0). How can
> I create it? May be some-were exists some documentation or examples to do
> it?

Use the GENTARGETS facility, and define your $(PKG)_BUILD_CMDS to run scons.  
You need to select HOST_SCONS for Buildroot to build it for you. See 
http://buildroot.uclibc.org/buildroot.html for details on the GENTARGETS 
facility. Note that the information there is somewhat outdated.

Now I see that the package/scons/scons.mk file (from commit cae6d239) is not 
referenced anywhere, so it looks broken currently. Thomas, can you comment on 


                                                     ~. .~   Tk Open Systems
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

More information about the buildroot mailing list