1935b7ead1
Introduce a new Kconfig symbol, CONFIG_DEVICE_TREE, that specifies whether to include the common device tree code in system/device_tree.c and to link to libfdt. For now, include it unconditionally if libfdt is available. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 lines
228 B
C
11 lines
228 B
C
#include "qemu/osdep.h"
|
|
#include "qapi/error.h"
|
|
#include "qapi/qapi-commands-machine.h"
|
|
|
|
#ifdef CONFIG_FDT
|
|
void qmp_dumpdtb(const char *filename, Error **errp)
|
|
{
|
|
error_setg(errp, "This machine doesn't have a FDT");
|
|
}
|
|
#endif
|