From 302f4d17e336171eba4e8ace4944b3531bd2bec9 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Sat, 18 Apr 2020 18:29:06 +0800 Subject: [PATCH] libmraa,libupm: Disable default Python package build recipe This adds PYTHON3_PKG_BUILD:=0, to disable the default Python package build recipe. There should be no changes to build output. This also updates include paths for python3-package.mk to be relative to the package Makefile. Signed-off-by: Jeffery To --- libs/libmraa/Makefile | 3 ++- libs/libupm/Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libs/libmraa/Makefile b/libs/libmraa/Makefile index 14753fd1a..978a12cfe 100644 --- a/libs/libmraa/Makefile +++ b/libs/libmraa/Makefile @@ -23,10 +23,11 @@ PKG_LICENSE_FILES:=COPYING PKG_BUILD_DEPENDS:=node swig/host node/host CMAKE_INSTALL:=1 PKG_USE_MIPS16:=0 +PYTHON3_PKG_BUILD:=0 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk -include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk +include ../../lang/python/python3-package.mk CMAKE_OPTIONS=-DENABLEEXAMPLES=0 \ -DFIRMATA=ON diff --git a/libs/libupm/Makefile b/libs/libupm/Makefile index b63b9d17f..7a2b8a2d2 100644 --- a/libs/libupm/Makefile +++ b/libs/libupm/Makefile @@ -24,10 +24,11 @@ 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 $(TOPDIR)/feeds/packages/lang/python/python3-package.mk +include ../../lang/python/python3-package.mk UPM_MODULES:= \ a110x abp ad8232 adafruitms1438 adafruitss adc121c021 adis16448 ads1x15 adxl335 adxl345 \