diff options
author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-01-12 15:31:13 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-02-01 16:03:56 +0100 |
commit | 82009d4e30556d6e8f68c3634376e778814c4c87 (patch) | |
tree | 2fb51287da66e63d249340e854c96b90bd0ac88b /tools | |
parent | 786160cd76e8c5046c6a786c72fa5fd17592275a (diff) | |
download | mtk-20170518-82009d4e30556d6e8f68c3634376e778814c4c87.zip mtk-20170518-82009d4e30556d6e8f68c3634376e778814c4c87.tar.gz mtk-20170518-82009d4e30556d6e8f68c3634376e778814c4c87.tar.bz2 |
tools/cmake: remove HOST_CONFIGURE_CMD and re-distribute the args & vars
The final semantic is the same, but this is a bit more correct.
Build tested on Windows 10 (yes, there is some
Ubuntu mode for Windows 10, and I've been also building LEDE
on it for a few weeks).
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/cmake/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile index f371239..d6f03e4 100644 --- a/tools/cmake/Makefile +++ b/tools/cmake/Makefile @@ -19,15 +19,12 @@ HOST_CONFIGURE_PARALLEL:=1 include $(INCLUDE_DIR)/host-build.mk -HOST_CONFIGURE_CMD := \ - MAKEFLAGS="$(HOST_JOBS)" \ - $(BASH) ./configure \ - $(if $(MAKE_JOBSERVER),--parallel="$(MAKE_JOBSERVER)") - HOST_CONFIGURE_VARS += \ + MAKEFLAGS="$(HOST_JOBS)" \ CXXFLAGS="$(HOST_CFLAGS)" HOST_CONFIGURE_ARGS := \ + $(if $(MAKE_JOBSERVER),--parallel="$(MAKE_JOBSERVER)") \ --prefix=$(STAGING_DIR_HOST) ifneq ($(findstring c,$(OPENWRT_VERBOSE)),) |