summaryrefslogtreecommitdiff
path: root/config/coreboot/default/patches/0041-tests-Makefile.mk-use-3rdparty-cmocka-by-default.patch
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-05-19 11:54:05 +0100
committerLeah Rowe <leah@libreboot.org>2026-05-19 11:54:05 +0100
commitad2d082bc23451d94e53539c304ddbf1b489d41c (patch)
tree7b13f35fb5fc7a4d1cf50f2e81f65c198156ad44 /config/coreboot/default/patches/0041-tests-Makefile.mk-use-3rdparty-cmocka-by-default.patch
parent9a132f96a200678d3c66d0abf9e09aa4150a592a (diff)
Revert "cb/default: use rev 62c8197dd25376cb7b18d272af167cb176d28bcf"
This reverts commit fedeb6ecd8b5f3ed79dad754e452aecf88cbdde2. this, along with several other updates, have been reverted. dell 3050 micro had boot issues, on the update. i therefore revert the recent revision update, pending further investigation.
Diffstat (limited to 'config/coreboot/default/patches/0041-tests-Makefile.mk-use-3rdparty-cmocka-by-default.patch')
-rw-r--r--config/coreboot/default/patches/0041-tests-Makefile.mk-use-3rdparty-cmocka-by-default.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/config/coreboot/default/patches/0041-tests-Makefile.mk-use-3rdparty-cmocka-by-default.patch b/config/coreboot/default/patches/0041-tests-Makefile.mk-use-3rdparty-cmocka-by-default.patch
new file mode 100644
index 00000000..8f61bcd0
--- /dev/null
+++ b/config/coreboot/default/patches/0041-tests-Makefile.mk-use-3rdparty-cmocka-by-default.patch
@@ -0,0 +1,30 @@
+From 5b7bbc6fcc6f737f259906f1919c1e28b6628a7e Mon Sep 17 00:00:00 2001
+From: Leah Rowe <leah@libreboot.org>
+Date: Sat, 20 Dec 2025 22:36:18 +0100
+Subject: [PATCH 41/48] tests/Makefile.mk: use 3rdparty/cmocka by default
+
+(tests)
+
+Signed-off-by: Leah Rowe <leah@libreboot.org>
+---
+ tests/Makefile.mk | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/tests/Makefile.mk b/tests/Makefile.mk
+index 9e3f86a138..a5a518cd35 100644
+--- a/tests/Makefile.mk
++++ b/tests/Makefile.mk
+@@ -25,7 +25,9 @@ TEST_LDFLAGS += --coverage
+ endif
+
+ # Use system cmoka in default, or build from 3rdparty source code if requested
+-USE_SYSTEM_CMOCKA ?= 1
++# PATCH NOTE: lbmk sets it to 0 by default. You can still override it to 1
++# if you wish; upstream sets this to 1 by default, but we do 0
++USE_SYSTEM_CMOCKA ?= 0
+ ifeq ($(USE_SYSTEM_CMOCKA),1)
+ ifeq ($(shell $(HOSTPKG_CONFIG) --exists cmocka || echo 1),1)
+ $(warning No system cmocka, build from 3rdparty instead...)
+--
+2.47.3
+