瀏覽代碼

arc: allow big-endian testing

Waldemar Brodkorb 8 年之前
父節點
當前提交
090174d74d
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      target/arc/Makefile

+ 10 - 0
target/arc/Makefile

@@ -25,6 +25,7 @@ endif
 ifeq ($(ADK_TARGET_FS),initramfspiggyback)
 targethelp:
 	@echo 'The kernel+initramfs file is: $(FW_DIR)/${TARGET_KERNEL}'
+ifeq ($(ADK_TARGET_LITTLE_ENDIAN),y)
 ifeq ($(ADK_TARGET_SYSTEM_NSIM_ARCV1),y)
 	@echo './scripts/nsim.sh arcv1 $(FW_DIR)/${TARGET_KERNEL}'
 endif
@@ -32,6 +33,15 @@ ifeq ($(ADK_TARGET_SYSTEM_NSIM_ARCV2),y)
 	@echo './scripts/nsim.sh arcv2 $(FW_DIR)/${TARGET_KERNEL}'
 endif
 endif
+ifeq ($(ADK_TARGET_BIG_ENDIAN),y)
+ifeq ($(ADK_TARGET_SYSTEM_NSIM_ARCV1),y)
+	@echo './scripts/nsim.sh arcv1-be $(FW_DIR)/${TARGET_KERNEL}'
+endif
+ifeq ($(ADK_TARGET_SYSTEM_NSIM_ARCV2),y)
+	@echo './scripts/nsim.sh arcv2-be $(FW_DIR)/${TARGET_KERNEL}'
+endif
+endif
+endif
 ifeq ($(ADK_TARGET_FS),nfsroot)
 targethelp:
 	@echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}'