Skip to content
Snippets Groups Projects
Select Git revision
  • fd237f6f43d4ad36e1987bf7461a16647287db18
  • v2018.2.x default protected
  • 0x4A6F-rpi4
  • 0x4A6F-master
  • master
  • v2018.2.2-ffs
  • v2016.2.4-batmanbug
  • radv-filterd
  • v2016.2.x
  • hoodselector
  • v2016.1.x
  • babel
  • v2015.1.x
  • 2014.4.x
  • 2014.3.x
  • v2018.2.2-ffs0.1
  • v2018.2.1-ffs0.1
  • v2018.2.1
  • v2018.2-ffs0.1
  • v2018.2
  • v2018.1.4
  • v2018.1.3
  • v2018.1.2
  • v2018.1.1
  • v2018.1
  • v2017.1.8
  • v2017.1.7
  • v2017.1.6
  • v2017.1.5
  • v2017.1.4
  • v2017.1.3
  • v2017.1.2
  • v2016.2.7
  • v2017.1.1
  • v2017.1
35 results

0087-tools-cmake-fix-parallel-build-with-Make-4.2.patch

Blame
  • Forked from firmware / FFS Gluon
    3736 commits behind the upstream repository.
    user avatar
    fd237f6f
    History
    0087-tools-cmake-fix-parallel-build-with-Make-4.2.patch 945 B
    From: Matthias Schiffer <mschiffer@universe-factory.net>
    Date: Wed, 15 Jun 2016 19:31:49 +0200
    Subject: tools/cmake: fix parallel build with Make 4.2+
    
    Avoid using the --parallel argument to the CMake bootstrap, as that doesn't
    allow us to remove the -j argument. Instead, pass the HOST_JOBS arguments
    in MAKEFLAGS.
    
    Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
    
    Backport of LEDE 96db10752483cb07f822686482b44be6c21fbb5f
    
    diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
    index 08e2b02..6c211de 100644
    --- a/tools/cmake/Makefile
    +++ b/tools/cmake/Makefile
    @@ -18,10 +18,11 @@ HOST_CONFIGURE_PARALLEL:=1
     
     include $(INCLUDE_DIR)/host-build.mk
     
    +HOST_CONFIGURE_CMD := MAKEFLAGS="$(HOST_JOBS)" $(BASH) ./configure
    +
     HOST_CONFIGURE_VARS :=
     
     HOST_CONFIGURE_ARGS := \
    -	--prefix=$(STAGING_DIR_HOST) \
    -	$(if $(MAKE_JOBSERVER),--parallel="$(MAKE_JOBSERVER)")
    +	--prefix=$(STAGING_DIR_HOST)
     
     $(eval $(call HostBuild))