Browse Source

arc: allow big-endian testing

Waldemar Brodkorb 8 years ago
parent
commit
090174d74d
1 changed files with 10 additions and 0 deletions
  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}'