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 <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni 2014-02-22 19:20:03 +01:00 committed by Peter Korsgaard
parent eda5dd1cee
commit 8d44671866
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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