system: sysvinit needs MMU
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 13 Aug 2016 16:57:21 +0000 (18:57 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 14 Aug 2016 14:11:46 +0000 (16:11 +0200)
It uses spawn() and thus fork(), so it needs an MMU.

Fixes a build issue reported on IRC for a cortex-m4 build:
    http://pastebin.com/dGCsy0sr

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/sysvinit/Config.in
system/Config.in

index ab67ed60f75a8ebdfcc5c64854498fe8acaee401..94f1612375a198f54fcf6373e81dba8ad953f473 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SYSVINIT
        bool "sysvinit"
+       depends on BR2_USE_MMU # fork()
        depends on BR2_INIT_SYSV
        depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
        help
index 585570713b2ab64e7511039d61ed4fdf2cd98481..353421a9cfeabb873eb3f65d094cee75e7015df9 100644 (file)
@@ -106,6 +106,7 @@ config BR2_INIT_BUSYBOX
 
 config BR2_INIT_SYSV
        bool "systemV"
+       depends on BR2_USE_MMU # sysvinit
        select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # sysvinit
        select BR2_PACKAGE_INITSCRIPTS
        select BR2_PACKAGE_SYSVINIT