On Thu, Feb 9, 2012 at 1:11 PM, [email protected] <[email protected]> wrote:
> On Thu, Feb 9, 2012 at 1:07 PM, Felix Fietkau <[email protected]> wrote:
>> On 2012-02-09 6:46 PM, [email protected] wrote:
>>> The Cairo package selects two features:
>>>
>>> FEATURE_drawing-backend_DirectFB:directfb \
>>> FEATURE_drawing-backend_libX11:libX11
>>>
>>> How do I extend this so that the menuconfig UI will also give me a
>>> menu option of NONE? It is not obvious to me how to create a FEATURE
>>> choice that does nothing.
>>>
>>> Both of these are optional for Cairo but there isn't anyway to turn
>>> them both off. They come up as a radio button with just two choices.
>>> For development I turned the features off locally by removing the two
>>> lines from the Makefile.
>>>
>>> Cario is able to draw to /dev/fb without having directfb around.
>> If you need it for dependencies, you could add a hidden config symbol
>> (without prompt) that defaults to y and depends on
>> (!FEATURE_drawing-backend_DirectFB && !FEATURE_drawing-backend_libX11).

You can't achieve (!FEATURE_drawing-backend_DirectFB &&
!FEATURE_drawing-backend_libX11) because the existence of the radio
button cause one of the two to always be picked.


>
> I can try that, but won't the radio button in menuconfig automatically
> select one of the two features? There isn't any way to get the radio
> button to select neither option.
>
>
>>
>> - Felix
>> _______________________________________________
>> openwrt-devel mailing list
>> [email protected]
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
>
>
> --
> Jon Smirl
> [email protected]



-- 
Jon Smirl
[email protected]
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to