From 2c21f689fc372aaf54601c041cd3e15f625093d6 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 1 Oct 2023 22:39:12 +0200 Subject: examples: linux: update to 6.5.5 --- examples/recipes/linux-uapi-headers@5.10.66.yml | 21 --------- examples/recipes/linux-uapi-headers@6.5.5.yml | 21 +++++++++ examples/recipes/linux@5.10.66.yml | 59 ------------------------- examples/recipes/linux@6.5.5.yml | 59 +++++++++++++++++++++++++ 4 files changed, 80 insertions(+), 80 deletions(-) delete mode 100644 examples/recipes/linux-uapi-headers@5.10.66.yml create mode 100644 examples/recipes/linux-uapi-headers@6.5.5.yml delete mode 100644 examples/recipes/linux@5.10.66.yml create mode 100644 examples/recipes/linux@6.5.5.yml diff --git a/examples/recipes/linux-uapi-headers@5.10.66.yml b/examples/recipes/linux-uapi-headers@5.10.66.yml deleted file mode 100644 index 27d7fc2..0000000 --- a/examples/recipes/linux-uapi-headers@5.10.66.yml +++ /dev/null @@ -1,21 +0,0 @@ -meta: - name: 'linux' -tasks: - unpack: - fetch: - - name: '{{pn}}-{{pv}}.tar.xz' - sha256: '5dfa06bbbbd164b9ea669ec637b1e6d05fb5fea8ef3aeb6729f2cbcd0dfcc8a7' - run: | - tar xf {{dldir}}/{{pn}}-{{pv}}.tar.xz - - install: - args: - host: 'platform' - inherit: - task: 'unpack' - output: - default: {} - run: | - cd {{pn}}-{{pv}} - make INSTALL_HDR_PATH={{destdir}}{{host.prefix}} ARCH={{host.karch}} headers_install - diff --git a/examples/recipes/linux-uapi-headers@6.5.5.yml b/examples/recipes/linux-uapi-headers@6.5.5.yml new file mode 100644 index 0000000..c431105 --- /dev/null +++ b/examples/recipes/linux-uapi-headers@6.5.5.yml @@ -0,0 +1,21 @@ +meta: + name: 'linux' +tasks: + unpack: + fetch: + - name: '{{pn}}-{{pv}}.tar.xz' + sha256: '8cf10379f7df8ea731e09bff3d0827414e4b643dd41dc99d0af339669646ef95' + run: | + tar xf {{dldir}}/{{pn}}-{{pv}}.tar.xz + + install: + args: + host: 'platform' + inherit: + task: 'unpack' + output: + default: {} + run: | + cd {{pn}}-{{pv}} + make INSTALL_HDR_PATH={{destdir}}{{host.prefix}} ARCH={{host.karch}} headers_install + diff --git a/examples/recipes/linux@5.10.66.yml b/examples/recipes/linux@5.10.66.yml deleted file mode 100644 index 22b17c2..0000000 --- a/examples/recipes/linux@5.10.66.yml +++ /dev/null @@ -1,59 +0,0 @@ -tasks: - unpack: - fetch: - - name: '{{pn}}-{{pv}}.tar.xz' - sha256: '5dfa06bbbbd164b9ea669ec637b1e6d05fb5fea8ef3aeb6729f2cbcd0dfcc8a7' - 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 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 -- cgit v1.2.3