summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>2018-04-18 17:06:05 +0900
committer오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 <hseok82.oh@samsung.com>2018-04-18 17:06:05 +0900
commitc2e52e0e2dc1fc8c76c2694e13803eabeb8d6004 (patch)
tree7dfcddf2249966d33eda56135caeb9e9f648dc9f /Makefile
parent5322f84aef89d6f9ab9d902e25e46148aaa1f755 (diff)
downloadnnfw-c2e52e0e2dc1fc8c76c2694e13803eabeb8d6004.tar.gz
nnfw-c2e52e0e2dc1fc8c76c2694e13803eabeb8d6004.tar.bz2
nnfw-c2e52e0e2dc1fc8c76c2694e13803eabeb8d6004.zip
[Build] Add arch `arm64` in Makefile (#775)
Add archicture `arm64`. For arm64, android is the only OS supported for now. Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d8f38b4f6..967a9d015 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,15 @@ TARGET_ARCH_LC=$(shell echo $(TARGET_ARCH) | tr A-Z a-z)
BUILD_TYPE_LC=$(shell echo $(BUILD_TYPE) | tr A-Z a-z)
# we need base name 'arm` for all arm arch
TARGET_ARCH_BASE=$(TARGET_ARCH_LC)
-ifneq (,$(findstring arm,$(TARGET_ARCH_BASE)))
+ifneq (,$(findstring arm64,$(TARGET_ARCH_BASE)))
+ TARGET_ARCH_BASE=arm64
+ ifdef ROOTFS_DIR
+ ROOTFS_ARM64=$(ROOTFS_DIR)
+ export ROOTFS_ARM64
+ endif
+ # For now Android is the only option for arm64
+ HOST_OS:=android
+else ifneq (,$(findstring arm,$(TARGET_ARCH_BASE)))
TARGET_ARCH_BASE=arm
ifdef ROOTFS_DIR
ROOTFS_ARM=$(ROOTFS_DIR)