diff mbox series

[meta-ti,scarthgap,02/13] meta-beagle: create a separate layer for Beagle platforms

Message ID 20241219215402.28324-3-reatmon@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series Add meta-beagle layer | expand

Commit Message

Ryan Eatmon Dec. 19, 2024, 9:53 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>
---
 {meta-ti-extras => meta-beagle}/COPYING.MIT | 24 ++++++++++-----------
 {meta-ti-extras => meta-beagle}/README      | 10 ++++-----
 meta-beagle/conf/layer.conf                 | 15 +++++++++++++
 3 files changed, 32 insertions(+), 17 deletions(-)
 copy {meta-ti-extras => meta-beagle}/COPYING.MIT (86%)
 copy {meta-ti-extras => meta-beagle}/README (82%)
 create mode 100644 meta-beagle/conf/layer.conf
diff mbox series

Patch

diff --git a/meta-ti-extras/COPYING.MIT b/meta-beagle/COPYING.MIT
similarity index 86%
copy from meta-ti-extras/COPYING.MIT
copy to meta-beagle/COPYING.MIT
index fb950dc6..89de3547 100644
--- a/meta-ti-extras/COPYING.MIT
+++ b/meta-beagle/COPYING.MIT
@@ -1,17 +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 
+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 
+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 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-ti-extras/README b/meta-beagle/README
similarity index 82%
copy from meta-ti-extras/README
copy to meta-beagle/README
index c6c058e0..a17e6433 100644
--- a/meta-ti-extras/README
+++ b/meta-beagle/README
@@ -1,4 +1,4 @@ 
-OpenEmbedded/Yocto layer that extends and supplements Texas Instruments BSP layer.
+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
@@ -8,14 +8,14 @@  This layer depends on:
 
 URI: git://git.openembedded.org/openembedded-core
 layers: meta
-branch: scarthgap
+branch: master
 
 URI: git://git.yoctoproject.org/meta-arm
 layers: meta-arm
-branch: scarthgap
+branch: master
 
 URI: git://git.yoctoproject.org/meta-ti
-branch: scarthgap
+branch: master
 revision: HEAD
 layers: meta-ti-bsp
 
@@ -27,5 +27,5 @@  Please note - meta-ti mailing list requires subscription for posting:
 https://lists.yoctoproject.org/g/meta-ti
 
 Maintainers:
-Ryan Eatmon <reatmon@ti.com>
 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..0dac4946
--- /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"
+
+LAYERDEPENDS_meta-beagle = " \
+    meta-ti-bsp \
+"