system: sysvinit needs MMU

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>
This commit is contained in:
Yann E. MORIN 2016-08-13 18:57:21 +02:00 committed by Thomas Petazzoni
parent 2e7df8c6bb
commit 8a8546e584
2 changed files with 2 additions and 0 deletions

View 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

View 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