summaryrefslogtreecommitdiffstats
path: root/examples/recipes/linux.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-11-03 17:15:36 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-11-03 17:15:36 +0100
commitc40a4dcdcf46a0c01c97cf294384088b761d1ddf (patch)
tree2c89978f7484dd01b475ca2e67a5e01cb008e84f /examples/recipes/linux.yml
parent272a73cae03d7c5ae22ff94b935a1d37f437ebef (diff)
downloadrebel-c40a4dcdcf46a0c01c97cf294384088b761d1ddf.tar
rebel-c40a4dcdcf46a0c01c97cf294384088b761d1ddf.zip
examples: move version number to filename
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 a7f4394..0000000
--- a/examples/recipes/linux.yml
+++ /dev/null
@@ -1,61 +0,0 @@
-meta:
- version: '5.10.66'
-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