Skip to content

Commit

Permalink
feat: Tegra: refactor into subdirectory
Browse files Browse the repository at this point in the history
The current layer is compatible with Jetpack 4, which
correlates with the L4T 32.x release family. A number of
boards are supported on this, for example
- Jetson TX2
- Jetson Nano
- ...
The newer release family Jetpack 5 correlating with L4T 35.x
introduces a number of breaking changes which cannot be folded
into the existing structure.
To prepare for the support of both families, this moves the
existing layer into a dedicated subdirectory, allowing additional
Tegra-specific layers to be added to the meta-mender-tegra
top level directory.

Changelog: Title
Ticket: None

Signed-off-by: Josef Holzmayr <jester@theyoctojester.info>
  • Loading branch information
TheYoctoJester committed Jul 18, 2023
1 parent fae5dbc commit 1862576
Show file tree
Hide file tree
Showing 65 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion kas/include/tegra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:

meta-mender-community:
layers:
meta-mender-tegra:
meta-mender-tegra/meta-mender-tegra-jetpack4:

local_conf_header:
tegra: |
Expand Down
12 changes: 0 additions & 12 deletions meta-mender-tegra/conf/layer.conf

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ This layer depends on:
```
URI: https://github.com/madisongh/meta-tegra.git
layers: meta-tegra
branch: dunfell-l4t-r32.4.3
branch: kirkstone-l4t-r32.4.3
revision: HEAD
```

```
URI: https://github.com/mendersoftware/meta-mender.git
layers: meta-mender-core
branch: dunfell
branch: kirkstone
revision: HEAD
```

Expand Down
12 changes: 12 additions & 0 deletions meta-mender-tegra/meta-mender-tegra-jetpack4/conf/layer.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "meta-mender-tegra-jetpack4"
BBFILE_PATTERN_meta-mender-tegra-jetpack4 = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-mender-tegra-jetpack4 = "10"
LAYERVERSION_meta-mender-tegra = "1"
LAYERSERIES_COMPAT_meta-mender-tegra-jetpack4 = "kirkstone"
LAYERDEPENDS_meta-mender-tegra-jetpack4 = "tegra"
File renamed without changes.

0 comments on commit 1862576

Please sign in to comment.