mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] u-boot-mkimage: apply OS X support
@ 2012-01-19 15:29 Andreas Bießmann
  2012-01-19 21:37 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Bießmann @ 2012-01-19 15:29 UTC (permalink / raw)
  To: PTXdist ML

This is 6f26185435fa196ab6ca605575fc880d2d0b3e27 in mainline u-boot.

Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
---
BTW: how about switching to mainline u-boot here for creating these tools?

 .../0001-os_support-prepare-for-OS-X.diff          |   23 ++++++++++++++++++++
 patches/u-boot-mkimage-2010.03-1/series            |    1 +
 2 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 patches/u-boot-mkimage-2010.03-1/0001-os_support-prepare-for-OS-X.diff

diff --git a/patches/u-boot-mkimage-2010.03-1/0001-os_support-prepare-for-OS-X.diff b/patches/u-boot-mkimage-2010.03-1/0001-os_support-prepare-for-OS-X.diff
new file mode 100644
index 0000000..2fe0767
--- /dev/null
+++ b/patches/u-boot-mkimage-2010.03-1/0001-os_support-prepare-for-OS-X.diff
@@ -0,0 +1,23 @@
+diff -Nrupa u-boot-mkimage-2010.03-1.orig/include/os_support.h u-boot-mkimage-2010.03-1/include/os_support.h
+--- u-boot-mkimage-2010.03-1.orig/include/os_support.h	2010-06-16 21:55:35.000000000 +0200
++++ u-boot-mkimage-2010.03-1/include/os_support.h	2012-01-19 16:23:49.000000000 +0100
+@@ -28,7 +28,7 @@
+ #include "mingw_support.h"
+ #endif
+ 
+-#ifdef __APPLE__
++#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L
+ #include "getline.h"
+ #endif
+ 
+diff -Nrupa u-boot-mkimage-2010.03-1.orig/src/os_support.c u-boot-mkimage-2010.03-1/src/os_support.c
+--- u-boot-mkimage-2010.03-1.orig/src/os_support.c	2010-06-16 21:55:35.000000000 +0200
++++ u-boot-mkimage-2010.03-1/src/os_support.c	2012-01-19 16:23:22.000000000 +0100
+@@ -23,6 +23,6 @@
+ #ifdef __MINGW32__
+ #include "mingw_support.c"
+ #endif
+-#ifdef __APPLE__
++#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L
+ #include "getline.c"
+ #endif
diff --git a/patches/u-boot-mkimage-2010.03-1/series b/patches/u-boot-mkimage-2010.03-1/series
index dbf4bb4..c5a228a 100644
--- a/patches/u-boot-mkimage-2010.03-1/series
+++ b/patches/u-boot-mkimage-2010.03-1/series
@@ -1 +1,2 @@
 b050c72d52c4e30d5b978ab6758f8dcdbe5c690c-compiler.h-add-uint-typedef.patch
+0001-os_support-prepare-for-OS-X.diff
-- 
1.7.8.3


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] u-boot-mkimage: apply OS X support
  2012-01-19 15:29 [ptxdist] [PATCH] u-boot-mkimage: apply OS X support Andreas Bießmann
@ 2012-01-19 21:37 ` Michael Olbrich
  2012-01-20  7:57   ` Andreas Bießmann
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2012-01-19 21:37 UTC (permalink / raw)
  To: ptxdist

On Thu, Jan 19, 2012 at 04:29:48PM +0100, Andreas Bießmann wrote:
> This is 6f26185435fa196ab6ca605575fc880d2d0b3e27 in mainline u-boot.
> 
> Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
> ---
> BTW: how about switching to mainline u-boot here for creating these tools?

Well, this may be needed even if u-boot is not compiled. But maybe we could
just use some u-boot release as the source tarball for this package and
only build mkimage?

Michael

>  .../0001-os_support-prepare-for-OS-X.diff          |   23 ++++++++++++++++++++
>  patches/u-boot-mkimage-2010.03-1/series            |    1 +
>  2 files changed, 24 insertions(+), 0 deletions(-)
>  create mode 100644 patches/u-boot-mkimage-2010.03-1/0001-os_support-prepare-for-OS-X.diff
> 
> diff --git a/patches/u-boot-mkimage-2010.03-1/0001-os_support-prepare-for-OS-X.diff b/patches/u-boot-mkimage-2010.03-1/0001-os_support-prepare-for-OS-X.diff
> new file mode 100644
> index 0000000..2fe0767
> --- /dev/null
> +++ b/patches/u-boot-mkimage-2010.03-1/0001-os_support-prepare-for-OS-X.diff
> @@ -0,0 +1,23 @@
> +diff -Nrupa u-boot-mkimage-2010.03-1.orig/include/os_support.h u-boot-mkimage-2010.03-1/include/os_support.h
> +--- u-boot-mkimage-2010.03-1.orig/include/os_support.h	2010-06-16 21:55:35.000000000 +0200
> ++++ u-boot-mkimage-2010.03-1/include/os_support.h	2012-01-19 16:23:49.000000000 +0100
> +@@ -28,7 +28,7 @@
> + #include "mingw_support.h"
> + #endif
> + 
> +-#ifdef __APPLE__
> ++#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L
> + #include "getline.h"
> + #endif
> + 
> +diff -Nrupa u-boot-mkimage-2010.03-1.orig/src/os_support.c u-boot-mkimage-2010.03-1/src/os_support.c
> +--- u-boot-mkimage-2010.03-1.orig/src/os_support.c	2010-06-16 21:55:35.000000000 +0200
> ++++ u-boot-mkimage-2010.03-1/src/os_support.c	2012-01-19 16:23:22.000000000 +0100
> +@@ -23,6 +23,6 @@
> + #ifdef __MINGW32__
> + #include "mingw_support.c"
> + #endif
> +-#ifdef __APPLE__
> ++#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L
> + #include "getline.c"
> + #endif
> diff --git a/patches/u-boot-mkimage-2010.03-1/series b/patches/u-boot-mkimage-2010.03-1/series
> index dbf4bb4..c5a228a 100644
> --- a/patches/u-boot-mkimage-2010.03-1/series
> +++ b/patches/u-boot-mkimage-2010.03-1/series
> @@ -1 +1,2 @@
>  b050c72d52c4e30d5b978ab6758f8dcdbe5c690c-compiler.h-add-uint-typedef.patch
> +0001-os_support-prepare-for-OS-X.diff
> -- 
> 1.7.8.3
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de

-- Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] u-boot-mkimage: apply OS X support
  2012-01-19 21:37 ` Michael Olbrich
@ 2012-01-20  7:57   ` Andreas Bießmann
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Bießmann @ 2012-01-20  7:57 UTC (permalink / raw)
  To: ptxdist

Hi Michael,

On 19.01.12 22:37, Michael Olbrich wrote:
> On Thu, Jan 19, 2012 at 04:29:48PM +0100, Andreas Bießmann wrote:
>> This is 6f26185435fa196ab6ca605575fc880d2d0b3e27 in mainline u-boot.
>>
>> Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
>> ---
>> BTW: how about switching to mainline u-boot here for creating these tools?
> 
> Well, this may be needed even if u-boot is not compiled. But maybe we could
> just use some u-boot release as the source tarball for this package and
> only build mkimage?

yes we can. I did this before (we switched to ptxdist) for some project.
Will provide a patch these days.

best regards

Andreas

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2012-01-20  7:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-19 15:29 [ptxdist] [PATCH] u-boot-mkimage: apply OS X support Andreas Bießmann
2012-01-19 21:37 ` Michael Olbrich
2012-01-20  7:57   ` Andreas Bießmann

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