[RFC] new applets: i2c-tools
walter harms
wharms at bfs.de
Wed Dec 10 12:48:49 UTC 2014
Am 10.12.2014 13:25, schrieb Bartosz Gołaszewski:
> 2014-12-10 11:54 GMT+01:00 walter harms <wharms at bfs.de>:
>> ok,
>> but given that busybox is not used by pple it seems reasonable to check only for one target.
>> either automatic
>> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) /* used in loop.c */
>> or manual: let the user decide via busybox.conf
>> re,
>> wh
>>
>
> I'm afraid I don't quite understand what you're saying.
>
> Bart
>
instead of checking two possible path let the user/system decide.
This can be done automagicly by checking the LINUX_VERSION like:
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) /* used in loop.c */
or you can let the user decide by providing an entry in Config.src
hope that helps,
re,
wh
More information about the busybox
mailing list