cmocka: upgrade 1.1.8 -> 2.0.2

License-Update: Rename COPYING to LICENSE, no text content changed.

ChangeLog:
https://gitlab.com/cmocka/cmocka/-/blob/cmocka-2.0.2/CHANGELOG.md

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Yi Zhao 2026-03-22 23:05:52 +08:00 committed by Khem Raj
parent fdc07c4469
commit a9821a1a42
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -4,13 +4,14 @@ platforms (including embedded) and with different compilers."
HOMEPAGE = "https://cmocka.org/" HOMEPAGE = "https://cmocka.org/"
LICENSE = "Apache-2.0" LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRCREV = "eba4d6ffca53b500ab8dfabc30256bb6c3088b2b" SRCREV = "fefa2b8a023121f7235e18ed17249e4012dd144f"
SRC_URI = "git://git.cryptomilk.org/projects/cmocka.git;protocol=https;branch=stable-1.1;tag=cmocka-${PV} \ SRC_URI = "git://git.cryptomilk.org/projects/cmocka.git;protocol=https;branch=stable-2.0;tag=cmocka-${PV} \
file://run-ptest \ file://run-ptest \
" "
inherit cmake ptest inherit cmake ptest
EXTRA_OECMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', '-DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=ON', '', d)}" EXTRA_OECMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', '-DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=ON', '', d)}"