diff --git a/recipes/core/profiling-kernel/recipe.toml b/recipes/core/profiling-kernel/recipe.toml new file mode 100644 index 000000000..77f200e20 --- /dev/null +++ b/recipes/core/profiling-kernel/recipe.toml @@ -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" +"""