a simple beginning

This commit is contained in:
druppy committed 2024-11-15 22:22:19 +01:00
commit a38ffd09f4
5 files changed
+68

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
header:
version: 14
# The machine as it is written into the `local.conf` of bitbake.
machine: raspberrypi4-64
# The distro name as it is written into the `local.conf` of bitbake.
distro: poky
# The main target
target: rpilinux-image
repos:
meta-raspberrypi:
url: http://git.yoctoproject.org/git/meta-raspberrypi
path: extern/
tag: scarthgap
poky:
url: http://git.yoctoproject.org/git/poky
tag: scarthgap
path: extern/
layers:
meta:
meta-poky:
meta-yocto-bsp:
meta-openembedded:
url: git://git.openembedded.org/meta-openembedded
tag: scarthgap
path: extern/
layers:
meta-oe:
meta-multimedia:
meta-networking:
meta-python:
local:
path: meta-rpilinux
local_conf_header:
ipk: |
PACKAGE_CLASSES ?= "package_ipk"
PATCHRESOLVE = "noop"
+4
View File
@@ -0,0 +1,4 @@
build
extern
+7
View File
@@ -0,0 +1,7 @@
# Yocto build
Simply install kas using `pip install kas`, and run
```sh
kas build
```
+12
View File
@@ -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 += "rpilinux"
BBFILE_PATTERN_rpilinux = "^${LAYERDIR}/"
BBFILE_PRIORITY_rpilinux = "6"
LAYERSERIES_COMPAT_rpilinux="scarthgap"
@@ -0,0 +1,4 @@
require recipes-core/images/core-image-minimal.bb
IMAGE_INSTALL += "libstdc++ mtd-utils opkg"
IMAGE_INSTALL += "openssh openssl openssh-sftp-server"