diff mbox

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

Message ID 1411465547-6847-8-git-send-email-jezz@sysmic.org
State Accepted
Headers show

Commit Message

Jérôme Pouiller Sept. 23, 2014, 9:45 a.m. UTC
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@sysmic.org>
---
 package/directfb/Config.in | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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