diff options
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 |
commit | c2e52e0e2dc1fc8c76c2694e13803eabeb8d6004 (patch) | |
tree | 7dfcddf2249966d33eda56135caeb9e9f648dc9f /Makefile | |
parent | 5322f84aef89d6f9ab9d902e25e46148aaa1f755 (diff) | |
download | nnfw-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-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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) |