Quellcode durchsuchen

use binfmt flat for lm32

Waldemar Brodkorb vor 9 Jahren
Ursprung
Commit
049288d840
2 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  1. 2 1
      target/config/Config.in.binfmt
  2. 4 0
      target/lm32/kernel/qemu-lm32

+ 2 - 1
target/config/Config.in.binfmt

@@ -7,6 +7,7 @@ depends on ADK_TARGET_ARCH_ARM \
 	|| ADK_TARGET_ARCH_BFIN \
 	|| ADK_TARGET_ARCH_C6X \
 	|| ADK_TARGET_ARCH_H8300\
+	|| ADK_TARGET_ARCH_LM32\
 	|| ADK_TARGET_ARCH_M68K
 
 config ADK_TARGET_BINFMT_ELF
@@ -16,7 +17,7 @@ config ADK_TARGET_BINFMT_ELF
 config ADK_TARGET_BINFMT_FLAT
 	bool "FLAT"
 	depends on (ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_M68K) && ADK_TARGET_UCLINUX \
-		|| ADK_TARGET_ARCH_H8300
+		|| ADK_TARGET_ARCH_H8300 || ADK_TARGET_ARCH_LM32
 
 config ADK_TARGET_BINFMT_DSBT
 	bool "DSBT"

+ 4 - 0
target/lm32/kernel/qemu-lm32

@@ -1 +1,5 @@
 CONFIG_LM32=y
+CONFIG_PLAT_MILKYMIST=y
+CONFIG_CPU_MICO32=y
+CONFIG_BOARD_MILKYMIST_ONE=y
+