2
1
Эх сурвалжийг харах

directfb: some cleanup in config file

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Lionel Landwerlin 15 жил өмнө
parent
commit
74d7fab112

+ 4 - 20
package/directfb/Config.in

@@ -5,113 +5,97 @@ config BR2_PACKAGE_DIRECTFB
 	help
 	help
 	  http://www.directfb.org/
 	  http://www.directfb.org/
 
 
+if BR2_PACKAGE_DIRECTFB
+
 config BR2_PACKAGE_DIRECTFB_MULTI
 config BR2_PACKAGE_DIRECTFB_MULTI
 	bool "directfb multi application"
 	bool "directfb multi application"
-	depends on BR2_PACKAGE_DIRECTFB
 	select BR2_PACKAGE_LINUX_FUSION
 	select BR2_PACKAGE_LINUX_FUSION
 	help
 	help
 	  Enable use of multiple concurrent DirectFB applications
 	  Enable use of multiple concurrent DirectFB applications
 
 
 config BR2_PACKAGE_DIRECTFB_DEBUG
 config BR2_PACKAGE_DIRECTFB_DEBUG
 	bool "directfb debugging"
 	bool "directfb debugging"
-	depends on BR2_PACKAGE_DIRECTFB
 	help
 	help
 	  Compile DirectFB with lots of debug output
 	  Compile DirectFB with lots of debug output
 
 
 config BR2_PACKAGE_DIRECTFB_TRACE
 config BR2_PACKAGE_DIRECTFB_TRACE
 	bool "directfb call trace support"
 	bool "directfb call trace support"
-	depends on BR2_PACKAGE_DIRECTFB
 	help
 	help
 	  Enable call tracing for DirectFB applications
 	  Enable call tracing for DirectFB applications
 
 
 config BR2_PACKAGE_DIRECTFB_XSERVER
 config BR2_PACKAGE_DIRECTFB_XSERVER
 	bool "build with X server backend"
 	bool "build with X server backend"
-	depends on BR2_PACKAGE_DIRECTFB
 	depends on BR2_PACKAGE_XORG7
 	depends on BR2_PACKAGE_XORG7
 
 
 config BR2_PACKAGE_DIRECTFB_UNIQUE
 config BR2_PACKAGE_DIRECTFB_UNIQUE
 	bool "enable unique window manager"
 	bool "enable unique window manager"
-	depends on BR2_PACKAGE_DIRECTFB
 	depends on BR2_UNIMPLEMENTED
 	depends on BR2_UNIMPLEMENTED
 
 
 config BR2_PACKAGE_DIRECTFB_ATI128
 config BR2_PACKAGE_DIRECTFB_ATI128
 	bool "compile ati128 graphics driver"
 	bool "compile ati128 graphics driver"
-	depends on BR2_PACKAGE_DIRECTFB
 	depends on BR2_i386 || BR2_x86_64
 	depends on BR2_i386 || BR2_x86_64
 
 
 config BR2_PACKAGE_DIRECTFB_CLE266
 config BR2_PACKAGE_DIRECTFB_CLE266
 	bool "compile cle266 graphics driver"
 	bool "compile cle266 graphics driver"
 	default y
 	default y
-	depends on BR2_PACKAGE_DIRECTFB
 	depends on BR2_i386 || BR2_x86_64
 	depends on BR2_i386 || BR2_x86_64
 
 
 config BR2_PACKAGE_DIRECTFB_MATROX
 config BR2_PACKAGE_DIRECTFB_MATROX
 	bool "compile matrox graphics driver"
 	bool "compile matrox graphics driver"
-	depends on BR2_PACKAGE_DIRECTFB
 	depends on BR2_i386 || BR2_x86_64
 	depends on BR2_i386 || BR2_x86_64
 
 
 config BR2_PACKAGE_DIRECTFB_PXA3XX
 config BR2_PACKAGE_DIRECTFB_PXA3XX
 	bool "compile pxa3xx graphics driver"
 	bool "compile pxa3xx graphics driver"
-	depends on BR2_PACKAGE_DIRECTFB
 	depends on BR2_arm
 	depends on BR2_arm
 
 
 config BR2_PACKAGE_DIRECTFB_UNICHROME
 config BR2_PACKAGE_DIRECTFB_UNICHROME
 	bool "compile unichrome graphics driver"
 	bool "compile unichrome graphics driver"
 	default y
 	default y
