Discussion:
[meta-freescale] [3rdparty][PATCH 1/2] u-boot-boundary: Use dtc-145 class
Fabio Berton
2018-07-31 13:08:21 UTC
Permalink
From meta-freescale commit:

commit 040e4f031f2dc581c48253405da9036def035b68
Author: Max Krummenacher <***@toradex.com>
Date: Mon Jul 23 22:13:19 2018 +0200

dtc-145: Deploy renamed binary only and add new class

dtc-145-native is used by older U-Boot recipes. U-Boot only depends on
the native dtc binary. So, to not clash with files from the regular dtc native
build do only install the dtc binary renamed to dtc-145. Also, create
a new class to handle with dtc-145 dependency.

Signed-off-by: Fabio Berton <***@ossystems.com.br>
---
recipes-bsp/u-boot/u-boot-boundary-common_2017.03.imx8m.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/u-boot/u-boot-boundary-common_2017.03.imx8m.inc b/recipes-bsp/u-boot/u-boot-boundary-common_2017.03.imx8m.inc
index b72955c..63f2bac 100644
--- a/recipes-bsp/u-boot/u-boot-boundary-common_2017.03.imx8m.inc
+++ b/recipes-bsp/u-boot/u-boot-boundary-common_2017.03.imx8m.inc
@@ -8,8 +8,8 @@ SRCREV = "962210405277c99520aa4c5185c5aa2d589fbd1d"
SRCBRANCH = "boundary-imx_v2017.03_4.9.51_imx8m_ga"
SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git;branch=${SRCBRANCH}"

-DEPENDS += "dtc-145-native"
-
S = "${WORKDIR}/git"

+inherit dtc-145
+
PACKAGE_ARCH = "${MACHINE_ARCH}"
--
2.18.0

--
Fabio Berton
2018-07-31 13:08:22 UTC
Permalink
commit 040e4f031f2dc581c48253405da9036def035b68 (HEAD -> dev, ssh-push/master-next, ssh-push/master)
Author: Max Krummenacher <***@toradex.com>
Date: Mon Jul 23 22:13:19 2018 +0200

dtc-145: Deploy renamed binary only and add new class

dtc-145-native is used by older U-Boot recipes. U-Boot only depends on
the native dtc binary. So, to not clash with files from the regular dtc native
build do only install the dtc binary renamed to dtc-145. Also, create
a new class to handle with dtc-145 dependency.

Signed-off-by: Fabio Berton <***@ossystems.com.br>
---
recipes-bsp/u-boot/u-boot-toradex.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/u-boot/u-boot-toradex.inc b/recipes-bsp/u-boot/u-boot-toradex.inc
index a9c8f99..67e9976 100644
--- a/recipes-bsp/u-boot/u-boot-toradex.inc
+++ b/recipes-bsp/u-boot/u-boot-toradex.inc
@@ -10,12 +10,12 @@ SUMMARY = "U-Boot bootloader with support for Toradex Computer on Modules"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"

-DEPENDS_append = " dtc-145-native"
-
PROVIDES += "u-boot"

SRC_URI = "git://git.toradex.com/u-boot-toradex.git;branch=${SRCBRANCH}"

S = "${WORKDIR}/git"

+inherit dtc-145
+
PACKAGE_ARCH = "${MACHINE_ARCH}"
--
2.18.0

--
Max Krummenacher
2018-07-31 17:52:40 UTC
Permalink
Hi Fabio

Thanks for the patch. One thing less on my todo list!

Regards
Max
Post by Fabio Berton
commit 040e4f031f2dc581c48253405da9036def035b68 (HEAD -> dev,
ssh-push/master-next, ssh-push/master)
Date: Mon Jul 23 22:13:19 2018 +0200
dtc-145: Deploy renamed binary only and add new class
dtc-145-native is used by older U-Boot recipes. U-Boot only depends on
the native dtc binary. So, to not clash with files from the regular dtc native
build do only install the dtc binary renamed to dtc-145. Also, create
a new class to handle with dtc-145 dependency.
---
recipes-bsp/u-boot/u-boot-toradex.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes-bsp/u-boot/u-boot-toradex.inc
b/recipes-bsp/u-boot/u-boot-toradex.inc
index a9c8f99..67e9976 100644
--- a/recipes-bsp/u-boot/u-boot-toradex.inc
+++ b/recipes-bsp/u-boot/u-boot-toradex.inc
@@ -10,12 +10,12 @@ SUMMARY = "U-Boot bootloader with support for Toradex
Computer on Modules"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=
a2c678cfd4a4d97135585cad908541c6"
-DEPENDS_append = " dtc-145-native"
-
PROVIDES += "u-boot"
SRC_URI = "git://git.toradex.com/u-boot-toradex.git;branch=${SRCBRANCH}"
S = "${WORKDIR}/git"
+inherit dtc-145
+
PACKAGE_ARCH = "${MACHINE_ARCH}"
--
2.18.0
--
_______________________________________________
meta-freescale mailing list
https://lists.yoctoproject.org/listinfo/meta-freescale
Loading...