diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2024-04-04 18:33:49 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2024-04-04 18:42:09 +0200 |
commit | b433fbf27b8d6ccf6e13d4b6a28de556012576d7 (patch) | |
tree | 7849c08bb199b37c7d0b1ab316f0a172d4b44474 /examples/recipes/linux/build.uapi-headers.yml | |
parent | e39de9b1dd3b9bf75ef99667fd10badd7908e0df (diff) | |
download | rebel-b433fbf27b8d6ccf6e13d4b6a28de556012576d7.tar rebel-b433fbf27b8d6ccf6e13d4b6a28de556012576d7.zip |
examples: convert recipes with common sources to subrecipes
Diffstat (limited to 'examples/recipes/linux/build.uapi-headers.yml')
-rw-r--r-- | examples/recipes/linux/build.uapi-headers.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/recipes/linux/build.uapi-headers.yml b/examples/recipes/linux/build.uapi-headers.yml new file mode 100644 index 0000000..10c2539 --- /dev/null +++ b/examples/recipes/linux/build.uapi-headers.yml @@ -0,0 +1,21 @@ +meta: + 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 + |