summaryrefslogtreecommitdiffstats
path: root/examples/glibc.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-09-28 20:15:35 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-09-29 20:51:34 +0200
commit227bfe9e5b16878dc9d26111f98aa39f1172714d (patch)
tree43a720601818a44221d31aaf8c44098333b3dfb0 /examples/glibc.yml
parent044be90f0fef4c57df985ba862e5f4cf1bb684b1 (diff)
downloadrebel-227bfe9e5b16878dc9d26111f98aa39f1172714d.tar
rebel-227bfe9e5b16878dc9d26111f98aa39f1172714d.zip
context: add platform relation variables
build_to_host, host_to_target and build_to_target describe how two platforms are related. cross_compile and sysroot are moved into this new structure. cross_compile is added to the toplevel scope as an alias for build_to_host.cross_compile, as most packages will only ever need this.
Diffstat (limited to 'examples/glibc.yml')
-rw-r--r--examples/glibc.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/glibc.yml b/examples/glibc.yml
index 5ee9aeb..337ae2f 100644
--- a/examples/glibc.yml
+++ b/examples/glibc.yml
@@ -21,12 +21,12 @@ tasks:
task: 'install'
run: |
export BUILD_CC=gcc
- export CC={{host.cross_compile}}gcc
- export CXX={{host.cross_compile}}g++
- export AR={{host.cross_compile}}ar
- export NM={{host.cross_compile}}nm
- export RANLIB={{host.cross_compile}}ranlib
- export READELF={{host.cross_compile}}readelf
+ export CC={{cross_compile}}gcc
+ export CXX={{cross_compile}}g++
+ export AR={{cross_compile}}ar
+ export NM={{cross_compile}}nm
+ export RANLIB={{cross_compile}}ranlib
+ export READELF={{cross_compile}}readelf
mkdir glibc-build
cd glibc-build