summaryrefslogtreecommitdiffstats
path: root/examples/recipes/gcc/build.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/recipes/gcc/build.yml')
-rw-r--r--examples/recipes/gcc/build.yml18
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/recipes/gcc/build.yml b/examples/recipes/gcc/build.yml
index 4931052..cd4166e 100644
--- a/examples/recipes/gcc/build.yml
+++ b/examples/recipes/gcc/build.yml
@@ -3,12 +3,12 @@ meta:
tasks:
unpack:
fetch:
- - name: '{{basename}}-{{version}}.tar.xz'
+ - name: '{{name}}-{{version}}.tar.xz'
sha256: 'e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da'
run: |
- tar xf {{dldir}}/{{basename}}-{{version}}.tar.xz
+ tar xf {{dldir}}/{{name}}-{{version}}.tar.xz
- sed -i -e 's@^MULTILIB_OSDIRNAMES@# &@' {{basename}}-{{version}}/gcc/config/*/t-*
+ sed -i -e 's@^MULTILIB_OSDIRNAMES@# &@' {{name}}-{{version}}/gcc/config/*/t-*
header-stubs:
args:
@@ -47,9 +47,9 @@ tasks:
run: |
export CXX_FOR_TARGET="$CXX_FOR_TARGET -nostdinc++"
- mkdir {{basename}}-build
- cd {{basename}}-build
- ../{{basename}}-{{version}}/configure \
+ mkdir {{name}}-build
+ cd {{name}}-build
+ ../{{name}}-{{version}}/configure \
--build={{build.gnu_triplet}} \
--host={{host.gnu_triplet}} \
--target={{target.gnu_triplet}} \
@@ -60,7 +60,7 @@ tasks:
--with-build-sysroot={{sysroot}} \
--with-native-system-header-dir={{target.prefix}}/include \
--with-toolexeclibdir={{host_to_target.sysroot}}{{target.prefix}}/lib \
- --with-gxx-include-dir={{host_to_target.sysroot}}{{target.prefix}}/include/c++/"$(cat ../{{basename}}-{{version}}/gcc/BASE-VER)" \
+ --with-gxx-include-dir={{host_to_target.sysroot}}{{target.prefix}}/include/c++/"$(cat ../{{name}}-{{version}}/gcc/BASE-VER)" \
--with-gnu-ld \
--enable-shared \
--enable-languages=c,c++ \
@@ -101,7 +101,7 @@ tasks:
- task: 'header-stubs'
noinherit: true
run: |
- cd {{basename}}-build
+ cd {{name}}-build
make all-host
find -name config.log -delete
@@ -121,6 +121,6 @@ tasks:
- recipe: 'zlib'
task: 'install'
run: |
- cd {{basename}}-build
+ cd {{name}}-build
make DESTDIR={{destdir}} install-host