All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] starterware: add starterware for linux which installs header files only
@ 2017-08-30 22:50 Hongmei Gou
  2017-08-31 23:28 ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Hongmei Gou @ 2017-08-30 22:50 UTC (permalink / raw)
  To: meta-ti; +Cc: Hongmei Gou

* starterware.inc is created to host the common information

Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
 recipes-bsp/starterware/starterware-rtos_git.bb | 22 ++--------------------
 recipes-bsp/starterware/starterware.inc         | 21 +++++++++++++++++++++
 recipes-bsp/starterware/starterware_git.bb      | 16 ++++++++++++++++
 3 files changed, 39 insertions(+), 20 deletions(-)
 create mode 100644 recipes-bsp/starterware/starterware.inc
 create mode 100644 recipes-bsp/starterware/starterware_git.bb

diff --git a/recipes-bsp/starterware/starterware-rtos_git.bb b/recipes-bsp/starterware/starterware-rtos_git.bb
index 5584cb2..88176bb 100644
--- a/recipes-bsp/starterware/starterware-rtos_git.bb
+++ b/recipes-bsp/starterware/starterware-rtos_git.bb
@@ -1,28 +1,10 @@
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
+require starterware.inc
 
-COMPATIBLE_MACHINE = "ti33x|ti43x"
 DEPENDS = "gcc-arm-none-eabi-native"
 
 require recipes-ti/includes/ti-paths.inc
 
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
-STARTERWARE_GIT_PROTOCOL = "git"
-STARTERWARE_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.03A"
-STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144"
-
-BRANCH = "${STARTERWARE_GIT_BRANCH}"
-SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${STARTERWARE_SRCREV}"
-PV = "02.01.01.03A"
-PR = "r0"
-
-S = "${WORKDIR}/git"
+PR = "${INC_PR}.0"
 
 PARTNO_ti33x = "am335x"
 PARTNO_ti43x = "am437x"
diff --git a/recipes-bsp/starterware/starterware.inc b/recipes-bsp/starterware/starterware.inc
new file mode 100644
index 0000000..c5d7655
--- /dev/null
+++ b/recipes-bsp/starterware/starterware.inc
@@ -0,0 +1,21 @@
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
+STARTERWARE_GIT_PROTOCOL = "git"
+STARTERWARE_GIT_BRANCH = "master"
+
+# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.03A"
+STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144"
+
+BRANCH = "${STARTERWARE_GIT_BRANCH}"
+SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
+
+SRCREV = "${STARTERWARE_SRCREV}"
+PV = "02.01.01.03A"
+INC_PR = "r0"
+
+S = "${WORKDIR}/git"
diff --git a/recipes-bsp/starterware/starterware_git.bb b/recipes-bsp/starterware/starterware_git.bb
new file mode 100644
index 0000000..d0c4396
--- /dev/null
+++ b/recipes-bsp/starterware/starterware_git.bb
@@ -0,0 +1,16 @@
+require starterware.inc
+
+PR = "${INC_PR}.0"
+
+ALLOW_EMPTY_${PN} = "1"
+
+CLEANBROKEN = "1"
+
+do_compile() {
+    :
+}
+
+do_install () {
+    install -d ${D}${includedir}/ti/starterware
+    find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/starterware
+}
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] starterware: add starterware for linux which installs header files only
  2017-08-30 22:50 [PATCH] starterware: add starterware for linux which installs header files only Hongmei Gou
@ 2017-08-31 23:28 ` Denys Dmytriyenko
  2017-09-01 15:48   ` Gou, Hongmei
  0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2017-08-31 23:28 UTC (permalink / raw)
  To: Hongmei Gou; +Cc: meta-ti

