From 090174d74d83ef327774df866e1a8611ae9d4bfd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 5 Dec 2015 10:28:35 +0100 Subject: arc: allow big-endian testing --- target/arc/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'target/arc') 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}' -- cgit v1.2.3