From 80b9dfceafb1d635dbb2c7f948b8b27e190e3e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Pouiller?= Date: Tue, 23 Sep 2014 11:45:47 +0200 Subject: [PATCH] directfb: disable multi application if no MMU MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit directfb-fusion uses the madvise() system call which is not available on no-MMU targets. It seems it might be possible to simply remove the call to madvise() (there is only one call) if not available. However, it's probably not worth the effort, and people working on no-MMU targets can submit a patch doing that if they are interested. [Thomas: tweak commit log.] Signed-off-by: Jérôme Pouiller Signed-off-by: Thomas Petazzoni --- package/directfb/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/directfb/Config.in b/package/directfb/Config.in index d53f7567e1..3aa51cba0d 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