summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-26 14:48:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-27 11:02:49 +0200
commitd407054b3772ec636e9d38248667c7f2baecd1d7 (patch)
treef927d98a3e649cf5b296087294934f1a9fabd62e /mk
parent98b697047a66771154ccc0995fc4868dd52a95e6 (diff)
convert to cmake style
Diffstat (limited to 'mk')
-rw-r--r--mk/pkg-bottom.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk
index 6f02f1695..1b0aeed9f 100644
--- a/mk/pkg-bottom.mk
+++ b/mk/pkg-bottom.mk
@@ -69,7 +69,7 @@ else ifneq ($(filter cmake,${CONFIG_STYLE}),)
(cd ${WRKBUILD} && PATH='${HOST_PATH}' \
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_TOOLCHAIN_FILE="$(SCRIPT_DIR)/toolchain.cmake" \
- .)
+ ${CMAKE_FLAGS} ${WRKSRC})
else ifneq ($(filter minimal,${CONFIG_STYLE}),)
@$(CMD_TRACE) "configuring... "
cd ${WRKBUILD}; rm -f config.{cache,status}; \