update recipe to use workspace as root dir

This commit is contained in:
NADAL Jean-Baptiste
2019-04-16 18:02:08 +02:00
parent c7be80baf3
commit 3cdd67a4f2
14 changed files with 13 additions and 71 deletions

View File

@@ -16,8 +16,6 @@ UCI_CONF = SRC_DIR=$(TOPDIR)/../..
UCI_CONF_OPTS +=-DBUILD_LUA=OFF
UCI_CONF_ENV = $(UCI_CONF)
UCI_MAKE_ENV = $(UCI_CONF)
UCI_CONF_OPTS += -DMODULE_PATH=$(TOPDIR)/../../bsp/cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
UCI_CONF_OPTS += -DworkspaceRoot=$(TOPDIR)/../.. -DMODULE_PATH=$(TOPDIR)/../../bsp/cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
$(eval $(cmake-package))