summaryrefslogtreecommitdiff
path: root/target/arc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-06-13 18:55:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2018-06-13 21:03:21 +0200
commit71c4b08ed6e9f52c4078d27574ed8440fd945ac1 (patch)
tree1fcc59ff34b2bf5c1a1847fcf509a549a22130ff /target/arc/Makefile
parentf4035f12137f99067ca0f1fe45917fa8ff535edb (diff)
synpsys-hsdk: add sample
Diffstat (limited to 'target/arc/Makefile')
-rw-r--r--target/arc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/arc/Makefile b/target/arc/Makefile
index c73b956fb..2f3e006a6 100644
--- a/target/arc/Makefile
+++ b/target/arc/Makefile
@@ -5,7 +5,11 @@ include $(ADK_TOPDIR)/rules.mk
include $(ADK_TOPDIR)/mk/kernel-build.mk
include $(ADK_TOPDIR)/mk/image.mk
+ifeq ($(ADK_TARGET_KERNEL_UIMAGE),y)
+KERNEL:=$(LINUX_DIR)/arch/arc/boot/uImage
+else
KERNEL:=$(LINUX_DIR)/$(ADK_TARGET_KERNEL)
+endif
# target helper text
ifeq ($(ADK_TARGET_FS),archive)