mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* bootm command support for x86
@ 2013-06-01  1:51 Masaki Muranaka
  2013-06-01  8:13 ` antonynpavlov
  0 siblings, 1 reply; 2+ messages in thread
From: Masaki Muranaka @ 2013-06-01  1:51 UTC (permalink / raw)
  To: barebox

Hello,

It enables to build bootm command on generic_x86.
I'm not sure but I guess we don't need defined(__I386__) check.
I kept it for now.

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


--
--
Masaki Muranaka
Monami-ya LLC, Japan.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bootm command support for x86
  2013-06-01  1:51 bootm command support for x86 Masaki Muranaka
@ 2013-06-01  8:13 ` antonynpavlov
  0 siblings, 0 replies; 2+ messages in thread
From: antonynpavlov @ 2013-06-01  8:13 UTC (permalink / raw)
  To: Masaki Muranaka; +Cc: barebox

On Sat, 1 Jun 2013 10:51:03 +0900
Masaki Muranaka <monaka@monami-ya.jp> wrote:

Can you use 'git format-patch' to prepare your patches and 'git send-email' to send them, please?

> It enables to build bootm command on generic_x86.
> I'm not sure but I guess we don't need defined(__I386__) check.
> I kept it for now.
> 
> 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
> 
> 
> --
> --
> Masaki Muranaka
> Monami-ya LLC, Japan.
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-01  8:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-01  1:51 bootm command support for x86 Masaki Muranaka
2013-06-01  8:13 ` antonynpavlov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox