Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] syslinux: Add patch to build efi/wrapper with the host toolchain
@ 2017-06-12 13:16 Benoît Allard
  2017-06-12 21:55 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Benoît Allard @ 2017-06-12 13:16 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Beno?t Allard <benoit.allard@greenbone.net>
---
 ...-wrapper-build-it-with-the-host-toolchain.patch | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 boot/syslinux/0010-efi-wrapper-build-it-with-the-host-toolchain.patch

diff --git a/boot/syslinux/0010-efi-wrapper-build-it-with-the-host-toolchain.patch b/boot/syslinux/0010-efi-wrapper-build-it-with-the-host-toolchain.patch
new file mode 100644
index 0000000..e32f4d8
--- /dev/null
+++ b/boot/syslinux/0010-efi-wrapper-build-it-with-the-host-toolchain.patch
@@ -0,0 +1,29 @@
+From 755c947e9166366bd1a78efb1e0c7d6e6e2daa07 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Beno=C3=AEt=20Allard?= <benoit.allard@greenbone.net>
+Date: Mon, 12 Jun 2017 14:59:16 +0200
+Subject: [PATCH] efi/wrapper: build it with the host toolchain.
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Beno?t Allard <benoit.allard@greenbone.net>
+---
+ efi/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/efi/Makefile b/efi/Makefile
+index d3788d9..a17258a 100644
+--- a/efi/Makefile
++++ b/efi/Makefile
+@@ -78,7 +78,7 @@ syslinux.so: $(OBJS) $(CORE_OBJS) $(LIB_OBJS)
+ #	cp $^ $@
+ 
+ wrapper: wrapper.c
+-	$(CC) $^ -o $@
++	$(CC_FOR_BUILD) $^ -o $@
+ 
+ #
+ # Build the wrapper app and wrap our .so to produce a .efi
+-- 
+2.1.4
+
-- 
2.1.4

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

* [Buildroot] [PATCH] syslinux: Add patch to build efi/wrapper with the host toolchain
  2017-06-12 13:16 [Buildroot] [PATCH] syslinux: Add patch to build efi/wrapper with the host toolchain Benoît Allard
@ 2017-06-12 21:55 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-06-12 21:55 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 12 Jun 2017 15:16:41 +0200, Beno?t Allard wrote:
> Signed-off-by: Beno?t Allard <benoit.allard@greenbone.net>
> ---
>  ...-wrapper-build-it-with-the-host-toolchain.patch | 29 ++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>  create mode 100644 boot/syslinux/0010-efi-wrapper-build-it-with-the-host-toolchain.patch

Applied to master, thanks. I've tested locally, and it fixes my
problem. It's worth mentioning that I have extended a bit your commit
log, and the patch description, because it was very terse.

Thanks again!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2017-06-12 21:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-12 13:16 [Buildroot] [PATCH] syslinux: Add patch to build efi/wrapper with the host toolchain Benoît Allard
2017-06-12 21:55 ` Thomas Petazzoni

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