summaryrefslogtreecommitdiff
path: root/meta-unit-profiling/conf/layer.conf
diff options
context:
space:
mode:
authorunitexe <unitexe70@gmail.com>2026-01-17 00:53:15 -0600
committerunitexe <unitexe70@gmail.com>2026-01-17 15:07:54 -0600
commit4982353c696256dfa130f5d009b4271fe34112ac (patch)
tree91a4751ff286c9a59728289cea2512f64388c64c /meta-unit-profiling/conf/layer.conf
parentdfb3c4808b38f7c5f79957f0b75bc497362c2cc6 (diff)
Introduce meta-unit-profiling
- Additional profiling commands for busybox - Support systemd-bootchart - Enable kernel stats (needed for systemd-bootchart)
Diffstat (limited to 'meta-unit-profiling/conf/layer.conf')
-rw-r--r--meta-unit-profiling/conf/layer.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-unit-profiling/conf/layer.conf b/meta-unit-profiling/conf/layer.conf
new file mode 100644
index 0000000..1b980ef
--- /dev/null
+++ b/meta-unit-profiling/conf/layer.conf
@@ -0,0 +1,18 @@
+BBPATH .= ":${LAYERDIR}"
+
+BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "unit-profiling-layer"
+BBFILE_PATTERN_unit-profiling-layer := "^${LAYERDIR}/"
+BBFILE_PRIORITY_unit-profiling-layer = "10"
+
+LAYERDEPENDS_unit-profiling-layer = "core openembedded-layer"
+
+LAYERSERIES_COMPAT_unit-profiling-layer = "whinlatter"
+
+UNIT_PROFILING_LAYERDIR = "${LAYERDIR}"
+
+BBFILES_DYNAMIC += " \
+ raspberrypi:${LAYERDIR}/dynamic-layers/raspberrypi/*/*/*.bb \
+ raspberrypi:${LAYERDIR}/dynamic-layers/raspberrypi/*/*/*.bbappend \
+"