]> git.proxmox.com Git - mirror_qemu.git/commit - configure
riscv: requires libfdt
authorKONRAD Frederic <frederic.konrad@adacore.com>
Thu, 3 May 2018 15:17:16 +0000 (17:17 +0200)
committerMichael Clark <mjc@sifive.com>
Wed, 9 May 2018 10:14:28 +0000 (22:14 +1200)
commita666409f0df5dce113a5bd2c4c144a0792f2a4a3
tree6bfbdf9366eb3619bdfa3e1cd94ce133f73abbed
parent6fad7d1893f6ea926063067af957009bc320406f
riscv: requires libfdt

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

Cc: qemu-stable@nongnu.org
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Michael Clark <mjc@sifive.com>
Signed-off-by: KONRAD Frederic <frederic.konrad@adacore.com>
Signed-off-by: Michael Clark <mjc@sifive.com>
Message-Id: <1525360636-18229-4-git-send-email-frederic.konrad@adacore.com>
configure