diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/busybox.yml | 4 | ||||
-rw-r--r-- | examples/glibc.yml | 14 | ||||
-rw-r--r-- | examples/linux.yml | 6 |
3 files changed, 11 insertions, 13 deletions
diff --git a/examples/busybox.yml b/examples/busybox.yml index 8025232..198dc2c 100644 --- a/examples/busybox.yml +++ b/examples/busybox.yml @@ -33,7 +33,7 @@ tasks: cd busybox-build make \ ARCH={{host.karch}} \ - CROSS_COMPILE={{build.prefix}}/bin/{{host.gnu_triplet}}- \ + CROSS_COMPILE={{host.cross_compile}} \ busybox busybox.links -j8 sed -i \ -e 's@^/usr@@' \ @@ -60,6 +60,6 @@ tasks: cd busybox-build make \ ARCH={{host.karch}} \ - CROSS_COMPILE={{build.prefix}}/bin/{{host.gnu_triplet}}- \ + CROSS_COMPILE={{host.cross_compile}} \ CONFIG_PREFIX={{destdir}}{{host.prefix}} \ install diff --git a/examples/glibc.yml b/examples/glibc.yml index 0c5235a..13f1206 100644 --- a/examples/glibc.yml +++ b/examples/glibc.yml @@ -20,15 +20,13 @@ tasks: - recipe: 'linux-uapi-headers' task: 'install' run: | - CROSS_COMPILE={{build.prefix}}/bin/{{host.gnu_triplet}}- - export BUILD_CC=gcc - 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 + 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 mkdir glibc-build cd glibc-build diff --git a/examples/linux.yml b/examples/linux.yml index 33f11d7..d024952 100644 --- a/examples/linux.yml +++ b/examples/linux.yml @@ -20,7 +20,7 @@ tasks: make \ -f ../linux-5.10.66/Makefile \ ARCH={{host.karch}} \ - CROSS_COMPILE={{build.prefix}}/bin/{{host.gnu_triplet}}- \ + CROSS_COMPILE={{host.cross_compile}} \ defconfig compile: @@ -35,7 +35,7 @@ tasks: cd linux-build make \ ARCH={{host.karch}} \ - CROSS_COMPILE={{build.prefix}}/bin/{{host.gnu_triplet}}- \ + CROSS_COMPILE={{host.cross_compile}} \ all -j8 install: @@ -56,7 +56,7 @@ tasks: mkdir -p {{destdir}}/boot make \ ARCH={{host.karch}} \ - CROSS_COMPILE={{build.prefix}}/bin/{{host.gnu_triplet}}- \ + CROSS_COMPILE={{host.cross_compile}} \ INSTALL_PATH={{destdir}}/boot \ INSTALL_MOD_PATH={{destdir}}/modules{{host.prefix}} \ DEPMOD=true \ |