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).

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

Reply via email to