From 227bfe9e5b16878dc9d26111f98aa39f1172714d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 28 Sep 2021 20:15:35 +0200 Subject: 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. --- examples/e2fsprogs.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'examples/e2fsprogs.yml') diff --git a/examples/e2fsprogs.yml b/examples/e2fsprogs.yml index 2f3cbde..72a7695 100644 --- a/examples/e2fsprogs.yml +++ b/examples/e2fsprogs.yml @@ -18,12 +18,12 @@ tasks: - recipe: 'toolchain' task: 'depends' run: | - 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 STRIP={{host.cross_compile}}strip + 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 STRIP={{cross_compile}}strip mkdir e2fsprogs-build cd e2fsprogs-build -- cgit v1.2.3