[Buildroot] libffi or the crazy world of toolchain options

Yann E. MORIN yann.morin.1998 at free.fr
Sun Aug 26 22:43:26 UTC 2012


Thomas, All,

On Sunday 26 August 2012 22:40:50 Yann E. MORIN wrote:
> What's left, now, is to change each dependency on a package /main/ symbol
> to a dependency on the corresponding _AVAILABLE symbol, plus a select on
> the the /main/ symbol. I hope to update my scripts with this functionality.
> I definitely do not want to manually review hundreds of packages! ;-)

Well, find attached an updated pkg-avail script that does just that.

Please note however that the script is not bullet-proof, neither when adding
the _AVAILABLE symbols, nor when using them. It avoids mangling simple cases
(such as: "depends on PKG_FOO||PKG_BAR" and stuff like that) and thus misses
some of the dependencies, but may still butcher other places. :-/

Enough for today, more tomorrow...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkg-avail
Type: application/x-shellscript
Size: 4775 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20120827/2139b68a/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkg-avail-test
Type: application/x-shellscript
Size: 1514 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20120827/2139b68a/attachment-0003.bin>


More information about the buildroot mailing list