projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34be106
)
image.h: avoid command.h for host tools
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 21 Jan 2010 09:03:20 +0000
(
04:03
-0500)
committer
Wolfgang Denk
<wd@denx.de>
Thu, 21 Jan 2010 21:58:49 +0000
(22:58 +0100)
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@gentoo.org>
include/image.h
patch
|
blob
|
history
diff --git
a/include/image.h
b/include/image.h
index 4ed03791069b72dcb69a833485861074848c4dab..acc553cae9cfa34d7376716b89f1ff808f96fa5d 100644
(file)
--- 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>