[bootlin/training-materials] 5cda7a: labs/sysdev-thirdparty: add sufficient info in cro...

Thomas Petazzoni noreply at github.com
Tue Sep 27 22:03:37 CEST 2022


  Branch: refs/heads/master
  Home:   https://github.com/bootlin/training-materials
  Commit: 5cda7a52caf1ab29234d05778b96904af1a446f3
      https://github.com/bootlin/training-materials/commit/5cda7a52caf1ab29234d05778b96904af1a446f3
  Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
  Date:   2022-09-27 (Tue, 27 Sep 2022)

  Changed paths:
    M labs/sysdev-thirdparty/sysdev-thirdparty.tex

  Log Message:
  -----------
  labs/sysdev-thirdparty: add sufficient info in cross-file.txt

Just specifying the cross-compiler is not sufficient for meson: the
build fails with:

/lib/ld-uClibc.so.0: No such file or directory
meson.build:1:0: ERROR: Executables created by c compiler arm-linux-gcc are not runnable.

because it tries to run target executables on the build machine.

Fix this by passing the appropriate [host_machine] section in
cross-file.txt.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>




More information about the training-materials-updates mailing list