summaryrefslogtreecommitdiffstats
path: root/examples/recipes/linux.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2024-04-04 01:13:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2024-04-04 01:16:43 +0200
commit1896ea04204b8086a4f25e257dc5605e5505d768 (patch)
tree694b5298958c0152ce4fe58c42f864980fd6b9df /examples/recipes/linux.yml
parentaa914e75251af3f9691be621a8c266320158bace (diff)
downloadrebel-1896ea04204b8086a4f25e257dc5605e5505d768.tar
rebel-1896ea04204b8086a4f25e257dc5605e5505d768.zip
driver: recipe: move each recipe into a separate directory
Diffstat (limited to 'examples/recipes/linux.yml')
-rw-r--r--examples/recipes/linux.yml61
1 files changed, 0 insertions, 61 deletions
diff --git a/examples/recipes/linux.yml b/examples/recipes/linux.yml
deleted file mode 100644
index 53a0bd7..0000000
--- a/examples/recipes/linux.yml
+++ /dev/null
@@ -1,61 +0,0 @@
-meta:
- version: '6.5.5'
-tasks:
- unpack:
- fetch:
- - name: '{{basename}}-{{version}}.tar.xz'
- sha256: '8cf10379f7df8ea731e09bff3d0827414e4b643dd41dc99d0af339669646ef95'
- run: |
- tar xf {{dldir}}/{{basename}}-{{version}}.tar.xz
-
- configure:
- args:
- host: 'platform'
- inherit:
- task: 'unpack'
- build_depends:
- - recipe: 'gcc'
- task: 'install'
- run: |
- mkdir {{basename}}-build
- cd {{basename}}-build
- make \
- -f ../{{basename}}-{{version}}/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 {{basename}}-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 {{basename}}-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