diff mbox series

[master,02/12] meta-beagle: create a separate layer for Beagle platforms

Message ID 20241213233203.2688541-2-denis@denix.org
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series [master,01/12] conf/machine: rename beagleplay machine to beagleplay-ti | expand

Commit Message

Denys Dmytriyenko Dec. 13, 2024, 11:31 p.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

The new meta-beagle will host all supported Beagle platforms that
use TI SoCs and hence need to depend on meta-ti-bsp. The default
BSP for the platforms in this layer will use BeagleBoard.org
official trees for the Linux kernel and U-boot.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
No changes since RFC v2

 meta-beagle/COPYING.MIT     | 17 +++++++++++++++++
 meta-beagle/README          | 31 +++++++++++++++++++++++++++++++
 meta-beagle/conf/layer.conf | 15 +++++++++++++++
 3 files changed, 63 insertions(+)
 create mode 100644 meta-beagle/COPYING.MIT
 create mode 100644 meta-beagle/README
 create mode 100644 meta-beagle/conf/layer.conf

Comments

Chirag Shilwant Dec. 14, 2024, 4:51 p.m. UTC | #1
Hi,
On 14/12/24 05:01, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ konsulko. com> The new meta-beagle 
> will host all supported Beagle platforms that use TI SoCs and hence 
> need to depend on meta-ti-bsp. The default BSP for the platforms in 
> this layer will use BeagleBoard. org
> ZjQcmQRYFpfptBannerStart
> This message was sent from outside of Texas Instruments.
> Do not click links or open attachments unless you recognize the source 
> of this email and know the content is safe.
> Report Suspicious
> <https://us-phishalarm-ewt.proofpoint.com/EWT/v1/G3vK!ufdqXRfP9k1bCmYkXLPD3ATrhRc7Be5DbmTnaLnS8xxeYocqHQyCy2XTbJFbsgivVj4p5MY__7pc49O-GExEG28$> 
>
> ZjQcmQRYFpfptBannerEnd
> From: Denys Dmytriyenko <denys@konsulko.com>
>
> The new meta-beagle will host all supported Beagle platforms that
> use TI SoCs and hence need to depend on meta-ti-bsp. The default
> BSP for the platforms in this layer will use BeagleBoard.org
> official trees for the Linux kernel and U-boot.
>
> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
> ---
> No changes since RFC v2
>
>   meta-beagle/COPYING.MIT     | 17 +++++++++++++++++
>   meta-beagle/README          | 31 +++++++++++++++++++++++++++++++
>   meta-beagle/conf/layer.conf | 15 +++++++++++++++
>   3 files changed, 63 insertions(+)
>   create mode 100644 meta-beagle/COPYING.MIT
>   create mode 100644 meta-beagle/README
>   create mode 100644 meta-beagle/conf/layer.conf
>
> diff --git a/meta-beagle/COPYING.MIT b/meta-beagle/COPYING.MIT
> new file mode 100644
> index 00000000..fb950dc6
> --- /dev/null
> +++ b/meta-beagle/COPYING.MIT
> @@ -0,0 +1,17 @@
> +Permission is hereby granted, free of charge, to any person obtaining a copy
> +of this software and associated documentation files (the "Software"), to deal
> +in the Software without restriction, including without limitation the rights
> +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> +copies of the Software, and to permit persons to whom the Software is
> +furnished to do so, subject to the following conditions:
> +
> +The above copyright notice and this permission notice shall be included in
> +all copies or substantial portions of the Software.
> +
> +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> +THE SOFTWARE.
> diff --git a/meta-beagle/README b/meta-beagle/README
> new file mode 100644
> index 00000000..a17e6433
> --- /dev/null
> +++ b/meta-beagle/README
> @@ -0,0 +1,31 @@
> +OpenEmbedded/Yocto layer that extends meta-ti-bsp with BeagleBoard.org platforms.
> +
> +It is hosted onhttps://urldefense.com/v3/__http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/__;!!G3vK!RhFrAwBeZ-rhgX8UUzKDKFZWCjt8EgyDSOEvMH19rE9tSx7bNrv6nsj6btyl-t_sTzXbUOdQ0PkI$  with the
> +source repository at git://git.yoctoproject.org/meta-ti
> +
> +
> +This layer depends on:
> +
> +URI: git://git.openembedded.org/openembedded-core
> +layers: meta
> +branch: master
> +
> +URI: git://git.yoctoproject.org/meta-arm
> +layers: meta-arm
> +branch: master
> +
> +URI: git://git.yoctoproject.org/meta-ti
> +branch: master
> +revision: HEAD
> +layers: meta-ti-bsp
> +
> +
> +Send pull requests, patches, comments or questions to:
> +meta-ti@lists.yoctoproject.org
> +
> +Please note - meta-ti mailing list requires subscription for posting:
> +https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-ti__;!!G3vK!RhFrAwBeZ-rhgX8UUzKDKFZWCjt8EgyDSOEvMH19rE9tSx7bNrv6nsj6btyl-t_sTzXbUJK9gxQT$
> +
> +Maintainers:
> +Denys Dmytriyenko <denys@konsulko.com>
> +Ryan Eatmon <reatmon@ti.com>
> diff --git a/meta-beagle/conf/layer.conf b/meta-beagle/conf/layer.conf
> new file mode 100644
> index 00000000..df6a77ed
> --- /dev/null
> +++ b/meta-beagle/conf/layer.conf
> @@ -0,0 +1,15 @@
> +# We have a conf and classes directory, append to BBPATH
> +BBPATH .= ":${LAYERDIR}"
> +
> +# We have a recipes directory, add to BBFILES
> +BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
> +
> +BBFILE_COLLECTIONS += "meta-beagle"
> +BBFILE_PATTERN_meta-beagle := "^${LAYERDIR}/"
> +BBFILE_PRIORITY_meta-beagle = "6"
> +
> +LAYERSERIES_COMPAT_meta-beagle = "scarthgap styhead walnascar"



