[PATCH] Enables to build bootm command on generic_x86.

monaka at monami-ya.jp monaka at monami-ya.jp
Sat Jun 1 09:58:25 EDT 2013


From: Masaki Muranaka <monaka at monami-ya.jp>

I'm not sure but I guess we don't need defined(__I386__) check.
I kept it for now.

Signed-off-by: Masaki Muranaka <monaka at monami-ya.com>
---
 include/image.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/image.h b/include/image.h
index 219419b..0c8a4b1 100644
--- a/include/image.h
+++ b/include/image.h
@@ -89,7 +89,7 @@
 #define IH_ARCH IH_ARCH_PPC
 #elif defined(__ARM__)
 #define IH_ARCH IH_ARCH_ARM
-#elif defined(__I386__) || defined(__x86_64__)
+#elif defined(__I386__) || defined(__x86_64__) || defined(__i386__)
 #define IH_ARCH IH_ARCH_I386
 #elif defined(__mips__)
 #define IH_ARCH IH_ARCH_MIPS
-- 
1.8.3




More information about the barebox mailing list