-	depends on BR2_PACKAGE_DIRECTFB
 	depends on BR2_i386 || BR2_x86_64
 	depends on BR2_i386 || BR2_x86_64
 
 
 config BR2_PACKAGE_DIRECTFB_I830
 config BR2_PACKAGE_DIRECTFB_I830
 	bool "compile i830 graphics driver"
 	bool "compile i830 graphics driver"
-	depends on BR2_PACKAGE_DIRECTFB
 	depends on BR2_i386 || BR2_x86_64
 	depends on BR2_i386 || BR2_x86_64
 
 
 config BR2_PACKAGE_DIRECTFB_LINUXINPUT
 config BR2_PACKAGE_DIRECTFB_LINUXINPUT
 	bool "compile /dev/input/eventX input driver"
 	bool "compile /dev/input/eventX input driver"
 	default y
 	default y
-	depends on BR2_PACKAGE_DIRECTFB
 
 
 config BR2_PACKAGE_DIRECTFB_KEYBOARD
 config BR2_PACKAGE_DIRECTFB_KEYBOARD
 	bool "compile keyboard input driver"
 	bool "compile keyboard input driver"
 	default y
 	default y
-	depends on BR2_PACKAGE_DIRECTFB
 
 
 config BR2_PACKAGE_DIRECTFB_PS2MOUSE
 config BR2_PACKAGE_DIRECTFB_PS2MOUSE
 	bool "compile PS2 mouse input driver"
 	bool "compile PS2 mouse input driver"
 	default y
 	default y
-	depends on BR2_PACKAGE_DIRECTFB
 
 
 config BR2_PACKAGE_DIRECTFB_SERIALMOUSE
 config BR2_PACKAGE_DIRECTFB_SERIALMOUSE
 	bool "compile serial mouse input driver"
 	bool "compile serial mouse input driver"
 	default y
 	default y
-	depends on BR2_PACKAGE_DIRECTFB
 
 
 config BR2_PACKAGE_DIRECTFB_TSLIB
 config BR2_PACKAGE_DIRECTFB_TSLIB
 	bool "enable touchscreen support"
 	bool "enable touchscreen support"
 	default y
 	default y
-	depends on BR2_PACKAGE_DIRECTFB
 	select BR2_PACKAGE_TSLIB
 	select BR2_PACKAGE_TSLIB
 
 
 config BR2_PACKAGE_DIRECTFB_GIF
 config BR2_PACKAGE_DIRECTFB_GIF
 	bool "enable GIF support"
 	bool "enable GIF support"
 	default y
 	default y
-	depends on BR2_PACKAGE_DIRECTFB
 
 
 config BR2_PACKAGE_DIRECTFB_JPEG
 config BR2_PACKAGE_DIRECTFB_JPEG
 	bool "enable JPEG support"
 	bool "enable JPEG support"
 	default y
 	default y
-	depends on BR2_PACKAGE_DIRECTFB
 	select BR2_PACKAGE_JPEG
 	select BR2_PACKAGE_JPEG
 
 
 config BR2_PACKAGE_DIRECTFB_PNG
 config BR2_PACKAGE_DIRECTFB_PNG
 	bool "enable PNG support"
 	bool "enable PNG support"
 	default y
 	default y
-	depends on BR2_PACKAGE_DIRECTFB
 	select BR2_PACKAGE_LIBPNG
 	select BR2_PACKAGE_LIBPNG
 
 
 config BR2_PACKAGE_DIRECTB_DITHER_RGB16
 config BR2_PACKAGE_DIRECTB_DITHER_RGB16
 	bool "enable advanced dithering of RGB16 surfaces"
 	bool "enable advanced dithering of RGB16 surfaces"
-	depends on BR2_PACKAGE_DIRECTFB
 	help
 	help
 	  Enable dithering when loading images to RGB16 surfaces.
 	  Enable dithering when loading images to RGB16 surfaces.
 	  This increases the data section by 64 KBytes.
 	  This increases the data section by 64 KBytes.
+
+endif # BR2_PACKAGE_DIRECTFB