From 585893b9a88259670d8867afab656278232689e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/On-Device=20Lab=28SR=29/Staff?= =?utf8?q?=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Fri, 15 Mar 2019 13:21:54 +0900 Subject: [PATCH] Use nnfw command in Makefile (#4746) This commit updates Makefile to access nnfw internal through top-level nnfw command (instead of using cmake directly). Signed-off-by: Jonghyun Park --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fa32463..978cb01 100644 --- a/Makefile +++ b/Makefile @@ -120,9 +120,7 @@ tflite: tflite_build_internal ### Command (internal) ### configure_internal: - mkdir -p $(BUILD_ROOT) - cmake -B$(CURDIR)/$(BUILD_ROOT) -H$(CURDIR) \ - -DCMAKE_INSTALL_PREFIX=$(INSTALL_PATH) \ + NNFW_BUILD_DIR="$(CURDIR)/$(BUILD_ROOT)" NNFW_INSTALL_PREFIX=$(INSTALL_PATH) ./nnfw configure \ -DCMAKE_BUILD_TYPE=$(BUILD_TYPE_LC) -DTARGET_ARCH=$(TARGET_ARCH_LC) \ -DHOST_OS=$(HOST_OS) \ -DTARGET_OS=$(TARGET_OS) \ -- 2.7.4