This commit updates Makefile to access nnfw internal through top-level
nnfw command (instead of using cmake directly).
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
### 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) \