Commit Graph

20 Commits

Author SHA1 Message Date
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Hirokazu MORIKAWA b6bb8a62a5 libmraa: Disable node.js support
Library for node.js will be disabled temporarily due to difficulty in supporting the latest node.js.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-04-27 18:04:18 -07:00
Rosen Penev a31b732007 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>
2021-03-27 21:51:50 -07:00
Rosen Penev 07d0ee7552 libmraa: fix compilation with GCC10
Taken from an upstream issue.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-07 14:49:05 -08:00
Hirokazu MORIKAWA dd953c6e15 libmraa: update to 2.2.0
update to 2.2.0
Allow to build only python modules.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2020-11-11 10:13:37 +09:00
Hirokazu MORIKAWA 0e9db80f0e libmraa: support node.js v12
Maintainer: @blogic me
Compile tested: head r14241-ba2ddba, x86_64
Run tested: x86_64 (VirtualBox)

Description:
Addressed the build failure with node.js version 12.
Re-enable swig.

https://github.com/openwrt/packages/issues/11977
https://github.com/openwrt/packages/pull/12225

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2020-08-25 18:49:13 +09:00
Rosen Penev 4d1f4cc715
libmraa: disable swig
swig as used in libmraa is not compatible with node 12.

This is causing build failures on all platforms.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-19 14:33:13 -07:00
Jeffery To 302f4d17e3 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>
2020-04-18 20:42:59 +08:00
Jeffery To ae090fa565 libmraa: Remove Python 2 library package
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-01 01:58:51 +08:00
Hirokazu MORIKAWA eab72e6aa8 libmraa: update to 2.1.0
update to 2.1.0
The MRAA project is joining the Eclipse Foundation as an Eclipse IoT project.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2020-02-04 13:53:05 +09:00
Rosen Penev 47ebc1f41a libmraa: Fix faulty depends
@ppc is actually @powerpc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-22 17:20:13 -07:00
Rosen Penev f05b8f47c3 libmraa: Don't build on ARC, ARMEB, and PPC
Not supported.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-14 00:36:55 -07:00
Rosen Penev ca4536b39f libmraa: Add several subpackages
Also added back the version patch to fix compilation with libupm.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-30 12:55:22 -08:00
Rosen Penev bae4f3edb3 libmraa: Update to 2.0.0
Switched to codeload for simplicity and easier package bumping.

Rearranged Makefile for consistency with other projects.

All of the patches seem to have been upstreamed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-05 20:13:34 -08:00
Eneas U de Queiroz e7408d94c5 libmraa: don't set SWIG_DIR
CMake 3.0.12 uses SWIG_DIR to set SWIG_LIB, is used as the library
install location, which defaults to
$(STAGING_HOSTPKG)/share/sig/(SWIGVERSION).  If it is set, then the
installed swig library directory is ignored, and compilation fails:
[ 32%] Swig source
:1: Error: Unable to find 'swig.swg'
:3: Error: Unable to find 'python.swg'

Instead of setting it manually, let the default be used, which works
well.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-08-06 10:47:19 -03:00
Eneas U de Queiroz 420b203af6 libmraa: Upgrade to version 0.9.0
This version is compatible with the version of node currently in use.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-05-23 14:30:29 -03:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Matthias Schiffer 4a984a8d60
treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424 for more information on
STAGING_DIR_HOSTPKG.

STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.

Also fixes a typo in the dbus Makefile ("STAGIND_DIR").

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-01-10 18:25:54 +01:00
Felix Fietkau 9f8e5aca34 treewide: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST), sync with changes in trunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2016-01-20 21:56:03 +01:00
John Crispin 896feff364 libmraa: add mraa including mips platform code
mraa is a lowlevel io bus abstraction layer. it allows us to export bindings for
various linux io busses for node, python, ...

Signed-off-by: John Crispin <blogic@openwrt.org>
2015-10-19 12:20:11 +02:00