]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
ltp: don't use host objcopy
authorRoss Burton <ross.burton@arm.com>
Thu, 27 Feb 2025 15:35:34 +0000 (15:35 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Mar 2025 21:26:16 +0000 (21:26 +0000)
commit74818f79bd9a206f77ae3d26b19657116fd956cc
tree7c53207d828153c229aa69a3159bfaf9e0144b90
parentc71f9efc3140d279813ff6eb474fdbf5e677e348
ltp: don't use host objcopy

The kernel/kvm test uses the host objcopy when building a payload, but
the host objcopy might not know how to deal with target binaries:

  CC testcases/kernel/kvm/lib_host.o
  objcopy: Unable to recognise the format of the input file `kvm_svm03-payload.elf'
  make[3]: *** [ltp/testcases/kernel/kvm/Makefile:67: kvm_svm03-payload.o] Error 1

Solve this by using the host-prefixed objcopy binary.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-extended/ltp/ltp/0001-kernel-kvm-don-t-hardcode-objcopy.patch [new file with mode: 0644]
meta/recipes-extended/ltp/ltp_20250130.bb