From 85b8afb05a378b8fb12296bc3403fb384ad5e413 Mon Sep 17 00:00:00 2001 From: Lionel VITTE Date: Thu, 2 Feb 2023 10:26:48 +0100 Subject: [PATCH] OPENOCD: allow empty commit Sometimes the source directory is not cleaned but everything is already committed. Then, git commit will fail and so the build. Allow empty commit to bypass that issue. Change-Id: Ib9b98dfc1b27ae74d32195b0e0e6e5aca7dd1f30 Signed-off-by: Lionel VITTE --- recipes-devtools/openocd/openocd-stm32mp_0.11.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/openocd/openocd-stm32mp_0.11.0.bb b/recipes-devtools/openocd/openocd-stm32mp_0.11.0.bb index b8556ca..61246cc 100644 --- a/recipes-devtools/openocd/openocd-stm32mp_0.11.0.bb +++ b/recipes-devtools/openocd/openocd-stm32mp_0.11.0.bb @@ -19,5 +19,5 @@ SRC_URI += "" # To be removed after a new jimtcl release get used by openocd. do_configure:prepend() { git add jimtcl - git commit -m "Update jimtcl" + git commit --allow-empty -m "Update jimtcl" }