From abc999b9ebe36de53c53090c077ae06985de808c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 25 Oct 2016 21:01:17 +0200 Subject: allow to choose base apps, minor dot cleanup --- mk/host-bottom.mk | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'mk/host-bottom.mk') 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.. " @@ -63,6 +65,10 @@ ifeq (${HOST_STYLE},perl) PERL_AUTOINSTALL=--skipdeps \ $(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 $@ -- cgit v1.2.3