1
0
Prechádzať zdrojové kódy

arc: allow big-endian testing

Waldemar Brodkorb 9 rokov pred
rodič
commit
090174d74d
1 zmenil súbory, kde vykonal 10 pridanie a 0 odobranie
  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}'