summaryrefslogtreecommitdiffstats
path: root/examples/recipes/linux-uapi-headers/build.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-uapi-headers/build.yml
parentaa914e75251af3f9691be621a8c266320158bace (diff)
downloadrebel-1896ea04204b8086a4f25e257dc5605e5505d768.tar
rebel-1896ea04204b8086a4f25e257dc5605e5505d768.zip
driver: recipe: move each recipe into a separate directory
Diffstat (limited to 'examples/recipes/linux-uapi-headers/build.yml')
-rw-r--r--examples/recipes/linux-uapi-headers/build.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/recipes/linux-uapi-headers/build.yml b/examples/recipes/linux-uapi-headers/build.yml
new file mode 100644
index 0000000..3fadccd
--- /dev/null
+++ b/examples/recipes/linux-uapi-headers/build.yml
@@ -0,0 +1,22 @@
+meta:
+ name: 'linux'
+ version: '6.5.5'
+tasks:
+ unpack:
+ fetch:
+ - name: '{{basename}}-{{version}}.tar.xz'
+ sha256: '8cf10379f7df8ea731e09bff3d0827414e4b643dd41dc99d0af339669646ef95'
+ run: |
+ tar xf {{dldir}}/{{basename}}-{{version}}.tar.xz
+
+ install:
+ args:
+ host: 'platform'
+ inherit:
+ task: 'unpack'
+ output:
+ default: {}
+ run: |
+ cd {{basename}}-{{version}}
+ make INSTALL_HDR_PATH={{destdir}}{{host.prefix}} ARCH={{host.karch}} headers_install
+