]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
cmake: Limit build to two concurrent compiler processes
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 7 Feb 2015 22:22:08 +0000 (22:22 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 7 Feb 2015 22:22:08 +0000 (22:22 +0000)
Overheats my system :(

lfs/cmake

index 587396538ddd929da40aef1be156ed42e75cd1fd..085d2bf2380dbd66a5d7d16a6308700d823ea7c7 100644 (file)
--- a/lfs/cmake
+++ b/lfs/cmake
@@ -32,6 +32,10 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
+ifeq "$(MACHINE)" "armv5tel"
+       MAKETUNING = -j2
+endif
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################