summaryrefslogtreecommitdiff
path: root/mk/host-bottom.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-25 21:01:17 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-25 21:01:32 +0200
commitabc999b9ebe36de53c53090c077ae06985de808c (patch)
treebf855b8e2f38283f69a3b81f44df9be9d88f1da6 /mk/host-bottom.mk
parentd8a3cfe3d7691fd44ee341b4753c602c10b7db7b (diff)
allow to choose base apps, minor dot cleanup
Diffstat (limited to 'mk/host-bottom.mk')
-rw-r--r--mk/host-bottom.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/mk/host-bottom.mk b/mk/host-bottom.mk
index 8af7de253..6ae8f1c7e 100644
--- a/mk/host-bottom.mk
+++ b/mk/host-bottom.mk
@@ -51,9 +51,11 @@ ifeq (${HOST_STYLE},auto)
--disable-nls \
${HOST_CONFIGURE_ARGS} $(MAKE_TRACE)
endif
-ifeq (${HOST_STYLE},manual)
- @$(CMD_TRACE) "configuring.. "
- ${MAKE} host-configure $(MAKE_TRACE)
+ifeq (${HOST_STYLE},cmake)
+ @$(CMD_TRACE) "configuring cmake.. "
+ cd ${WRKBUILD}; PATH='${HOST_PATH}' \
+ cmake -Wno-dev -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ ${HOST_CMAKE_FLAGS} ${WRKSRC} $(MAKE_TRACE)
endif
ifeq (${HOST_STYLE},perl)
@$(CMD_TRACE) "configuring perl module.. "
@@ -64,6 +66,10 @@ ifeq (${HOST_STYLE},perl)
$(HOST_PERL_ENV) \
perl-host Makefile.PL ${HOST_CONFIGURE_ARGS}
endif
+ifeq (${HOST_STYLE},manual)
+ @$(CMD_TRACE) "configuring.. "
+ ${MAKE} host-configure $(MAKE_TRACE)
+endif
touch $@
host-build: