[meta-oe][PATCH] srecord: build fix


Adrian Freihofer
 

build failed with:
ln: failed to create symbolic link '...srecord-1.64/configure.ac': File exists

As expected, the existing file was a symlink pointing to etc/configure.ac

Signed-off-by: Adrian Freihofer <adrian.freihofer@...>
---
meta-oe/recipes-support/srecord/srecord_1.64.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/srecord/srecord_1.64.bb b/meta-oe/recipes-support/srecord/srecord_1.64.bb
index 85deabde1..5765272ce 100644
--- a/meta-oe/recipes-support/srecord/srecord_1.64.bb
+++ b/meta-oe/recipes-support/srecord/srecord_1.64.bb
@@ -21,7 +21,7 @@ inherit autotools-brokensep
do_configure:prepend() {
# To autoreconf we need the script in ${S}, we can't tell autotools to use
# etc/ because then it can't find the Makefile.in
- ln -s ${S}/etc/configure.ac ${S}
+ ln -sf ${S}/etc/configure.ac ${S}
}

PACKAGECONFIG ??= "gcrypt"
--
2.35.1

Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.