summaryrefslogtreecommitdiffstats
path: root/examples/recipes/gcc/build.libgcc-initial.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/gcc/build.libgcc-initial.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/gcc/build.libgcc-initial.yml')
-rw-r--r--examples/recipes/gcc/build.libgcc-initial.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/recipes/gcc/build.libgcc-initial.yml b/examples/recipes/gcc/build.libgcc-initial.yml
index ed38266..38414aa 100644
--- a/examples/recipes/gcc/build.libgcc-initial.yml
+++ b/examples/recipes/gcc/build.libgcc-initial.yml
@@ -10,7 +10,7 @@ tasks:
- recipe: 'gcc'
task: 'header-stubs'
run: |
- cd {{basename}}-build
+ cd {{name}}-build
make configure-target-libgcc
# A hack borrowed from OpenEmbedded:
@@ -31,7 +31,7 @@ tasks:
inherit:
task: 'configure'
run: |
- cd {{basename}}-build
+ cd {{name}}-build
make all-target-libgcc
install:
@@ -43,7 +43,7 @@ tasks:
output:
default: {}
run: |
- cd {{basename}}-build
+ cd {{name}}-build
make DESTDIR={{destdir}} install-target-libgcc
- ln -s libgcc.a {{destdir}}{{host.prefix}}/lib/gcc/{{target.gnu_triplet}}/"$(cat ../{{basename}}-{{version}}/gcc/BASE-VER)"/libgcc_eh.a
+ ln -s libgcc.a {{destdir}}{{host.prefix}}/lib/gcc/{{target.gnu_triplet}}/"$(cat ../{{name}}-{{version}}/gcc/BASE-VER)"/libgcc_eh.a