summaryrefslogtreecommitdiff
path: root/target/lm32
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-13 02:39:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-14 19:05:04 +0100
commitcfe6683eb56688e6094f415edf5b33d78102b237 (patch)
tree91b282f83df761cb2b72d5902341aa57404ee2e3 /target/lm32
parent054925c99155ab61041fc586cbc8931310998f11 (diff)
lm32 workarounds and hacks
Diffstat (limited to 'target/lm32')
-rw-r--r--target/lm32/Makefile10
-rw-r--r--target/lm32/kernel/qemu-lm322
2 files changed, 11 insertions, 1 deletions
diff --git a/target/lm32/Makefile b/target/lm32/Makefile
index 03afae8f0..ba872b7d7 100644
--- a/target/lm32/Makefile
+++ b/target/lm32/Makefile
@@ -5,3 +5,13 @@ include $(ADK_TOPDIR)/rules.mk
include $(ADK_TOPDIR)/mk/kernel-build.mk
include $(ADK_TOPDIR)/mk/image.mk
+# filesystem specific targets
+ifeq ($(ADK_TARGET_FS),initramfs)
+imageinstall: kernel-install $(FW_DIR)/$(INITRAMFS) targethelp
+endif
+ifeq ($(ADK_TARGET_FS),initramfsarchive)
+imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp
+endif
+ifeq ($(ADK_TARGET_FS),initramfspiggyback)
+imageinstall: createinitramfs targethelp
+endif
diff --git a/target/lm32/kernel/qemu-lm32 b/target/lm32/kernel/qemu-lm32
index fd48da013..cc589a506 100644
--- a/target/lm32/kernel/qemu-lm32
+++ b/target/lm32/kernel/qemu-lm32
@@ -2,4 +2,4 @@ CONFIG_LM32=y
CONFIG_PLAT_MILKYMIST=y
CONFIG_CPU_MICO32=y
CONFIG_BOARD_MILKYMIST_ONE=y
-
+CONFIG_BUG=y