diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-25 21:44:42 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-26 15:51:00 +0200 |
commit | 83fd44af9b8c0b1e81b46d97a406f542481a7f00 (patch) | |
tree | 1dd90feb1d427d0c0538c9638a2b9a8862302aff /examples/linux.yml | |
parent | 8564c639f382b46382cfb1a01af70f2202fe168f (diff) | |
download | rebel-83fd44af9b8c0b1e81b46d97a406f542481a7f00.tar rebel-83fd44af9b8c0b1e81b46d97a406f542481a7f00.zip |
Add "cross compile" prefix to platform arguments
Allow getting the right path for the host==build toolchain.
There are still a few unsolved questions, in particular how to deal with
host depends of host==build tasks.
Diffstat (limited to 'examples/linux.yml')
-rw-r--r-- | examples/linux.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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 \ |