Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] How to create package that build with scons
@ 2011-10-04 10:34 Andrew Pushkin
  2011-10-04 10:54 ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Pushkin @ 2011-10-04 10:34 UTC (permalink / raw)
  To: buildroot

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?

-- 
Andrew Pushkin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20111004/bc1cf1fd/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] How to create package that build with scons
  2011-10-04 10:34 [Buildroot] How to create package that build with scons Andrew Pushkin
@ 2011-10-04 10:54 ` Baruch Siach
  2011-10-04 16:20   ` Arnout Vandecappelle
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2011-10-04 10:54 UTC (permalink / raw)
  To: buildroot

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 
this?

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] How to create package that build with scons
  2011-10-04 10:54 ` Baruch Siach
@ 2011-10-04 16:20   ` Arnout Vandecappelle
  2011-10-05  6:45     ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2011-10-04 16:20 UTC (permalink / raw)
  To: buildroot


On Tuesday 04 October 2011 12:54:50, Baruch Siach wrote:
> 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 this?

 'make host-scons' works for me...

 There is currently no package that depends on scons, but I guess that it was 
used by some private package of Thomas (or one of his customers).

 Regards,
 Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  31BB CF53 8660 6F88 345D  54CC A836 5879 20D7 CF43

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] How to create package that build with scons
  2011-10-04 16:20   ` Arnout Vandecappelle
@ 2011-10-05  6:45     ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2011-10-05  6:45 UTC (permalink / raw)
  To: buildroot

Le Tue, 4 Oct 2011 18:20:16 +0200,
Arnout Vandecappelle <arnout@mind.be> a ?crit :

>  'make host-scons' works for me...
> 
>  There is currently no package that depends on scons, but I guess
> that it was used by some private package of Thomas (or one of his
> customers).

Not for a private package. I submitted as part of a patchset that
included packages for the disko multimedia framework and its demo
programs. However, Peter had some comments of my disko/disko-demos
packages, and he did merge only the scons package. I haven't (yet)
found the time to adjust the disko/disko-demos packages and to submit
them. This explains why there is a host-scons package that isn't used
by any package in the tree.

But at least, with this host-scons package, I was able to build fine
other packages relying on the Scons build system.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-05  6:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-04 10:34 [Buildroot] How to create package that build with scons Andrew Pushkin
2011-10-04 10:54 ` Baruch Siach
2011-10-04 16:20   ` Arnout Vandecappelle
2011-10-05  6:45     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox