Separate acl build and install step (#785)
author박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Thu, 19 Apr 2018 00:11:38 +0000 (09:11 +0900)
committer김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh0822.kim@samsung.com>
Thu, 19 Apr 2018 00:11:38 +0000 (09:11 +0900)
This will separate acl library build and install step in Makefile
- this is needed for only want to copy libraries after make clean
- there is no change for 'make acl'

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
Makefile

index 967a9d0..067f8d2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,7 @@ install: $(TIMESTAMP_INSTALL)
 clean:
        rm -rf $(WORKDIR)
 
-acl: internal_acl
+acl: internal_acl_build internal_acl_install
 
 check: check_internal
 
@@ -119,8 +119,10 @@ install_internal:
        ln -s $(INSTALL_FOLDER) $(INSTALL_ALIAS)
        touch $(TIMESTAMP_INSTALL)
 
-internal_acl:
+internal_acl_build:
        cd $(ACL_FOLDER) && $(ACL_COMMAND)
+
+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/.