[U-Boot] [PATCH 1/3] image.h: avoid command.h for host tools
Mike Frysinger
vapier at gentoo.org
Thu Jan 21 10:03:20 CET 2010
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: Mike Frysinger <vapier at gentoo.org>
---
include/image.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/include/image.h b/include/image.h
index d2e78fe..8fc2636 100644
--- a/include/image.h
+++ b/include/image.h
@@ -46,11 +46,10 @@
#include <lmb.h>
#include <asm/u-boot.h>
+#include <command.h>
#endif /* USE_HOSTCC */
-#include <command.h>
-
#if defined(CONFIG_FIT)
#include <fdt.h>
#include <libfdt.h>
--
1.6.6
More information about the U-Boot
mailing list