Skip to content
Snippets Groups Projects
Commit 5daa1c18 authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

image.h: avoid command.h for host tools


The u-boot command structures don't get used with host systems, so don't
bother including it when building host code.  This avoids an implicit need
on config.h in the process.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 34be1065
No related branches found
No related tags found
No related merge requests found
...@@ -46,11 +46,10 @@ ...@@ -46,11 +46,10 @@
#include <lmb.h> #include <lmb.h>
#include <asm/u-boot.h> #include <asm/u-boot.h>
#include <command.h>
#endif /* USE_HOSTCC */ #endif /* USE_HOSTCC */
#include <command.h>
#if defined(CONFIG_FIT) #if defined(CONFIG_FIT)
#include <fdt.h> #include <fdt.h>
#include <libfdt.h> #include <libfdt.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment