summaryrefslogtreecommitdiffstats
path: root/examples/recipes/linux@6.5.5.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2024-04-04 00:25:05 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2024-04-04 01:15:06 +0200
commitb2ce46f9e4130f9e30d2eaa486558bf16af31b50 (patch)
treea026b84d314813d3fda77512f6fbc935b4b07d81 /examples/recipes/linux@6.5.5.yml
parent142ab0db2902a42b1c11f9682d366a5c7750c649 (diff)
downloadrebel-b2ce46f9e4130f9e30d2eaa486558bf16af31b50.tar
rebel-b2ce46f9e4130f9e30d2eaa486558bf16af31b50.zip
driver: context: rename pn and pv variables to basename and version
pn and pv referred to package names and versions, but we don't really have packages at the moment.
Diffstat (limited to 'examples/recipes/linux@6.5.5.yml')
-rw-r--r--examples/recipes/linux@6.5.5.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/recipes/linux@6.5.5.yml b/examples/recipes/linux@6.5.5.yml
index 77f5879..6448e0b 100644
--- a/examples/recipes/linux@6.5.5.yml
+++ b/examples/recipes/linux@6.5.5.yml
@@ -1,10 +1,10 @@
tasks:
unpack:
fetch:
- - name: '{{pn}}-{{pv}}.tar.xz'
+ - name: '{{basename}}-{{version}}.tar.xz'
sha256: '8cf10379f7df8ea731e09bff3d0827414e4b643dd41dc99d0af339669646ef95'
run: |
- tar xf {{dldir}}/{{pn}}-{{pv}}.tar.xz
+ tar xf {{dldir}}/{{basename}}-{{version}}.tar.xz
configure:
args:
@@ -15,10 +15,10 @@ tasks:
- recipe: 'gcc'
task: 'install'
run: |
- mkdir {{pn}}-build
- cd {{pn}}-build
+ mkdir {{basename}}-build
+ cd {{basename}}-build
make \
- -f ../{{pn}}-{{pv}}/Makefile \
+ -f ../{{basename}}-{{version}}/Makefile \
ARCH={{host.karch}} \
CROSS_COMPILE={{cross_compile}} \
defconfig
@@ -31,7 +31,7 @@ tasks:
run: |
export KBUILD_BUILD_TIMESTAMP="@${SOURCE_DATE_EPOCH}"
- cd {{pn}}-build
+ cd {{basename}}-build
make \
ARCH={{host.karch}} \
CROSS_COMPILE={{cross_compile}} \
@@ -48,7 +48,7 @@ tasks:
modules:
path: 'modules'
run: |
- cd {{pn}}-build
+ cd {{basename}}-build
mkdir -p {{destdir}}/boot
make \
ARCH={{host.karch}} \