diff options
author | Enrico Jorns <ejo@pengutronix.de> | 2016-08-31 11:50:19 +0200 |
---|---|---|
committer | Enrico Jorns <ejo@pengutronix.de> | 2016-09-01 14:51:39 +0200 |
commit | 434620903fb3dc81f766d4193d8a86ffc0478a56 (patch) | |
tree | b91900007ab94a9d7c083d931d58b9f3c6fd3c4b /recipes-core | |
parent | 786bb4d4dd5a7541cb01b567bcb934c923c61b94 (diff) | |
download | meta-ptx-434620903fb3dc81f766d4193d8a86ffc0478a56.tar.gz meta-ptx-434620903fb3dc81f766d4193d8a86ffc0478a56.tar.xz |
rauc: add support for new configure options
--enable-network now allows to compile without network support, removing
the necessity to DEPEND on curl.
--enable-json adds support for new json-style output formats for `rauc
info` and `rauc status`.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/rauc/rauc.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-core/rauc/rauc.inc b/recipes-core/rauc/rauc.inc index 51e08de..07a4d1f 100644 --- a/recipes-core/rauc/rauc.inc +++ b/recipes-core/rauc/rauc.inc @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" SRC_URI = "file://rauc.service file://rauc-mark-good.service " -DEPENDS = "curl openssl glib-2.0" +DEPENDS = "openssl glib-2.0" RDEPENDS_${PN}_class-target = "barebox-state" RRECOMMENDS_${PN} = "squashfs-tools" RRECOMMENDS_${PN}_append_class-target = " mtd-utils ${PN}-mark-good" @@ -18,10 +18,12 @@ FILES_${PN}-service = "${sysconfdir}/dbus-1/system.d/de.pengutronix.rauc.conf" FILES_${PN}-service += "${systemd_unitdir}/system/rauc.service" FILES_${PN}-mark-good = "${systemd_unitdir}/system/rauc-mark-good.service" -PACKAGECONFIG ??= "service" +PACKAGECONFIG ??= "service network json" PACKAGECONFIG_class-native = "" PACKAGECONFIG_class-nativesdk = "" PACKAGECONFIG[service] = "--enable-service,--enable-service=no,,${PN}-service" +PACKAGECONFIG[network] = "--enable-network,--enable-network=no,curl" +PACKAGECONFIG[json] = "--enable-json,--enable-json=no,json-glib" inherit autotools pkgconfig gettext systemd |