From 8d446718661033332347ed4a25bb4c027dd5da54 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 22 Feb 2014 19:20:03 +0100 Subject: [PATCH] efl: disallow on non-MMU systems The libeina library uses the madvise() system call, that isn't available on non-MMU systems. Also, several other components of EFL use fork(). Therefore, the easiest solution is to simply disallow the EFL as a whole on non-MMU systems. Fixes: http://autobuild.buildroot.org/results/ad9/ad90baa5e07569308a7e2b2510b67c5b2a563b44// Thanks to Ryan Barnett for helping in the investigation! Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/efl/Config.in | 2 ++ package/enlightenment/Config.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package/efl/Config.in b/package/efl/Config.in index 36afd1aa2e..3d31a2609f 100644 --- a/package/efl/Config.in +++ b/package/efl/Config.in @@ -1,6 +1,8 @@ menuconfig BR2_PACKAGE_EFL bool "Enlightenment Foundation Libraries" depends on BR2_USE_WCHAR + # libeina uses madvise(). To revisit when bumping EFL to 1.8 + depends on BR2_USE_MMU help Enlightenment Foundation Libraries diff --git a/package/enlightenment/Config.in b/package/enlightenment/Config.in index 43efe5826b..f34140bc91 100644 --- a/package/enlightenment/Config.in +++ b/package/enlightenment/Config.in @@ -23,7 +23,7 @@ config BR2_PACKAGE_ENLIGHTENMENT # libedbus -> dbus # libedbus -> glib2, libevas depends on BR2_TOOLCHAIN_HAS_THREADS - # libedbus -> dbus + # libedbus -> dbus, efl libraries depends on BR2_USE_MMU depends on BR2_PACKAGE_XORG7 depends on !BR2_avr32 # libevas -- 2.30.2