summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Duskett <adam.duskett@amarulasolutions.com>2026-02-17 16:41:40 +0100
committerKhem Raj <raj.khem@gmail.com>2026-02-17 22:42:41 -0800
commitce96911f6825d9bd63a1f26154d9d2de9eaad3d5 (patch)
treedec1b8f7552860b05d212b5b63debe03dd1d4788
parent6a5cb4697b1eaccf553cc4be5009b72b2da25011 (diff)
downloadmeta-openembedded-ce96911f6825d9bd63a1f26154d9d2de9eaad3d5.tar.gz
libtoml11: check PTEST_ENABLED instead of DISTRO_FEATURES
Checking for PTEST_ENABLED 1 is the preferred method for enabling and disabling ptests for packages. Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb b/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb
index d07e49c4fe..4b9eccf88d 100644
--- a/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb
+++ b/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb
@@ -21,7 +21,7 @@ SRC_URI = "gitsm://github.com/ToruNiina/toml11.git;protocol=https;branch=main \
21inherit cmake ptest 21inherit cmake ptest
22 22
23EXTRA_OECMAKE += "-DTOML11_PRECOMPILE=ON \ 23EXTRA_OECMAKE += "-DTOML11_PRECOMPILE=ON \
24 -DTOML11_BUILD_TESTS=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "ON", "OFF", d)} \ 24 -DTOML11_BUILD_TESTS=${@bb.utils.contains("PTEST_ENABLED", "1", "ON", "OFF", d)} \
25" 25"
26 26
27ALLOW_EMPTY:${PN} = "1" 27ALLOW_EMPTY:${PN} = "1"