libmraa,libupm: Disable default Python package build recipe 11878/head
authorJeffery To <jeffery.to@gmail.com>
Sat, 18 Apr 2020 10:29:06 +0000 (18:29 +0800)
committerJeffery To <jeffery.to@gmail.com>
Sat, 18 Apr 2020 12:42:59 +0000 (20:42 +0800)
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 <jeffery.to@gmail.com>
libs/libmraa/Makefile
libs/libupm/Makefile

index 14753fd1a4890d702ab4326ec96517915f2a77b2..978a12cfeefa8ba224460d783aa886f36be01d65 100644 (file)
@@ -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
index b63b9d17fb8c0728d539585c7b83045e49e199ed..7a2b8a2d2092bb0e8209cd63afeef92b8d857b37 100644 (file)
@@ -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 \