aboutsummaryrefslogtreecommitdiff
path: root/libs/libupm
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-03-04 14:45:01 -0800
committerRosen Penev <rosenp@gmail.com>2021-03-27 21:51:50 -0700
commita31b7320077c340268d31642ded69cc66fbc230c (patch)
tree884808c8657f774a56f82720486b88017f30e6a6 /libs/libupm
parent3ad92293da92b2d5fc3de1ccc214a69f2b081f2e (diff)
treewide: build CMake projects with Ninja
faster to compile. A small selection of packages was tested going from: Executed in 696.30 secs fish external usr time 82.98 mins 395.00 micros 82.98 mins sys time 9.02 mins 0.00 micros 9.02 mins to: Executed in 592.20 secs fish external usr time 84.84 mins 361.00 micros 84.84 mins sys time 8.85 mins 57.00 micros 8.85 mins Tested by running make -j 12 and wiping staging/build_dir/target_x Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/libupm')
-rw-r--r--libs/libupm/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/libupm/Makefile b/libs/libupm/Makefile
index 303b26ba2..16988533a 100644
--- a/libs/libupm/Makefile
+++ b/libs/libupm/Makefile
@@ -23,11 +23,10 @@ PKG_LICENSE_FILES:=LICENSE
CMAKE_INSTALL:=1
CMAKE_BINARY_SUBDIR:=build
PKG_USE_MIPS16:=0
-PKG_BUILD_PARALLEL:=1
PYTHON3_PKG_BUILD:=0
include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/cmake.mk
+include ../../devel/ninja/ninja-cmake.mk
include ../../lang/python/python3-package.mk
UPM_MODULES:= \
@@ -53,7 +52,8 @@ UPM_MODULES:= \
# (require libbacnet) tb7300 t8100 e50hx bacnetmstp
# (require libtinyb) 2jciebu01_ble 2jciebu01_usb
-CMAKE_OPTIONS=-DBUILDSWIGNODE=$(if $(CONFIG_PACKAGE_libmraa-node),ON,OFF) \
+CMAKE_OPTIONS += \
+ -DBUILDSWIGNODE=$(if $(CONFIG_PACKAGE_libmraa-node),ON,OFF) \
-DPYTHON2LIBS_FOUND=FALSE \
-DPYTHON2INTERP_FOUND=FALSE \