Browse Source

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 <jeffery.to@gmail.com>
lilik-openwrt-22.03
Jeffery To 5 years ago
parent
commit
302f4d17e3
2 changed files with 4 additions and 2 deletions
  1. +2
    -1
      libs/libmraa/Makefile
  2. +2
    -1
      libs/libupm/Makefile

+ 2
- 1
libs/libmraa/Makefile View File

@ -23,10 +23,11 @@ PKG_LICENSE_FILES:=COPYING
PKG_BUILD_DEPENDS:=node swig/host node/host PKG_BUILD_DEPENDS:=node swig/host node/host
CMAKE_INSTALL:=1 CMAKE_INSTALL:=1
PKG_USE_MIPS16:=0 PKG_USE_MIPS16:=0
PYTHON3_PKG_BUILD:=0
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.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 \ CMAKE_OPTIONS=-DENABLEEXAMPLES=0 \
-DFIRMATA=ON -DFIRMATA=ON


+ 2
- 1
libs/libupm/Makefile View File

@ -24,10 +24,11 @@ CMAKE_INSTALL:=1
CMAKE_BINARY_SUBDIR:=build CMAKE_BINARY_SUBDIR:=build
PKG_USE_MIPS16:=0 PKG_USE_MIPS16:=0
PKG_BUILD_PARALLEL:=1 PKG_BUILD_PARALLEL:=1
PYTHON3_PKG_BUILD:=0
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk include $(INCLUDE_DIR)/cmake.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
include ../../lang/python/python3-package.mk
UPM_MODULES:= \ UPM_MODULES:= \
a110x abp ad8232 adafruitms1438 adafruitss adc121c021 adis16448 ads1x15 adxl335 adxl345 \ a110x abp ad8232 adafruitms1438 adafruitss adc121c021 adis16448 ads1x15 adxl335 adxl345 \


Loading…
Cancel
Save