summaryrefslogtreecommitdiffstats
path: root/examples/recipes/linux/build.uapi-headers.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2024-04-06 00:19:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2024-04-06 00:24:45 +0200
commita488b37a22b72bdcd7b58102387fea98b82918e1 (patch)
treed1925f43070f25eb49b0181fd123b8f950a2f4b2 /examples/recipes/linux/build.uapi-headers.yml
parent631b45f565bf6160734941e0b7ad69e68a520b0e (diff)
downloadrebel-a488b37a22b72bdcd7b58102387fea98b82918e1.tar
rebel-a488b37a22b72bdcd7b58102387fea98b82918e1.zip
examples: use {{name}} instead of {{basename}}
{{name}} is usually the better choice for references in the scripts, as it can be overridden.
Diffstat (limited to 'examples/recipes/linux/build.uapi-headers.yml')
-rw-r--r--examples/recipes/linux/build.uapi-headers.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/recipes/linux/build.uapi-headers.yml b/examples/recipes/linux/build.uapi-headers.yml
index 0203472..ea398d3 100644
--- a/examples/recipes/linux/build.uapi-headers.yml
+++ b/examples/recipes/linux/build.uapi-headers.yml
@@ -1,10 +1,10 @@
tasks:
unpack:
fetch:
- - name: '{{basename}}-{{version}}.tar.xz'
+ - name: '{{name}}-{{version}}.tar.xz'
sha256: '8cf10379f7df8ea731e09bff3d0827414e4b643dd41dc99d0af339669646ef95'
run: |
- tar xf {{dldir}}/{{basename}}-{{version}}.tar.xz
+ tar xf {{dldir}}/{{name}}-{{version}}.tar.xz
install:
args:
@@ -14,6 +14,6 @@ tasks:
output:
default: {}
run: |
- cd {{basename}}-{{version}}
+ cd {{name}}-{{version}}
make INSTALL_HDR_PATH={{destdir}}{{host.prefix}} ARCH={{host.karch}} headers_install