Browse Source
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>pull/266/head
10 changed files with 45 additions and 18 deletions
@ -0,0 +1,10 @@ |
|||
#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 |
|||
Loading…
Reference in new issue