summaryrefslogtreecommitdiff
path: root/target/arc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-05 10:28:35 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-05 10:29:00 +0100
commit090174d74d83ef327774df866e1a8611ae9d4bfd (patch)
tree812c3b863ad8772728cc3748376865e05e0eee96 /target/arc
parent99aa6c71cb8eaca12f1483f1156770e984f61f1d (diff)
arc: allow big-endian testing
Diffstat (limited to 'target/arc')
-rw-r--r--target/arc/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/arc/Makefile b/target/arc/Makefile
index 76f76f4d4..c73b956fb 100644
--- a/target/arc/Makefile
+++ b/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}'