[Toybox] [TOYBOX][RFC] building toybox on a Yocto enviroment
Rob Landley
rob at landley.net
Thu Feb 4 16:21:56 PST 2016
On 02/04/2016 11:43 AM, Joya Cruz, Alejandro wrote:
> On jue, 2016-02-04 at 10:02 +0100, José Bollo wrote:
>> Le mercredi 03 février 2016 à 22:39 -0600, Rob Landley a écrit :
>>> On 02/03/2016 01:13 PM, José Bollo wrote:
>>>> Le mercredi 03 février 2016 à 16:42 +0000, Joya Cruz, Alejandro a
>>>> écrit :
>>>>> I looking the 0.7.0 version and this patch is still not in.
>>>>
>>>> Have tried if it applies?
> I have tried the patch suggested
>>>> Did you patched the patch?
> I still got the same error.
The commit from November 2 fixed "make toybox" but there was a second
yocto-specific problem in "make install". The commit I pushed last night:
https://github.com/landley/toybox/commit/9a64b8db59db
Should fix the install part?
> generated/flags.h generated/help.h
> | cc -DONHOST -I . scripts/install.c -o generated/instlist
> | In file included from ./toys.h:71:0,
> | from scripts/install.c:6:
> | ./lib/lsm.h:23:23: fatal error: sys/smack.h: No such file or
> directory
>
>>>> Does it solves the issue?
> so don't it dosen't
The toybox binary built. Even without last night's fix, you can actually
install it yourself using the instructions in "./toybox --help" ala:
To install command symlinks, try:
for i in $(/bin/toybox --long); do ln -s /bin/toybox $i; done
Or just run "./toybox commandname" ala "./toybox ls -l" to test stuff
out and see if the yocto/smack bits are working.
Rob
1454631716.0
More information about the Toybox
mailing list