From ec0e87b37a04927ed4549b1b9d2e23a8c345cb7a Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Fri, 19 Feb 2021 14:37:33 -0600 Subject: rsync: only add dependencies on target Our recent rebase of upstream poky caused a build failure. The failure was a "Dependency loop" failure. The following gist has the output: https://gist.github.com/geissonator/fb078233c99ffad5b38ad6195db0a403 The root of the issue was OpenBMC's rsync bbappend which adds popt and zlib as DEPENDS for both the native and target builds. This dependency on the native build is what caused the issue. Signed-off-by: Andrew Geissler Change-Id: I751cb0212ea711e51f6e7e2d338d83f7eeeab8de --- meta-phosphor/recipes-devtools/rsync/rsync_%.bbappend | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-phosphor/recipes-devtools/rsync/rsync_%.bbappend b/meta-phosphor/recipes-devtools/rsync/rsync_%.bbappend index eafb15b6d..a7061c088 100644 --- a/meta-phosphor/recipes-devtools/rsync/rsync_%.bbappend +++ b/meta-phosphor/recipes-devtools/rsync/rsync_%.bbappend @@ -1,6 +1,7 @@ -EXTRA_OECONF_append += " --disable-largefile --disable-locale --disable-iconv \ - --without-included-popt --without-included-zlib" +EXTRA_OECONF_append_class-target += " --disable-largefile --disable-locale \ + --disable-iconv --without-included-popt \ + --without-included-zlib" PACKAGECONFIG = "" -DEPENDS_append = " popt zlib" +DEPENDS_append_class-target = " popt zlib" -- cgit v1.2.3