diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/build.mk | 4 | ||||
-rw-r--r-- | mk/host-bottom.mk | 12 |
2 files changed, 13 insertions, 3 deletions
diff --git a/mk/build.mk b/mk/build.mk index fd3664c73..b77e5a38a 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -126,6 +126,10 @@ POSTCONFIG= -@\ cleandir=1;\ rebuild=1;\ fi; \ + if [ "$$(grep ^ADK_RUNTIME_BASE_ .config|md5sum)" != "$$(grep ^ADK_RUNTIME_BASE_ .config.old|md5sum)" ];then \ + cleandir=1;\ + rebuild=1;\ + fi; \ if [ "$$(grep ^ADK_TARGET_USE .config|md5sum)" != "$$(grep ^ADK_TARGET_USE .config.old|md5sum)" ];then \ cleandir=1;\ rebuild=1;\ 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: |