[OE-core] [PATCH 09/10] swupd-client: enable native builds

Joshua Lock joshua.g.lock at intel.com
Wed Feb 24 14:52:13 UTC 2016


This is useful for debugging swupd generated artefacts on the build
host i.e. `swupd hashdump`

Signed-off-by: Joshua Lock <joshua.g.lock at intel.com>
---
 meta/recipes-devtools/swupd/swupd-client_2.87.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/swupd/swupd-client_2.87.bb b/meta/recipes-devtools/swupd/swupd-client_2.87.bb
index 73bfeb1..8226624 100644
--- a/meta/recipes-devtools/swupd/swupd-client_2.87.bb
+++ b/meta/recipes-devtools/swupd/swupd-client_2.87.bb
@@ -18,7 +18,7 @@ DEPENDS = "glib-2.0 curl zlib bzip2 xz openssl"
 RDEPENDS_${PN} = "gzip bzip2 tar xz"
 RDEPENDS_${PN}_class-target = "oe-swupd-helpers"
 # We check /etc/os-release for the current OS version number
-RRECOMMENDS_${PN} = "os-release"
+RRECOMMENDS_${PN}_class-target = "os-release"
 
 inherit pkgconfig autotools-brokensep systemd
 
@@ -45,3 +45,5 @@ FILES_${PN} += "\
 
 SYSTEMD_SERVICE_${PN} = "check-update.timer check-update.service"
 SYSTEMD_AUTO_ENABLE_${PN} = "disable"
+
+BBCLASSEXTEND = "native"
-- 
2.5.0




More information about the Openembedded-core mailing list