diff options
| author | Khem Raj <raj.khem@gmail.com> | 2026-03-17 18:42:18 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-03-19 22:27:10 -0700 |
| commit | 1ba7b58a281eafcf1ca948c8dab5470af1a4f930 (patch) | |
| tree | d24c35fc84303c1c9e67267c861d7f70dc50e86c | |
| parent | 24303febc18cc742d98208fd8045ea2274b5dc30 (diff) | |
| download | meta-openembedded-1ba7b58a281eafcf1ca948c8dab5470af1a4f930.tar.gz | |
canopenterm: Workaround cmake hang
* Disable BUILD_YOCTO to avoid cmake hang
* Add needed build fixes and always use gcc
since clang emits additional errors which can not be
fixed without major surgery
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-extended/canopenterm/canopenterm_1.0.14.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-extended/canopenterm/canopenterm_1.0.14.bb b/meta-oe/recipes-extended/canopenterm/canopenterm_1.0.14.bb index ed59c7d8cd..7f095f36fc 100644 --- a/meta-oe/recipes-extended/canopenterm/canopenterm_1.0.14.bb +++ b/meta-oe/recipes-extended/canopenterm/canopenterm_1.0.14.bb | |||
| @@ -13,15 +13,16 @@ BUGTRACKER = "https://github.com/CANopenTerm/CANopenTerm/issues" | |||
| 13 | LICENSE = "MIT" | 13 | LICENSE = "MIT" |
| 14 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=bd2edc721b4a0289efe949bdbe7dda79" | 14 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=bd2edc721b4a0289efe949bdbe7dda79" |
| 15 | 15 | ||
| 16 | DEPENDS = "cjson libinih libsdl3 lua libsocketcan pocketpy" | 16 | DEPENDS = "cjson libinih libsdl3 lua libsocketcan pocketpy alsa-lib" |
| 17 | 17 | ||
| 18 | SRC_URI = "git://github.com/CANopenTerm/CANopenTerm.git;protocol=https;branch=main;tag=v${PV}" | 18 | SRC_URI = "git://github.com/CANopenTerm/CANopenTerm.git;protocol=https;branch=main;tag=v${PV}" |
| 19 | 19 | ||
| 20 | SRCREV = "012e48af26b483ead9df1004cfc92e6908b66b24" | 20 | SRCREV = "012e48af26b483ead9df1004cfc92e6908b66b24" |
| 21 | 21 | ||
| 22 | inherit cmake ptest | 22 | inherit cmake pkgconfig ptest |
| 23 | 23 | ||
| 24 | EXTRA_OECMAKE += "-DBUILD_YOCTO=ON" | 24 | # Does not compile with clang yes |
| 25 | TOOLCHAIN = "gcc" | ||
| 25 | 26 | ||
| 26 | FILES:${PN} += "${bindir}/CANopenTerm ${bindir}/codb2json ${datadir}" | 27 | FILES:${PN} += "${bindir}/CANopenTerm ${bindir}/codb2json ${datadir}" |
| 27 | 28 | ||
