summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
author김용섭/동작제어Lab(SR)/Engineer/삼성전자 <yons.kim@samsung.com>2018-04-30 16:55:23 +0900
committer서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 <sangmin7.seo@samsung.com>2018-04-30 16:55:23 +0900
commit749bf8296e563f7c999c6aeb778710cadcee2b94 (patch)
tree2f5c8da4df698c416747b5dba8bb970e42f6cf3c /Makefile
parentf633cca8475e7964fae04879bf36271ee760a62d (diff)
downloadnnfw-749bf8296e563f7c999c6aeb778710cadcee2b94.tar.gz
nnfw-749bf8296e563f7c999c6aeb778710cadcee2b94.tar.bz2
nnfw-749bf8296e563f7c999c6aeb778710cadcee2b94.zip
Add build command for benchmark/acl (#974)
Now `BENCHMARK_ACL_BUILD=1 make build` runs building benchmark/acl. Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 60b8bc920..564d1ad02 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ HOST_OS?=linux
NPROCS:=1
OBS_BUILD?=0
COVERAGE_BUILD?=0
+BENCHMARK_ACL_BUILD?=0
OPTIONS?=
# make TARGET and TYPE to lowercase
@@ -50,6 +51,10 @@ else
OPTIONS+= -DCOVERAGE_BUILD=0
endif
+ifeq ($(BENCHMARK_ACL_BUILD),1)
+ OPTIONS+= -DBUILD_BENCHMARK_ACL=1
+endif
+
# Get number of processors (linux only for now)
ifeq ($(HOST_OS),linux)
NPROCS:=$(shell grep -c ^processor /proc/cpuinfo)