qemu:fix ci error
Signed-off-by: liaoao <liaoao@xiaomi.com>
This commit is contained in:
parent
a0cc455922
commit
a2ca68aaa7
|
@ -26,6 +26,8 @@ ifeq ($(CONFIG_BOARDCTL),y)
|
|||
CSRCS += qemu_appinit.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_LIBC_FDT),y)
|
||||
CFLAGS += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)libs$(DELIM)libc$(DELIM)fdt$(DELIM)dtc$(DELIM)libfdt
|
||||
endif
|
||||
|
||||
include $(TOPDIR)/boards/Board.mk
|
||||
|
|
|
@ -30,7 +30,10 @@
|
|||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/virtio/virtio-mmio.h>
|
||||
#include <nuttx/fdt.h>
|
||||
#include <libfdt.h>
|
||||
|
||||
#ifdef CONFIG_LIBC_FDT
|
||||
# include <libfdt.h>
|
||||
#endif
|
||||
|
||||
#include "qemu-armv7a.h"
|
||||
|
||||
|
|
|
@ -26,6 +26,8 @@ ifeq ($(CONFIG_BOARDCTL),y)
|
|||
CSRCS += qemu_appinit.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_LIBC_FDT),y)
|
||||
CFLAGS += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)libs$(DELIM)libc$(DELIM)fdt$(DELIM)dtc$(DELIM)libfdt
|
||||
endif
|
||||
|
||||
include $(TOPDIR)/boards/Board.mk
|
||||
|
|
|
@ -30,7 +30,10 @@
|
|||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/virtio/virtio-mmio.h>
|
||||
#include <nuttx/fdt.h>
|
||||
#include <libfdt.h>
|
||||
|
||||
#ifdef CONFIG_LIBC_FDT
|
||||
# include <libfdt.h>
|
||||
#endif
|
||||
|
||||
#include "qemu-armv8a.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue