diff options
Diffstat (limited to 'mk/host-bottom.mk')
-rw-r--r-- | mk/host-bottom.mk | 12 |
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: |