Skip to contentSkip to conversation

ti-xdais: Move LIC_FILES_CHKSUM into recipe.

PATCH In review Jacob Stiffler 3 participants 12 messages May 8, 2015 – Jun 1, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ti-xdais: Move LIC_FILES_CHKSUM into recipe.

* This is version specific, so it should not be in a version-agnostic include file.

---
 recipes-ti/xdais/ti-xdais.inc           |    7 +------
 recipes-ti/xdais/ti-xdais_6.26.01.03.bb |    3 +++
 2 files changed, 4 insertions(+), 6 deletions(-)
recipes-ti/xdais/ti-xdais.inc +1 -6
index 9514ce6..2e7eb13 100644
@@ -3,13 +3,9 @@ HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/x
 LICENSE = "GPLv2"
 SECTION = "devel"
 
-LIC_FILES_CHKSUM = "file://xdais_6_26_01_03_manifest.html;md5=a5a675d49db2f658bb98746ec80cda4e"
-
 require ../includes/ti-paths.inc
 require ../includes/ti-staging.inc
 
-PR = "r1"
-
 S = "${WORKDIR}/xdais_${PV}"
 
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/xdais/${PV}/exports/xdais_${PV}.tar.gz;name=xdaistarball"
@@ -17,5 +13,4 @@ SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/xd
 do_install() {
     install -d ${D}${XDAIS_INSTALL_DIR_RECIPE}
     cp -pPrf ${S}/* ${D}${XDAIS_INSTALL_DIR_RECIPE}
-} 
-
+}
recipes-ti/xdais/ti-xdais_6.26.01.03.bb +3 -0
index 0451b2d..3d35863 100644
@@ -1,6 +1,9 @@
 require ti-xdais.inc
 
 PV = "6_26_01_03"
+PR = "r1"
+
+LIC_FILES_CHKSUM = "file://xdais_6_26_01_03_manifest.html;md5=a5a675d49db2f658bb98746ec80cda4e"
 
 SRC_URI[xdaistarball.md5sum] = "9b2bea3408254e737ec0d819a031adf6"
 SRC_URI[xdaistarball.sha256sum] = "d7bcbd8bcfe6fdfc5f402e4b125ced6c806dc30bc5296e98d5d43b0b5a237a0d"
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 2/2 ti-xdais: Add version 7.24.00.04

---
 recipes-ti/xdais/ti-xdais_7.24.00.04.bb |   10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 recipes-ti/xdais/ti-xdais_7.24.00.04.bb
recipes-ti/xdais/ti-xdais_7.24.00.04.bb new file +10 -0
new file mode 100644
index 0000000..0f27514
@@ -0,0 +1,10 @@
+require ti-xdais.inc
+
+PV = "7_24_00_04"
+
+LIC_FILES_CHKSUM = "file://xdais_7_24_00_04_Manifest.html;md5=fd16442230745f0877cfe1c622669fd6"
+
+SRC_URI[xdaistarball.md5sum] = "f7514085b531f2ae49b37b30194e4989"
+SRC_URI[xdaistarball.sha256sum] = "79fd30377ab4c497292aeefb0565f81703d9020d1242b02ca9968c561e0de9a1"
+
+INSANE_SKIP_${PN} = "installed-vs-shipped"
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [PATCH 2/2] ti-xdais: Add version 7.24.00.04

Quoted 4 lines · Jacob Stiffler

+INSANE_SKIP_${PN} = "installed-vs-shipped"

can this be fixed instead ?

#3 lore raw

Re: [PATCH 2/2] ti-xdais: Add version 7.24.00.04

I was following the precedent set by existing RTOS packages (See recipes-ti/xdais/ti-xdais_6.26.01.03.bb).

These RTOS packages are build only dependencies, and they do not get installed into the target filesystem. They are primarily used for building firmware.

Quoted 4 lines · Khem Raj
Quoted 3 lines · Jacob Stiffler

+INSANE_SKIP_${PN} = "installed-vs-shipped"

can this be fixed instead ?

#4 lore raw

Re: [PATCH 2/2] ti-xdais: Add version 7.24.00.04

Quoted 6 lines · Jacob Stiffler

I was following the precedent set by existing RTOS packages (See recipes-ti/xdais/ti-xdais_6.26.01.03.bb).

These RTOS packages are build only dependencies, and they do not get installed into the target filesystem. They are primarily used for building firmware.

Should they be "-native" then?

Quoted 11 lines · Khem Raj
Quoted 4 lines
Quoted 3 lines · Jacob Stiffler

+INSANE_SKIP_${PN} = "installed-vs-shipped"

can this be fixed instead ?

Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#5 lore raw

Re: [PATCH 2/2] ti-xdais: Add version 7.24.00.04

Quoted 9 lines · Denys Dmytriyenko
Quoted 6 lines · Jacob Stiffler

I was following the precedent set by existing RTOS packages (See recipes-ti/xdais/ti-xdais_6.26.01.03.bb).

These RTOS packages are build only dependencies, and they do not get installed into the target filesystem. They are primarily used for building firmware.

Should they be "-native" then?

I suppose they should be, but this is how is was done before.

If you look at recipes-ti/includes/ti-paths.inc, you'll see that all paths point into STAGING_DIR_TARGET

Quoted 10 lines
Quoted 10 lines · Khem Raj
Quoted 4 lines
Quoted 3 lines · Jacob Stiffler

+INSANE_SKIP_${PN} = "installed-vs-shipped"

can this be fixed instead ?

Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#6 lore raw

Re: [PATCH 2/2] ti-xdais: Add version 7.24.00.04

Quoted 10 lines · Jacob Stiffler
Quoted 7 lines · Denys Dmytriyenko
Quoted 6 lines · Jacob Stiffler

I was following the precedent set by existing RTOS packages (See recipes-ti/xdais/ti-xdais_6.26.01.03.bb).

These RTOS packages are build only dependencies, and they do not get installed into the target filesystem. They are primarily used for building firmware.

Quoted 6 lines
Quoted 2 lines

Should they be "-native" then?

I suppose they should be, but this is how is was done before.

If you look at recipes-ti/includes/ti-paths.inc, you'll see that all paths point into STAGING_DIR_TARGET

Ok, we may end up doing this on the target at some point.
Can we simply FILES_${PN} += "*" to pick up everything installed and shove it into the package? That way we won't need INSANE_SKIP and the build deps can be used on the target in the future...

Quoted 11 lines
Quoted 10 lines
Quoted 10 lines · Khem Raj
Quoted 4 lines
Quoted 3 lines · Jacob Stiffler

+INSANE_SKIP_${PN} = "installed-vs-shipped"

can this be fixed instead ?

Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#7 lore raw

Re: [PATCH 2/2] ti-xdais: Add version 7.24.00.04

Quoted 12 lines · Denys Dmytriyenko
Quoted 11 lines · Jacob Stiffler
Quoted 9 lines · Denys Dmytriyenko
Quoted 6 lines · Jacob Stiffler

I was following the precedent set by existing RTOS packages (See recipes-ti/xdais/ti-xdais_6.26.01.03.bb).

These RTOS packages are build only dependencies, and they do not get installed into the target filesystem. They are primarily used for building firmware.

Should they be "-native" then?

Quoted 9 lines
Quoted 4 lines

I suppose they should be, but this is how is was done before.

If you look at recipes-ti/includes/ti-paths.inc, you'll see that all paths point into STAGING_DIR_TARGET

Ok, we may end up doing this on the target at some point.
Can we simply FILES_${PN} += "*" to pick up everything installed and shove it into the package? That way we won't need INSANE_SKIP and the build deps can be used on the target in the future...

Adding all of these files to the ${PN} package causes them to be pulled into the filesystem. Should these instead go into the ${PN}-dev package (they are purely development files), and then ALLOW_EMPTY_${PN} = "1"?

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines · Khem Raj
Quoted 4 lines
Quoted 3 lines · Jacob Stiffler

+INSANE_SKIP_${PN} = "installed-vs-shipped"

can this be fixed instead ?

Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#8 lore raw

Re: [PATCH 2/2] ti-xdais: Add version 7.24.00.04

Quoted 19 lines · Jacob Stiffler
Quoted 16 lines · Denys Dmytriyenko
Quoted 15 lines · Jacob Stiffler
Quoted 9 lines · Denys Dmytriyenko
Quoted 6 lines · Jacob Stiffler

I was following the precedent set by existing RTOS packages (See recipes-ti/xdais/ti-xdais_6.26.01.03.bb).

These RTOS packages are build only dependencies, and they do not get installed into the target filesystem. They are primarily used for building firmware.

Should they be "-native" then?

I suppose they should be, but this is how is was done before.

If you look at recipes-ti/includes/ti-paths.inc, you'll see that all paths point into STAGING_DIR_TARGET

Quoted 8 lines
Quoted 5 lines

Ok, we may end up doing this on the target at some point.
Can we simply FILES_${PN} += "*" to pick up everything installed and shove it into the package? That way we won't need INSANE_SKIP and the build deps can be used on the target in the future...

Adding all of these files to the ${PN} package causes them to be pulled into the filesystem. Should these instead go into the ${PN}-dev package (they are purely development files), and then ALLOW_EMPTY_${PN} = "1"?

Just looked more into this... It got pulled in because I was including a dev package in the filesystem.

Quoted 11 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines · Khem Raj
Quoted 4 lines
Quoted 3 lines · Jacob Stiffler

+INSANE_SKIP_${PN} = "installed-vs-shipped"

can this be fixed instead ?

Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#9 lore raw

Re: [PATCH 2/2] ti-xdais: Add version 7.24.00.04

In reply to Jacob Stiffler
Quoted 25 lines · Jacob Stiffler
Quoted 12 lines · Denys Dmytriyenko
Quoted 11 lines · Jacob Stiffler
Quoted 9 lines · Denys Dmytriyenko
Quoted 6 lines · Jacob Stiffler

I was following the precedent set by existing RTOS packages (See recipes-ti/xdais/ti-xdais_6.26.01.03.bb).

These RTOS packages are build only dependencies, and they do not get installed into the target filesystem. They are primarily used for building firmware.

Should they be "-native" then?

Quoted 9 lines
Quoted 4 lines

I suppose they should be, but this is how is was done before.

If you look at recipes-ti/includes/ti-paths.inc, you'll see that all paths point into STAGING_DIR_TARGET

Ok, we may end up doing this on the target at some point.
Can we simply FILES_${PN} += "*" to pick up everything installed and shove it into the package? That way we won't need INSANE_SKIP and the build deps can be used on the target in the future...

Quoted 4 lines

Adding all of these files to the ${PN} package causes them to be pulled into the filesystem. Should these instead go into the ${PN}-dev package (they are purely development files), and then ALLOW_EMPTY_${PN} = "1"?

Actually, that's a good idea. Should we modify other recipes similarly, when they only provide build dependencies for DSP?

Quoted 11 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines · Khem Raj
Quoted 4 lines
Quoted 3 lines · Jacob Stiffler

+INSANE_SKIP_${PN} = "installed-vs-shipped"

can this be fixed instead ?

Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#10 lore raw

Re: [PATCH 2/2] ti-xdais: Add version 7.24.00.04

Quoted 23 lines · Denys Dmytriyenko
Quoted 22 lines · Jacob Stiffler
Quoted 20 lines · Denys Dmytriyenko
Quoted 8 lines · Jacob Stiffler
Quoted 7 lines · Denys Dmytriyenko
Quoted 6 lines · Jacob Stiffler

I was following the precedent set by existing RTOS packages (See recipes-ti/xdais/ti-xdais_6.26.01.03.bb).

These RTOS packages are build only dependencies, and they do not get installed into the target filesystem. They are primarily used for building firmware.

Quoted 6 lines
Quoted 2 lines

Should they be "-native" then?

I suppose they should be, but this is how is was done before.

If you look at recipes-ti/includes/ti-paths.inc, you'll see that all paths point into STAGING_DIR_TARGET

Ok, we may end up doing this on the target at some point.
Can we simply FILES_${PN} += "*" to pick up everything installed and shove it into the package? That way we won't need INSANE_SKIP and the build deps can be used on the target in the future...

Quoted 7 lines
Quoted 4 lines

Adding all of these files to the ${PN} package causes them to be pulled into the filesystem. Should these instead go into the ${PN}-dev package (they are purely development files), and then ALLOW_EMPTY_${PN} = "1"?

Actually, that's a good idea. Should we modify other recipes similarly, when they only provide build dependencies for DSP?

It seems this would make the most sense.

Should I submit patches for the recently updated packages which would be effected? They are the following:
* ti-sysbios
* ti-xdais

I'm not sure about ti-xdctools since this includes xdc and other utilities.

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines · Khem Raj
Quoted 4 lines
Quoted 3 lines · Jacob Stiffler

+INSANE_SKIP_${PN} = "installed-vs-shipped"

can this be fixed instead ?

Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#11 lore raw

Re: [PATCH 2/2] ti-xdais: Add version 7.24.00.04

Quoted 34 lines · Jacob Stiffler
Quoted 23 lines · Denys Dmytriyenko
Quoted 22 lines · Jacob Stiffler
Quoted 20 lines · Denys Dmytriyenko
Quoted 8 lines · Jacob Stiffler
Quoted 7 lines · Denys Dmytriyenko
Quoted 6 lines · Jacob Stiffler

I was following the precedent set by existing RTOS packages (See recipes-ti/xdais/ti-xdais_6.26.01.03.bb).

These RTOS packages are build only dependencies, and they do not get installed into the target filesystem. They are primarily used for building firmware.

Quoted 6 lines
Quoted 2 lines

Should they be "-native" then?

I suppose they should be, but this is how is was done before.

If you look at recipes-ti/includes/ti-paths.inc, you'll see that all paths point into STAGING_DIR_TARGET

Ok, we may end up doing this on the target at some point.
Can we simply FILES_${PN} += "*" to pick up everything installed and shove it into the package? That way we won't need INSANE_SKIP and the build deps can be used on the target in the future...

Quoted 7 lines
Quoted 4 lines

Adding all of these files to the ${PN} package causes them to be pulled into the filesystem. Should these instead go into the ${PN}-dev package (they are purely development files), and then ALLOW_EMPTY_${PN} = "1"?

Actually, that's a good idea. Should we modify other recipes similarly, when they only provide build dependencies for DSP?

Quoted 6 lines

It seems this would make the most sense.

Should I submit patches for the recently updated packages which would be effected? They are the following:
* ti-sysbios
* ti-xdais

Let me push what I already have to not delay it any longer. Please send a followup patch to update FILES_${PN}-dev - could be a single patch across recipes. Thanks.

Quoted 13 lines

I'm not sure about ti-xdctools since this includes xdc and other utilities.

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines · Khem Raj
Quoted 4 lines
Quoted 3 lines · Jacob Stiffler

+INSANE_SKIP_${PN} = "installed-vs-shipped"

can this be fixed instead ?

Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti