efl: disallow on non-MMU systems
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Feb 2014 18:20:03 +0000 (19:20 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 22 Feb 2014 20:23:45 +0000 (21:23 +0100)
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>
package/efl/Config.in
package/enlightenment/Config.in

index 36afd1aa2e3f6b8636911b28c059ef0653a5d2ab..3d31a2609f40d91f061eaab9151f053a7856a8a7 100644 (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
 
index 43efe5826b1d1adf645c85e69a88cebd9ae2b246..f34140bc914364fb58d71f9310c9a537c613b4e7 100644 (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