[Buildroot] [git commit] directfb: disable multi application if no MMU

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Sep 23 18:23:02 UTC 2014

commit: http://git.buildroot.net/buildroot/commit/?id=80b9dfceafb1d635dbb2c7f948b8b27e190e3e65
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 <jezz at sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
 package/directfb/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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
 	bool "directfb multi application"
+	depends on BR2_USE_MMU # madvise()
 	depends on BR2_LINUX_KERNEL
 	  Enable use of multiple concurrent DirectFB applications

More information about the buildroot mailing list