diff options
author | 박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com> | 2018-04-19 17:33:51 +0900 |
---|---|---|
committer | GitHub Enterprise <noreply-CODE@samsung.com> | 2018-04-19 17:33:51 +0900 |
commit | 7958fc4c8a90d04c49f812ac4c506ae266a23121 (patch) | |
tree | 7249f1a31e1d92edd007f46abbddf7cd6bdbd446 /Makefile | |
parent | 4d3ac3c8b09e85d0d6f1001e6f7665a66f08ca60 (diff) | |
download | nnfw-7958fc4c8a90d04c49f812ac4c506ae266a23121.tar.gz nnfw-7958fc4c8a90d04c49f812ac4c506ae266a23121.tar.bz2 nnfw-7958fc4c8a90d04c49f812ac4c506ae266a23121.zip |
Separate ACL build type output folder (#803)
This will use ACL build option `build_dir` to separate build type (debug,release) to have its own folder
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -68,7 +68,11 @@ TIMESTAMP_INSTALL=$(WORKDIR)/INSTALL ACL_FOLDER=externals/acl ACL_COMMAND=scons Werror=1 neon=1 opencl=1 os=linux arch=armv7a examples=0 embed_kernels=1 ifeq ($(BUILD_TYPE_LC),debug) - ACL_COMMAND+=debug=1 asserts=1 + ACL_COMMAND+=debug=1 asserts=1 build_dir=debug + ACL_FOLDER_BUILD=$(ACL_FOLDER)/build/debug +else + ACL_COMMAND+=build_dir=release + ACL_FOLDER_BUILD=$(ACL_FOLDER)/build/release endif all: build @@ -124,9 +128,9 @@ internal_acl_build: internal_acl_install: @mkdir -vp $(INSTALL_PATH)/lib - @cp -v $(ACL_FOLDER)/build/libarm_compute_core.so $(INSTALL_PATH)/lib/. - @cp -v $(ACL_FOLDER)/build/libarm_compute_graph.so $(INSTALL_PATH)/lib/. - @cp -v $(ACL_FOLDER)/build/libarm_compute.so $(INSTALL_PATH)/lib/. + @cp -v $(ACL_FOLDER_BUILD)/libarm_compute_core.so $(INSTALL_PATH)/lib/. + @cp -v $(ACL_FOLDER_BUILD)/libarm_compute_graph.so $(INSTALL_PATH)/lib/. + @cp -v $(ACL_FOLDER_BUILD)/libarm_compute.so $(INSTALL_PATH)/lib/. external_acl: ifneq ($(EXT_ACL_FOLDER),"") |