On Wed, Aug 30, 2017 at 06:50:10PM -0400, Hongmei Gou wrote:
> * starterware.inc is created to host the common information
> 
> Signed-off-by: Hongmei Gou <a0271529@ti.com>
> ---
>  recipes-bsp/starterware/starterware-rtos_git.bb | 22 ++--------------------
>  recipes-bsp/starterware/starterware.inc         | 21 +++++++++++++++++++++
>  recipes-bsp/starterware/starterware_git.bb      | 16 ++++++++++++++++
>  3 files changed, 39 insertions(+), 20 deletions(-)
>  create mode 100644 recipes-bsp/starterware/starterware.inc
>  create mode 100644 recipes-bsp/starterware/starterware_git.bb
> 
> diff --git a/recipes-bsp/starterware/starterware-rtos_git.bb b/recipes-bsp/starterware/starterware-rtos_git.bb
> index 5584cb2..88176bb 100644
> --- a/recipes-bsp/starterware/starterware-rtos_git.bb
> +++ b/recipes-bsp/starterware/starterware-rtos_git.bb
> @@ -1,28 +1,10 @@
> -LICENSE = "BSD-3-Clause"
> -LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
> +require starterware.inc
>  
> -COMPATIBLE_MACHINE = "ti33x|ti43x"
>  DEPENDS = "gcc-arm-none-eabi-native"
>  
>  require recipes-ti/includes/ti-paths.inc
>  
> -PACKAGE_ARCH = "${MACHINE_ARCH}"
> -
> -STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
> -STARTERWARE_GIT_PROTOCOL = "git"
> -STARTERWARE_GIT_BRANCH = "master"
> -
> -# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.03A"
> -STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144"
> -
> -BRANCH = "${STARTERWARE_GIT_BRANCH}"
> -SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
> -
> -SRCREV = "${STARTERWARE_SRCREV}"
> -PV = "02.01.01.03A"
> -PR = "r0"
> -
> -S = "${WORKDIR}/git"
> +PR = "${INC_PR}.0"
>  
>  PARTNO_ti33x = "am335x"
>  PARTNO_ti43x = "am437x"
> diff --git a/recipes-bsp/starterware/starterware.inc b/recipes-bsp/starterware/starterware.inc
> new file mode 100644
> index 0000000..c5d7655
> --- /dev/null
> +++ b/recipes-bsp/starterware/starterware.inc
> @@ -0,0 +1,21 @@
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
> +
> +COMPATIBLE_MACHINE = "ti33x|ti43x"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
> +STARTERWARE_GIT_PROTOCOL = "git"
> +STARTERWARE_GIT_BRANCH = "master"
> +
> +# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.03A"
> +STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144"
> +
> +BRANCH = "${STARTERWARE_GIT_BRANCH}"
> +SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
> +
> +SRCREV = "${STARTERWARE_SRCREV}"
> +PV = "02.01.01.03A"
> +INC_PR = "r0"
> +
> +S = "${WORKDIR}/git"
> diff --git a/recipes-bsp/starterware/starterware_git.bb b/recipes-bsp/starterware/starterware_git.bb
> new file mode 100644
> index 0000000..d0c4396
> --- /dev/null
> +++ b/recipes-bsp/starterware/starterware_git.bb
> @@ -0,0 +1,16 @@
> +require starterware.inc
> +
> +PR = "${INC_PR}.0"
> +
> +ALLOW_EMPTY_${PN} = "1"
> +
> +CLEANBROKEN = "1"
> +
> +do_compile() {
> +    :
> +}
> +
> +do_install () {
> +    install -d ${D}${includedir}/ti/starterware
> +    find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/starterware

Please pass --no-preserve=ownership to avoid host contamination warnings.


> +}
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] starterware: add starterware for linux which installs header files only
  2017-08-31 23:28 ` Denys Dmytriyenko
@ 2017-09-01 15:48   ` Gou, Hongmei
  0 siblings, 0 replies; 3+ messages in thread
From: Gou, Hongmei @ 2017-09-01 15:48 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-ti

Thanks Denys. The v2 patch has been submitted.

> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Thursday, August 31, 2017 7:28 PM
> To: Gou, Hongmei
> Cc: meta-ti@yoctoproject.org
> Subject: Re: [meta-ti] [PATCH] starterware: add starterware for linux which
> installs header files only
> 
> On Wed, Aug 30, 2017 at 06:50:10PM -0400, Hongmei Gou wrote:
> > * starterware.inc is created to host the common information
> >
> > Signed-off-by: Hongmei Gou <a0271529@ti.com>
> > ---
> >  recipes-bsp/starterware/starterware-rtos_git.bb | 22 ++--------------------
> >  recipes-bsp/starterware/starterware.inc         | 21
> +++++++++++++++++++++
> >  recipes-bsp/starterware/starterware_git.bb      | 16 ++++++++++++++++
> >  3 files changed, 39 insertions(+), 20 deletions(-)  create mode
> > 100644 recipes-bsp/starterware/starterware.inc
> >  create mode 100644 recipes-bsp/starterware/starterware_git.bb
> >
> > diff --git a/recipes-bsp/starterware/starterware-rtos_git.bb
> > b/recipes-bsp/starterware/starterware-rtos_git.bb
> > index 5584cb2..88176bb 100644
> > --- a/recipes-bsp/starterware/starterware-rtos_git.bb
> > +++ b/recipes-bsp/starterware/starterware-rtos_git.bb
> > @@ -1,28 +1,10 @@
> > -LICENSE = "BSD-3-Clause"
> > -LIC_FILES_CHKSUM =
> "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff
> 969b3"
> > +require starterware.inc
> >
> > -COMPATIBLE_MACHINE = "ti33x|ti43x"
> >  DEPENDS = "gcc-arm-none-eabi-native"
> >
> >  require recipes-ti/includes/ti-paths.inc
> >
> > -PACKAGE_ARCH = "${MACHINE_ARCH}"
> > -
> > -STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
> > -STARTERWARE_GIT_PROTOCOL = "git"
> > -STARTERWARE_GIT_BRANCH = "master"
> > -
> > -# Below commit ID corresponds to
> "DEV.STARTERWARE.PROCSDK.02.01.01.03A"
> > -STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144"
> > -
> > -BRANCH = "${STARTERWARE_GIT_BRANCH}"
> > -SRC_URI =
> "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};bra
> nch=${BRANCH}"
> > -
> > -SRCREV = "${STARTERWARE_SRCREV}"
> > -PV = "02.01.01.03A"
> > -PR = "r0"
> > -
> > -S = "${WORKDIR}/git"
> > +PR = "${INC_PR}.0"
> >
> >  PARTNO_ti33x = "am335x"
> >  PARTNO_ti43x = "am437x"
> > diff --git a/recipes-bsp/starterware/starterware.inc
> > b/recipes-bsp/starterware/starterware.inc
> > new file mode 100644
> > index 0000000..c5d7655
> > --- /dev/null
> > +++ b/recipes-bsp/starterware/starterware.inc
> > @@ -0,0 +1,21 @@
> > +LICENSE = "BSD-3-Clause"
> > +LIC_FILES_CHKSUM =
> "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff
> 969b3"
> > +
> > +COMPATIBLE_MACHINE = "ti33x|ti43x"
> > +PACKAGE_ARCH = "${MACHINE_ARCH}"
> > +
> > +STARTERWARE_GIT_URI = "git://git.ti.com/keystone-
> rtos/starterware.git"
> > +STARTERWARE_GIT_PROTOCOL = "git"
> > +STARTERWARE_GIT_BRANCH = "master"
> > +
> > +# Below commit ID corresponds to
> "DEV.STARTERWARE.PROCSDK.02.01.01.03A"
> > +STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144"
> > +
> > +BRANCH = "${STARTERWARE_GIT_BRANCH}"
> > +SRC_URI =
> "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};bra
> nch=${BRANCH}"
> > +
> > +SRCREV = "${STARTERWARE_SRCREV}"
> > +PV = "02.01.01.03A"
> > +INC_PR = "r0"
> > +
> > +S = "${WORKDIR}/git"
> > diff --git a/recipes-bsp/starterware/starterware_git.bb
> > b/recipes-bsp/starterware/starterware_git.bb
> > new file mode 100644
> > index 0000000..d0c4396
> > --- /dev/null
> > +++ b/recipes-bsp/starterware/starterware_git.bb
> > @@ -0,0 +1,16 @@
> > +require starterware.inc
> > +
> > +PR = "${INC_PR}.0"
> > +
> > +ALLOW_EMPTY_${PN} = "1"
> > +
> > +CLEANBROKEN = "1"
> > +
> > +do_compile() {
> > +    :
> > +}
> > +
> > +do_install () {
> > +    install -d ${D}${includedir}/ti/starterware
> > +    find . -name "*.h" -type f | xargs -I {} cp --parents {}
> > +${D}${includedir}/ti/starterware
> 
> Please pass --no-preserve=ownership to avoid host contamination warnings.
> 
> 
> > +}
> > --
> > 1.9.1
> >
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-01 15:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-30 22:50 [PATCH] starterware: add starterware for linux which installs header files only Hongmei Gou
2017-08-31 23:28 ` Denys Dmytriyenko
2017-09-01 15:48   ` Gou, Hongmei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.