Allowing selection both FDPIC as binary format
for target and MMU can lead to some inconsistent
configurations and therefore build errors.
Signed-off-by: Dmitry Chestnykh <dm.chestnykh(a)gmail.com>
---
Previously I have reported about compilation error
and made the patch. But it was wrong as I forgot
to disable MMU before selecting FDPIC as binfmt.
This patch disallows simultaneous selection
of MMU and FDPIC as binary format.
target/config/Config.in.binfmt | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/config/Config.in.binfmt b/target/config/Config.in.binfmt
index 4106979fa..70e0cc585 100644
--- a/target/config/Config.in.binfmt
+++ b/target/config/Config.in.binfmt
@@ -25,6 +25,7 @@ config ADK_TARGET_BINFMT_FDPIC
bool "FDPIC"
select BUSYBOX_NOMMU
depends on ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_FRV ||
ADK_TARGET_ARCH_SH
+ depends on !ADK_TARGET_WITH_MMU
config ADK_TARGET_BINFMT_DSBT
bool "DSBT"
--
2.43.1