Am 10.12.2014 13:25, schrieb Bartosz Gołaszewski:
> 2014-12-10 11:54 GMT+01:00 walter harms <wha...@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
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to