Post [1], LAYERSERIES_COMPAT_meta-beagle shouldn't have scarthgap
in meta-ti:master since this sublayer has a hard dependency on 
meta-ti-bsp via LAYERDEPENDS & meta-ti-bsp has dropped scarthgap
from LAYERSERIES_COMPAT in master


[1]: 
https://git.yoctoproject.org/meta-ti/commit/?id=70c21b00dc9a095dbc11bb40142703a8e9d01209

---
Chirag



> +
> +LAYERDEPENDS_meta-beagle = " \
> +    meta-ti-bsp \
> +"
> -- 
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#18110): https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-ti/message/18110__;!!G3vK!RhFrAwBeZ-rhgX8UUzKDKFZWCjt8EgyDSOEvMH19rE9tSx7bNrv6nsj6btyl-t_sTzXbUCVDLogc$
> Mute This Topic: https://urldefense.com/v3/__https://lists.yoctoproject.org/mt/110107251/7030289__;!!G3vK!RhFrAwBeZ-rhgX8UUzKDKFZWCjt8EgyDSOEvMH19rE9tSx7bNrv6nsj6btyl-t_sTzXbUPUANrXt$
> Group Owner: meta-ti+owner@lists.yoctoproject.org
> Unsubscribe: https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-ti/unsub__;!!G3vK!RhFrAwBeZ-rhgX8UUzKDKFZWCjt8EgyDSOEvMH19rE9tSx7bNrv6nsj6btyl-t_sTzXbUF5PWjrl$  [c-shilwant@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Denys Dmytriyenko Dec. 14, 2024, 8:06 p.m. UTC | #2
On Sat, Dec 14, 2024 at 10:21:25PM +0530, Chirag Shilwant wrote:
> Hi,
> >diff --git a/meta-beagle/conf/layer.conf b/meta-beagle/conf/layer.conf
> >new file mode 100644
> >index 00000000..df6a77ed
> >--- /dev/null
> >+++ b/meta-beagle/conf/layer.conf
> >@@ -0,0 +1,15 @@
> >+# We have a conf and classes directory, append to BBPATH
> >+BBPATH .= ":${LAYERDIR}"
> >+
> >+# We have a recipes directory, add to BBFILES
> >+BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
> >+
> >+BBFILE_COLLECTIONS += "meta-beagle"
> >+BBFILE_PATTERN_meta-beagle := "^${LAYERDIR}/"
> >+BBFILE_PRIORITY_meta-beagle = "6"
> >+
> >+LAYERSERIES_COMPAT_meta-beagle = "scarthgap styhead walnascar"
> 
> Post [1], LAYERSERIES_COMPAT_meta-beagle shouldn't have scarthgap
> in meta-ti:master since this sublayer has a hard dependency on
> meta-ti-bsp via LAYERDEPENDS & meta-ti-bsp has dropped scarthgap
> from LAYERSERIES_COMPAT in master

v2 posted.
diff mbox series

Patch

diff --git a/meta-beagle/COPYING.MIT b/meta-beagle/COPYING.MIT
new file mode 100644
index 00000000..fb950dc6
--- /dev/null
+++ b/meta-beagle/COPYING.MIT
@@ -0,0 +1,17 @@ 
+Permission is hereby granted, free of charge, to any person obtaining a copy 
+of this software and associated documentation files (the "Software"), to deal 
+in the Software without restriction, including without limitation the rights 
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
+copies of the Software, and to permit persons to whom the Software is 
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in 
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
+THE SOFTWARE.
diff --git a/meta-beagle/README b/meta-beagle/README
new file mode 100644
index 00000000..a17e6433
--- /dev/null
+++ b/meta-beagle/README
@@ -0,0 +1,31 @@ 
+OpenEmbedded/Yocto layer that extends meta-ti-bsp with BeagleBoard.org platforms.
+
+It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the
+source repository at git://git.yoctoproject.org/meta-ti
+
+
+This layer depends on:
+
+URI: git://git.openembedded.org/openembedded-core
+layers: meta
+branch: master
+
+URI: git://git.yoctoproject.org/meta-arm
+layers: meta-arm
+branch: master
+
+URI: git://git.yoctoproject.org/meta-ti
+branch: master
+revision: HEAD
+layers: meta-ti-bsp
+
+
+Send pull requests, patches, comments or questions to:
+meta-ti@lists.yoctoproject.org
+
+Please note - meta-ti mailing list requires subscription for posting:
+https://lists.yoctoproject.org/g/meta-ti
+
+Maintainers:
+Denys Dmytriyenko <denys@konsulko.com>
+Ryan Eatmon <reatmon@ti.com>
diff --git a/meta-beagle/conf/layer.conf b/meta-beagle/conf/layer.conf
new file mode 100644
index 00000000..df6a77ed
--- /dev/null
+++ b/meta-beagle/conf/layer.conf
@@ -0,0 +1,15 @@ 
+# We have a conf and classes directory, append to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have a recipes directory, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "meta-beagle"
+BBFILE_PATTERN_meta-beagle := "^${LAYERDIR}/"
+BBFILE_PRIORITY_meta-beagle = "6"
+
+LAYERSERIES_COMPAT_meta-beagle = "scarthgap styhead walnascar"
+
+LAYERDEPENDS_meta-beagle = " \
+    meta-ti-bsp \
+"