My project uses a old distribution of poky
where the meson version is 0.44.1
. My objective is to upgrade this distribution of meson, without changing anything on the static poky layer.
So I created a new meson_0.53.1.bb
file located inside my-custom-layer/recipes-devtools/meson/
, with the appropriate references to its SRC_URI
and its hashes.
However, my custom recipes are not being built with/don't recognize this version of meson, for example I have this recipe:
SUMMARY = "Detection algorithm"
LICENSE = "CLOSED"
PR = "2"
PV = "0.1.1"
DEPENDS = "meson boost libeigen"
SRC_URI = "git://git@eng-server:9022/perseus-libraries/detection.git;protocol=ssh"
SRCREV = "f7747c2bbb72a08e116d22a941645b2703ac6b26"
S = "${WORKDIR}/git"
inherit meson pkgconfig
SYSROOT_DIRS += "${PERSEUS_APP_DIR}"
MESON_VERSION = "0.53.1"
MESONOPTS = " --prefix ${PERSEUS_APP_DIR} \
--buildtype plain \
--bindir ${PERSEUS_APP_DIR}/bin/ \
--libdir ${PERSEUS_APP_DIR}/lib/ "
FILES_${PN} = "${libdir}/* ${PERSEUS_APP_DIR}/ ${includedir}"
FILES_${PN}-dev = "${libdir}/pkgconfig/* ${includedir}"
I have already checked that my layer has a higher priority with bitbake-layers show-layers
, and I have altered my local.conf
file to add
MESON_VERSION = "0.53.1"
PREFERRED_VERSION_meson = "0.53.1"
What should I do to make my custom recipes recognize this newer version of meson, and be compiled/built from it?