diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-25 21:01:17 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-25 21:01:32 +0200 |
commit | abc999b9ebe36de53c53090c077ae06985de808c (patch) | |
tree | bf855b8e2f38283f69a3b81f44df9be9d88f1da6 /mk | |
parent | d8a3cfe3d7691fd44ee341b4753c602c10b7db7b (diff) |
allow to choose base apps, minor dot cleanup
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: |