tasks: unpack: fetch: - name: '{{pn}}-{{pv}}.tar.xz' sha256: '8cf10379f7df8ea731e09bff3d0827414e4b643dd41dc99d0af339669646ef95' run: | tar xf {{dldir}}/{{pn}}-{{pv}}.tar.xz configure: args: host: 'platform' inherit: task: 'unpack' build_depends: - recipe: 'gcc' task: 'install' run: | mkdir {{pn}}-build cd {{pn}}-build make \ -f ../{{pn}}-{{pv}}/Makefile \ ARCH={{host.karch}} \ CROSS_COMPILE={{cross_compile}} \ defconfig compile: args: host: 'platform' inherit: task: 'configure' run: | export KBUILD_BUILD_TIMESTAMP="@${SOURCE_DATE_EPOCH}" cd {{pn}}-build make \ ARCH={{host.karch}} \ CROSS_COMPILE={{cross_compile}} \ all install: args: host: 'platform' inherit: task: 'compile' output: boot: path: 'boot' modules: path: 'modules' run: | cd {{pn}}-build mkdir -p {{destdir}}/boot make \ ARCH={{host.karch}} \ CROSS_COMPILE={{cross_compile}} \ INSTALL_PATH={{destdir}}/boot \ INSTALL_MOD_PATH={{destdir}}/modules{{host.prefix}} \ DEPMOD=true \ install modules_install