Browse Source

add example how to run simulator

Waldemar Brodkorb 9 years ago
parent
commit
3a9264f51d
2 changed files with 5 additions and 0 deletions
  1. 1 0
      target/config/Config.in.target
  2. 4 0
      target/h8300/Makefile

+ 1 - 0
target/config/Config.in.target

@@ -35,6 +35,7 @@ config ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK
 	select ADK_TARGET_ARCH_INITRAMFS_BUILTIN
 	depends on \
 		ADK_TARGET_QEMU || \
+		ADK_TARGET_SIM || \
 		ADK_TARGET_ARCH_AARCH64 || \
 		ADK_TARGET_ARCH_ARM || \
 		ADK_TARGET_ARCH_M68K || \

+ 4 - 0
target/h8300/Makefile

@@ -23,6 +23,10 @@ endif
 ifeq ($(ADK_TARGET_FS),initramfspiggyback)
 targethelp:
 	@echo 'The kernel+initramfs file is: $(FW_DIR)/${TARGET_KERNEL}'
+ifeq ($(ADK_TARGET_SIM),y)
+	@echo "Run the simulator via:"
+	@echo $(TARGET_CROSS)run $(FW_DIR)/$(TARGET_KERNEL)
+endif
 endif
 
 kernel-strip: