summaryrefslogtreecommitdiffstats
path: root/examples/recipes/linux-uapi-headers.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-10-30 00:21:04 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-10-30 21:15:09 +0200
commit3fbe53aec0f340a90858265ca8f890314fa5d523 (patch)
tree32a666397b7c97c6ba202274b7f0aaf0e2166422 /examples/recipes/linux-uapi-headers.yml
parent6d77ac17b4414d30384473c667e08199f428d94e (diff)
downloadrebel-3fbe53aec0f340a90858265ca8f890314fa5d523.tar
rebel-3fbe53aec0f340a90858265ca8f890314fa5d523.zip
examples: move recipes to subdirectory
Diffstat (limited to 'examples/recipes/linux-uapi-headers.yml')
-rw-r--r--examples/recipes/linux-uapi-headers.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/recipes/linux-uapi-headers.yml b/examples/recipes/linux-uapi-headers.yml
new file mode 100644
index 0000000..fdd9a8e
--- /dev/null
+++ b/examples/recipes/linux-uapi-headers.yml
@@ -0,0 +1,22 @@
+meta:
+ name: 'linux'
+ version: '5.10.66'
+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
+