On 28.07.2025 10:02, Jamin Lin wrote:
It seems this patch fix this issue, https://patchwork.kernel.org/project/qemu-devel/patch/607a943a587248fbe0ff0897de80aee98a093caa.1753654515.git....@tls.msk.ru/
Yeah, I posted that patch yesterday after realizing our roms/vbootrom submodule is outdated.
Do I need to update vbootrom/ast27x0/Makefile? I set "?=" to make user able to set variables in the command line.
The prob with `CC ?=` construct is that CC variable is always set by make, so this line becomes useless. The question mark should be removed, that's all.
1. export CC=aarch64-linux-gnu-gcc make 2. make CC=aarch64-linux-gnu-gcc 3. Update Make file and user only need to issue "make"
See how it's done in other subdirs of vbootrom. You only need to remove ? from CC variable assignment. Distinction between 1 and 2 is `make -e` command-line switch. Thanks /mjt