On 04/19/2018 12:51 PM, KONRAD Frederic wrote: > When compiling on a machine without libfdt installed the configure script > should try to get libfdt from the git or should die because otherwise > CONFIG_LIBFDT is not set and the build process end in an error in the link > phase.. eg: > > hw/riscv/virt.o: In function `riscv_virt_board_init': > qemu/src/hw/riscv/virt.c:317: undefined reference to `qemu_fdt_setprop_cell' > qemu/src/hw/riscv/virt.c:319: undefined reference to `qemu_fdt_setprop_cell' > qemu/src/hw/riscv/virt.c:345: undefined reference to `qemu_fdt_dumpdtb' > collect2: error: ld returned 1 exit status > make[1]: *** [qemu-system-riscv64] Error 1 > make: *** [subdir-riscv64-softmmu] Error 2 > > Signed-off-by: KONRAD Frederic <[email protected]> > ---
Reviewed-by: Bastian Koppelmann <[email protected]> Cheers, Bastian
