diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-01-08 15:46:33 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-10 12:44:58 +0000 |
| commit | 1c8ecbf09d8d4ca0c746e7a88767f3328ce950a2 (patch) | |
| tree | 99bd46191c696eda7844241a1249996c2951bd20 | |
| parent | b0f2233e18b667e090350f1b323cad27bc653d11 (diff) | |
| download | poky-1c8ecbf09d8d4ca0c746e7a88767f3328ce950a2.tar.gz | |
rsync: clean up configure/configure.sh fiddling
The upstream Makefiles tell autoconf to write the generated script to
configure.sh instead of the idiomatic configure. We now remove all of
the Makefile rules that refer to configure.sh (makefile-no-rebuild.patch)
but the recipe configure changes remained, so remove them too and delete the
existing configure.sh to avoid confusion for anyone looking at the build treee.
Also add a comment explaining why autotools-brokensep is used.
(From OE-Core rev: 599e0fbf7d3dbbad0606143baa0ecccc510348ce)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-devtools/rsync/rsync_3.3.0.bb | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/meta/recipes-devtools/rsync/rsync_3.3.0.bb b/meta/recipes-devtools/rsync/rsync_3.3.0.bb index a90d2887bd..c03bb270d4 100644 --- a/meta/recipes-devtools/rsync/rsync_3.3.0.bb +++ b/meta/recipes-devtools/rsync/rsync_3.3.0.bb | |||
| @@ -18,6 +18,7 @@ SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \ | |||
| 18 | " | 18 | " |
| 19 | SRC_URI[sha256sum] = "7399e9a6708c32d678a72a63219e96f23be0be2336e50fd1348498d07041df90" | 19 | SRC_URI[sha256sum] = "7399e9a6708c32d678a72a63219e96f23be0be2336e50fd1348498d07041df90" |
| 20 | 20 | ||
| 21 | # Doesn't use automake | ||
| 21 | inherit autotools-brokensep | 22 | inherit autotools-brokensep |
| 22 | 23 | ||
| 23 | PACKAGECONFIG ??= "acl attr \ | 24 | PACKAGECONFIG ??= "acl attr \ |
| @@ -49,14 +50,10 @@ EXTRA_OECONF = "--disable-md2man --with-nobody-group=nogroup" | |||
| 49 | #| If you can't fix the issue, re-run ./configure with --disable-roll-simd. | 50 | #| If you can't fix the issue, re-run ./configure with --disable-roll-simd. |
| 50 | EXTRA_OECONF:append:libc-musl = " --disable-roll-simd" | 51 | EXTRA_OECONF:append:libc-musl = " --disable-roll-simd" |
| 51 | 52 | ||
| 52 | # rsync 3.0 uses configure.sh instead of configure, and | 53 | # rsync uses configure.sh instead of configure, so delete that file |
| 53 | # makefile checks the existence of configure.sh | 54 | # to avoid confusion as we will generate configure. |
| 54 | do_configure:prepend () { | 55 | do_configure:prepend () { |
| 55 | rm -f ${S}/configure ${S}/configure.sh | 56 | rm -f ${S}/configure.sh |
| 56 | } | ||
| 57 | |||
| 58 | do_configure:append () { | ||
| 59 | cp -f ${S}/configure ${S}/configure.sh | ||
| 60 | } | 57 | } |
| 61 | 58 | ||
| 62 | do_install:append() { | 59 | do_install:append() { |
