diff mbox series

[meta-swupdate] libuboot: Fix HOMEPAGE url and add PACKAGE_ARCH variable.

Message ID 1552409746-22877-1-git-send-email-pjtexier@koncepto.io
State Accepted
Headers show
Series [meta-swupdate] libuboot: Fix HOMEPAGE url and add PACKAGE_ARCH variable. | expand

Commit Message

'Darko Komljenovic' via swupdate March 12, 2019, 4:55 p.m. UTC
This commit introduces the PACKAGE_ARCH variable
to force package to be machine-dependent.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
---
 recipes-bsp/libuboot/libuboot_0.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Stefano Babic March 12, 2019, 7:27 p.m. UTC | #1
Hi Pierre,

On 12/03/19 17:55, 'Pierre-Jean Texier' via swupdate wrote:
> This commit introduces the PACKAGE_ARCH variable
> to force package to be machine-dependent.
> 
> Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
> ---
>  recipes-bsp/libuboot/libuboot_0.1.bb | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-bsp/libuboot/libuboot_0.1.bb b/recipes-bsp/libuboot/libuboot_0.1.bb
> index 3c95ee8..a9062a3 100644
> --- a/recipes-bsp/libuboot/libuboot_0.1.bb
> +++ b/recipes-bsp/libuboot/libuboot_0.1.bb
> @@ -4,7 +4,7 @@ DEPENDS += "mtd-utils"
>  DESCRIPTION = "This package contains tools and libraries to read \
>  and modify U-Boot environment"
>  
> -HOMEPAGE = "https://github.com/sbabic/libuboot"
> +HOMEPAGE = "https://github.com/sbabic/libubootenv"
>  LICENSE = "LGPL-2.1"
>  LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780"
>  SECTION = "libs"
> @@ -16,6 +16,8 @@ S = "${WORKDIR}/git"
>  
>  inherit cmake
>  
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
>  PROVIDES += "u-boot-fw-utils"
>  RPROVIDES_${PN} += "u-boot-fw-utils"
>  
> 

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/recipes-bsp/libuboot/libuboot_0.1.bb b/recipes-bsp/libuboot/libuboot_0.1.bb
index 3c95ee8..a9062a3 100644
--- a/recipes-bsp/libuboot/libuboot_0.1.bb
+++ b/recipes-bsp/libuboot/libuboot_0.1.bb
@@ -4,7 +4,7 @@  DEPENDS += "mtd-utils"
 DESCRIPTION = "This package contains tools and libraries to read \
 and modify U-Boot environment"
 
-HOMEPAGE = "https://github.com/sbabic/libuboot"
+HOMEPAGE = "https://github.com/sbabic/libubootenv"
 LICENSE = "LGPL-2.1"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780"
 SECTION = "libs"
@@ -16,6 +16,8 @@  S = "${WORKDIR}/git"
 
 inherit cmake
 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
 PROVIDES += "u-boot-fw-utils"
 RPROVIDES_${PN} += "u-boot-fw-utils"