[Buildroot] [PATCH 8/8] directfb: disable multi application if no MMU

Jérôme Pouiller jezz at sysmic.org
Tue Sep 23 09:45:47 UTC 2014


directfb-fusion use madvise which is not available on no-MMU targets.

It seems it would be possible to simply remove call to madvise (there is
only one call) if not available. However, since I am not sure, I prefer
to completly disable directfb-fusion.

Signed-off-by: Jérôme Pouiller <jezz at sysmic.org>
---
 package/directfb/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/directfb/Config.in b/package/directfb/Config.in
index d53f756..3aa51cb 100644
--- a/package/directfb/Config.in
+++ b/package/directfb/Config.in
@@ -12,6 +12,7 @@ if BR2_PACKAGE_DIRECTFB
 config BR2_PACKAGE_DIRECTFB_MULTI
 	bool "directfb multi application"
 	select BR2_PACKAGE_LINUX_FUSION
+	depends on BR2_USE_MMU # madvise()
 	depends on BR2_LINUX_KERNEL
 	help
 	  Enable use of multiple concurrent DirectFB applications
-- 
1.9.1



More information about the buildroot mailing list