From 8a8546e5847c5281002bfc443a544f2ed8e80601 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 13 Aug 2016 18:57:21 +0200 Subject: [PATCH] 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" Signed-off-by: Thomas Petazzoni --- package/sysvinit/Config.in | 1 + system/Config.in | 1 + 2 files changed, 2 insertions(+) diff --git a/package/sysvinit/Config.in b/package/sysvinit/Config.in index ab67ed60f7..94f1612375 100644 --- a/package/sysvinit/Config.in +++ b/package/sysvinit/Config.in @@ -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 diff --git a/system/Config.in b/system/Config.in index 585570713b..353421a9cf 100644 --- a/system/Config.in +++ b/system/Config.in @@ -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 -- 2.30.2