mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
diffutils: fix rebuilds
If diffutils rebuilds it tries to remove with "rm" files that don't exist anymore, resulting in an error. Use rm -f so the removal always succeeds. (From OE-Core rev: becd38412a95f3f9f6c3450a87a7204be032d2e6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c65e88b3f2
commit
ad39133c4c
@@ -6,7 +6,7 @@ require diffutils.inc
|
||||
do_configure_prepend () {
|
||||
# Need to remove gettext macros with weird mix of versions
|
||||
for i in codeset.m4 gettext_gl.m4 intlmacosx.m4 inttypes-pri.m4 lib-ld_gl.m4 lib-prefix_gl.m4 po_gl.m4 ssize_t.m4 wchar_t.m4 wint_t.m4; do
|
||||
rm ${S}/m4/$i
|
||||
rm -f ${S}/m4/$i
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user