diff mbox series

[meta-swupdate] swupdate: Fix trailing slashes

Message ID 20201030012254.1434972-1-me@justinstandring.com
State Accepted
Headers show
Series [meta-swupdate] swupdate: Fix trailing slashes | expand

Commit Message

Justin Standring Oct. 30, 2020, 1:22 a.m. UTC
This fixes warnings [1] about trailing slashes on ${S} and ${B}.

[1] - https://github.com/openembedded/openembedded-core/commit/8a4c473c07cba159cf88ed775b9f073c6adf31d4

Signed-off-by: Justin Standring <me@justinstandring.com>
---
 recipes-support/swupdate/swupdate.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Stefano Babic Oct. 30, 2020, 8:44 a.m. UTC | #1
On 30.10.20 02:22, Justin Standring wrote:
> This fixes warnings [1] about trailing slashes on ${S} and ${B}.
> 
> [1] - https://github.com/openembedded/openembedded-core/commit/8a4c473c07cba159cf88ed775b9f073c6adf31d4
> 
> Signed-off-by: Justin Standring <me@justinstandring.com>
> ---
>  recipes-support/swupdate/swupdate.inc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
> index 3c4df0f..eb682aa 100644
> --- a/recipes-support/swupdate/swupdate.inc
> +++ b/recipes-support/swupdate/swupdate.inc
> @@ -77,8 +77,8 @@ RDEPENDS_${PN}-tools += "${PN}-client ${PN}-progress ${PN}-tools-hawkbit \
>      ${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}-usb','',d)} \
>  "
>  
> -S = "${WORKDIR}/git/"
> -B = "${WORKDIR}/build/"
> +S = "${WORKDIR}/git"
> +B = "${WORKDIR}/build"
>  
>  EXTRA_OEMAKE += " O=${B} HOSTCC="${BUILD_CC}" HOSTCXX="${BUILD_CXX}" LD="${CC}" DESTDIR="${D}" LIBDIR="${libdir}" V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
>  

Thanks, I have seen myself the warnings, I applied this to -master.

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
index 3c4df0f..eb682aa 100644
--- a/recipes-support/swupdate/swupdate.inc
+++ b/recipes-support/swupdate/swupdate.inc
@@ -77,8 +77,8 @@  RDEPENDS_${PN}-tools += "${PN}-client ${PN}-progress ${PN}-tools-hawkbit \
     ${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}-usb','',d)} \
 "
 
-S = "${WORKDIR}/git/"
-B = "${WORKDIR}/build/"
+S = "${WORKDIR}/git"
+B = "${WORKDIR}/build"
 
 EXTRA_OEMAKE += " O=${B} HOSTCC="${BUILD_CC}" HOSTCXX="${BUILD_CXX}" LD="${CC}" DESTDIR="${D}" LIBDIR="${libdir}" V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"