Add profiling-kernel recipe.

This commit is contained in:
4lDO2 2026-04-12 16:41:36 +02:00
parent 94bf2b6ac6
commit 2d6de453c5

View File

@ -0,0 +1,10 @@
[source]
same_as = "../kernel"
[build]
template = "custom"
script = """
make -f ${COOKBOOK_SOURCE}/Makefile KERNEL_CARGO_FEATURES=profiling
mkdir -pv "${COOKBOOK_STAGE}/usr/lib/boot"
cp -v kernel "${COOKBOOK_STAGE}/usr/lib/boot"
"""