* [PATCH] Allow simple cross-compilation of library
@ 2012-06-27 13:22 Jon Loeliger
[not found] ` <E1SjsCv-0006dk-SV-CYoMK+44s/E@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Jon Loeliger @ 2012-06-27 13:22 UTC (permalink / raw)
To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ; +Cc: Christoffer Dall
[ Forwarded to devicetree dev list for comment. --jdl ]
------- Forwarded Message
Subject: [PATCH] Allow simple cross-compilation of library
To: jdl-CYoMK+44s/E@public.gmane.org
From: Christoffer Dall <c.dall-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J@public.gmane.org>
Date: Tue, 05 Jun 2012 13:09:59 -0400
Message-ID: <20120605170959.12774.39782.stgit@ubuntu>
This is extremely useful when cross-compiling the library to be
linked with cross-compiled QEMU.
Signed-off-by: Christoffer Dall <c.dall-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J@public.gmane.org>
- ---
Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile b/Makefile
index 1169e6c..efa79c1 100644
- --- a/Makefile
+++ b/Makefile
@@ -15,6 +15,10 @@ EXTRAVERSION =
LOCAL_VERSION =
CONFIG_LOCALVERSION =
+CC=${CROSS_COMPILE}gcc
+LD=${CROSS_COMPILE}ld
+AS=${CROSS_COMPILE}as
+
CPPFLAGS = -I libfdt -I .
WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
-Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls
------- End of Forwarded Message
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Allow simple cross-compilation of library
[not found] ` <E1SjsCv-0006dk-SV-CYoMK+44s/E@public.gmane.org>
@ 2012-06-28 3:07 ` David Gibson
[not found] ` <20120628030714.GA10546-MK4v0fQdeXQXU02nzanrWNbf9cGiqdzd@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: David Gibson @ 2012-06-28 3:07 UTC (permalink / raw)
To: Jon Loeliger; +Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Christoffer Dall
On Wed, Jun 27, 2012 at 08:22:57AM -0500, Jon Loeliger wrote:
>
> [ Forwarded to devicetree dev list for comment. --jdl ]
Yeah, I guess that makes sense.
>
>
> ------- Forwarded Message
>
> Subject: [PATCH] Allow simple cross-compilation of library
> To: jdl-CYoMK+44s/E@public.gmane.org
> From: Christoffer Dall <c.dall-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J@public.gmane.org>
> Date: Tue, 05 Jun 2012 13:09:59 -0400
> Message-ID: <20120605170959.12774.39782.stgit@ubuntu>
>
>
> This is extremely useful when cross-compiling the library to be
> linked with cross-compiled QEMU.
>
> Signed-off-by: Christoffer Dall <c.dall-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J@public.gmane.org>
> - ---
> Makefile | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index 1169e6c..efa79c1 100644
> - --- a/Makefile
> +++ b/Makefile
> @@ -15,6 +15,10 @@ EXTRAVERSION =
> LOCAL_VERSION =
> CONFIG_LOCALVERSION =
>
> +CC=${CROSS_COMPILE}gcc
> +LD=${CROSS_COMPILE}ld
> +AS=${CROSS_COMPILE}as
> +
> CPPFLAGS = -I libfdt -I .
> WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
> -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls
>
>
> ------- End of Forwarded Message
>
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss
>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Allow simple cross-compilation of library
[not found] ` <20120628030714.GA10546-MK4v0fQdeXQXU02nzanrWNbf9cGiqdzd@public.gmane.org>
@ 2013-01-06 22:09 ` Jon Loeliger
0 siblings, 0 replies; 3+ messages in thread
From: Jon Loeliger @ 2013-01-06 22:09 UTC (permalink / raw)
To: David Gibson; +Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Christoffer Dall
> On Wed, Jun 27, 2012 at 08:22:57AM -0500, Jon Loeliger wrote:
> >
> > [ Forwarded to devicetree dev list for comment. --jdl ]
>
> Yeah, I guess that makes sense.
>
> >
> >
> > ------- Forwarded Message
> >
> > Subject: [PATCH] Allow simple cross-compilation of library
> > To: jdl-CYoMK+44s/E@public.gmane.org
> > From: Christoffer Dall <c.dall-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J@public.gmane.org>
> > Date: Tue, 05 Jun 2012 13:09:59 -0400
> > Message-ID: <20120605170959.12774.39782.stgit@ubuntu>
> >
> >
> > This is extremely useful when cross-compiling the library to be
> > linked with cross-compiled QEMU.
> >
> > Signed-off-by: Christoffer Dall <c.dall-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J@public.gmane.org>
> > - ---
> > Makefile | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/Makefile b/Makefile
> > index 1169e6c..efa79c1 100644
> > - --- a/Makefile
> > +++ b/Makefile
> > @@ -15,6 +15,10 @@ EXTRAVERSION =
> > LOCAL_VERSION =
> > CONFIG_LOCALVERSION =
> >
> > +CC=${CROSS_COMPILE}gcc
> > +LD=${CROSS_COMPILE}ld
> > +AS=${CROSS_COMPILE}as
> > +
> > CPPFLAGS = -I libfdt -I .
> > WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
> > -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls
Any further comment, or should I just apply this?
Thanks,
jdl
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-06 22:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-27 13:22 [PATCH] Allow simple cross-compilation of library Jon Loeliger
[not found] ` <E1SjsCv-0006dk-SV-CYoMK+44s/E@public.gmane.org>
2012-06-28 3:07 ` David Gibson
[not found] ` <20120628030714.GA10546-MK4v0fQdeXQXU02nzanrWNbf9cGiqdzd@public.gmane.org>
2013-01-06 22:09 ` Jon Loeliger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.