24 Commits

Author SHA1 Message Date
Tim Orling 1e1458f98e meta-oe: drop ${PYTHON_PN}
python2 is long unsupported, so we no longer need this variable

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:24 -08:00
Martin Jansa 21f956598d recipes: drop ${SRCPV} usage
* Drop SRCPV similarly like oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872

* SRCPV is deferred now from PV to PKGV since:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-09 09:52:12 -08:00
Alexander Kanavin 2e3c18f2d3 upm: get disutils copy via setuptools
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-31 08:27:50 -08:00
Peter Kjellerstedt 2e0a581bee recipes: Remove double protocol= from SRC_URIs
With the exception of paho-mqtt-cpp, the double protocol= attributes
were added to the SRC_URIs when protocol=https was added to all SRC_URIs
fetching from github.com in commit b402a3076f (recipes: Update SRC_URI
branch and protocols).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 15:56:47 -07:00
Khem Raj 6ec4f0a30f upm: Fix build with gcc13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-29 08:59:56 -08:00
Khem Raj 1d2da22e77 meta-oe: Use setuptools3-base
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-12 09:35:18 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Zheng Ruoqin efe14bb04e upm:Fix build error when enable multilib.
ERROR: upm-2.0.0+gitAUTOINC+5cf20df96c-r0 do_package: QA Issue: upm:
Files/directories were installed but not shipped in any package:
  /usr/lib/python3.8/site-packages/upm/pyupm_adc121c021.py
  /usr/lib/python3.8/site-packages/upm/pyupm_hmc5883l.py
  /usr/lib/python3.8/site-packages/upm/_pyupm_mma8x5x.so
  /usr/lib/python3.8/site-packages/upm/_pyupm_m24lr64e.so
  /usr/lib/python3.8/site-packages/upm/pyupm_tca9548a.py
  /usr/lib/python3.8/site-packages/upm/pyupm_mb704x.py
  /usr/lib/python3.8/site-packages/upm/_pyupm_ehr.so
  ......

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-03 07:05:14 -07:00
Khem Raj 4e423ff943 upm: Disable Werror
New compilers sometime find new warnings, its best to report them
upstream but not break distro builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-05 10:38:14 -07:00
Khem Raj 6d35e3c816 upm: Undefine PYTHON_EXECUTABLE cmake variable
upm has its own mechanism to detect python that it has inherited from
openCV, this was forked long time ago and never updated to latest from
openCV, ideally it should be fixed to entertain PYTHON_EXECUTABLE
variable passed from cmake but it does not and causes build errors,
proper fix is left for upm community, here we ensure that we can still
compile after OE-Core change

cmake: fix Python executable with cmake

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Kelly <mkelly@xevo.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 10:38:14 -07:00
Khem Raj 1a9cb1f526 upm: Drop gcc-only warnings
This helps in compiling upm with clang, in followup patch
we wll disabled Werror too

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-05 10:38:14 -07:00
Propanu d664461dfa upm: Update SRC_URI
Updating SRC_URI to reflect project move to Eclipse Foundation.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-27 08:25:49 -08:00
Khem Raj 729af58460 upm: Disable -Wno-misleading-indentation with clang10+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-31 11:06:23 -08:00
Khem Raj 25b0cbe98f upm: Fix 'may be used uninitialized' errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-25 08:55:26 -08:00
Khem Raj 53d431639a upm: Link with libatomic on clang/x86
This is needed for atomic<double> which clang does not use intrinsic
function for on 32bit x86

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-18 17:17:11 -08:00
Khem Raj a802d88464 upm: Define PYTHON_INCLUDE_DIR and PYTHON_LIBRARY for cmake
Otherwise it peeks into native sysroot now and starts using native
python which is undesirable, this is happening after the oe-core change

https://git.openembedded.org/openembedded-core/commit/?id=7847f431cd8db59fce8c9401a603c4b0678ee16d

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-25 10:29:50 -07:00
Paul Eggleton 499f1b4e24 upm: update to 2.0.0
Changelog:

  https://github.com/intel-iot-devkit/upm/blob/master/docs/changelog.md

Dropped a couple of patches merged upstream and updated PV to match
convention for git recipes (+git rather than -git).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:33 -07:00
Manjukumar Matha 5d5c14ef49 upm_git.bb: Add fix for installing the python files
Use SWIG_SUPPORT_FILES to find the list of python files generated by
CMake Swig module and install those files. This should be applicable to
cmake version 3.12 or higher

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-15 06:58:55 -08:00
Khem Raj 1477cf5460 upm: Upgrade to latest and fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-22 10:52:33 -07:00
Khem Raj a2b026529c upm: Fix build with gcc8
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:23:22 -07:00
Brendan Le Foll f988ce34a8 upm: Update recipe to use v1.6.0
ads1x15 patch is no longer required as it has been merged upstream

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:12:55 -08:00
Mikko Ylinen 2913f7073f mraa/upm: drop HAVE_NODEJS conditional
HAVE_NODEJS is a leftover from meta-refkit-core where the
layer had to adapt to different BBLAYER combinations (some
where nodejs wasn't available but mraa/upm were).

mraa/upm nodejs bindings currently fail to build (due to a problem
in swig with nodejs > v7.x) so we keep them disabled until a newer
version of swig lands in OE-core.

The commit adds BINDINGS overrides for armv4/5 to remind that nodejs
isn't available on those architectures.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Paul Eggleton a43751b149 upm: add recipe from meta-refkit-core
Make this recipe a little more widely visible (has previously appeared
in meta-refkit-core and meta-intel-iot-middleware). Also make couple of
minor tweaks:

* Fix BINDINGS example to use the correct recipe name (copy-paste error)
* Set HOMEPAGE
* Drop AUTHOR as this is field is only really intended for older
  software where there is no real point of contact for upstream other
  than an author's email address.
* Set same COMPATIBLE_HOST as mraa since upm depends upon it

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04 14:53:31 +00:00