diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2023-10-01 22:39:12 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2023-10-01 23:43:27 +0200 |
commit | 2c21f689fc372aaf54601c041cd3e15f625093d6 (patch) | |
tree | f46da55afe91c8ddbca9475cfd0e758790844b2b /examples/recipes/linux@6.5.5.yml | |
parent | eadae1ce868ffe52c989bb0a2bb503f1c298f6c1 (diff) | |
download | rebel-2c21f689fc372aaf54601c041cd3e15f625093d6.tar rebel-2c21f689fc372aaf54601c041cd3e15f625093d6.zip |
examples: linux: update to 6.5.5
Diffstat (limited to 'examples/recipes/linux@6.5.5.yml')
-rw-r--r-- | examples/recipes/linux@6.5.5.yml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/examples/recipes/linux@6.5.5.yml b/examples/recipes/linux@6.5.5.yml new file mode 100644 index 0000000..77f5879 --- /dev/null +++ b/examples/recipes/linux@6.5.5.yml @@ -0,0 +1,59 @@ +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 |