Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/4] fixes for gummiboot and gnu-efi
@ 2014-03-27  8:11 Robert Yang
  2014-03-27  8:11 ` [PATCH 1/4] gnu-efi: fix the LIBDIR Robert Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Robert Yang @ 2014-03-27  8:11 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 109f6731210053ac6c490fc49956d0f65078f0ef:

  util-linux-native: fix qsort_r for CentOS 5.10 (2014-03-27 03:45:56 -0400)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/gummiboot
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/gummiboot

Robert Yang (4):
  gnu-efi: fix the LIBDIR
  gummiboot: add COMPATIBLE_HOST
  gummiboot: use objcopy from the env
  gummiboot: fix the installed but not shipped warning

 meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb           |    2 +-
 .../gummiboot/gummiboot/fix-objcopy.patch          |   39 ++++++++++++++++++++
 meta/recipes-bsp/gummiboot/gummiboot_git.bb        |    8 +++-
 3 files changed, 47 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch

-- 
1.7.10.4



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

* [PATCH 1/4] gnu-efi: fix the LIBDIR
  2014-03-27  8:11 [PATCH 0/4] fixes for gummiboot and gnu-efi Robert Yang
@ 2014-03-27  8:11 ` Robert Yang
  2014-03-27  8:11 ` [PATCH 2/4] gummiboot: add COMPATIBLE_HOST Robert Yang
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 12+ messages in thread
From: Robert Yang @ 2014-03-27  8:11 UTC (permalink / raw)
  To: openembedded-core

Its LIBDIR in Makefile is:

LIBDIR = $(PREFIX)/lib

This is incorrect for 64 bit bsp, thus will cause build failures on gummiboot:

ld: cannot open linker script file /path/to/usr/lib64/elf_x86_64_efi.lds: No such file or directory

[YOCTO #6053]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
index 0dbdba2..dbf2a07 100644
--- a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
+++ b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0u.bb
@@ -23,7 +23,7 @@ def gnu_efi_arch(d):
     return tarch
 
 EXTRA_OEMAKE = "'ARCH=${@gnu_efi_arch(d)}' 'CC=${CC}' 'AS=${AS}' 'LD=${LD}' 'AR=${AR}' \
-                'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' 'PREFIX=${prefix}'\
+                'RANLIB=${RANLIB}' 'OBJCOPY=${OBJCOPY}' 'PREFIX=${prefix}' 'LIBDIR=${libdir}' \
                 "
 
 do_install() {
-- 
1.7.10.4



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

* [PATCH 2/4] gummiboot: add COMPATIBLE_HOST
  2014-03-27  8:11 [PATCH 0/4] fixes for gummiboot and gnu-efi Robert Yang
  2014-03-27  8:11 ` [PATCH 1/4] gnu-efi: fix the LIBDIR Robert Yang
@ 2014-03-27  8:11 ` Robert Yang
  2014-03-27 11:39   ` Martin Jansa
  2014-03-27 16:08   ` Khem Raj
  2014-03-27  8:11 ` [PATCH 3/4] gummiboot: use objcopy from the env Robert Yang
  2014-03-27  8:11 ` [PATCH 4/4] gummiboot: fix the installed but not shipped warning Robert Yang
  3 siblings, 2 replies; 12+ messages in thread
From: Robert Yang @ 2014-03-27  8:11 UTC (permalink / raw)
  To: openembedded-core

The gummiboot depends on gnu-efi which had set:

COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"

We also need set this for gummiboot, otherwise there would be build
failures for other non-x86 archs.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-bsp/gummiboot/gummiboot_git.bb |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-bsp/gummiboot/gummiboot_git.bb b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
index 5868a23..61de58c 100644
--- a/meta/recipes-bsp/gummiboot/gummiboot_git.bb
+++ b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
@@ -13,6 +13,8 @@ PV = "43+git${SRCPV}"
 SRCREV = "4062c51075ba054d4949c714fe06123f9ad3097d"
 SRC_URI = "git://anongit.freedesktop.org/gummiboot"
 
+COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
+
 S = "${WORKDIR}/git"
 
 EXTRA_OECONF = "--disable-manpages --with-efi-includedir=${STAGING_INCDIR} \
-- 
1.7.10.4



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

* [PATCH 3/4] gummiboot: use objcopy from the env
  2014-03-27  8:11 [PATCH 0/4] fixes for gummiboot and gnu-efi Robert Yang
  2014-03-27  8:11 ` [PATCH 1/4] gnu-efi: fix the LIBDIR Robert Yang
  2014-03-27  8:11 ` [PATCH 2/4] gummiboot: add COMPATIBLE_HOST Robert Yang
@ 2014-03-27  8:11 ` Robert Yang
  2014-03-28  0:49   ` Khem Raj
  2014-03-27  8:11 ` [PATCH 4/4] gummiboot: fix the installed but not shipped warning Robert Yang
  3 siblings, 1 reply; 12+ messages in thread
From: Robert Yang @ 2014-03-27  8:11 UTC (permalink / raw)
  To: openembedded-core

Fix the error:
[snip]
| nm -D -u src/efi/gummiboot.so | grep ' U ' && exit 1 || :
| objcopy -j .text -j .sdata -j .data -j .dynamic \
|   -j .dynsym -j .rel -j .rela -j .reloc -j .eh_frame \
|   --target=efi-app-x86_64 src/efi/gummiboot.so gummibootx64.efi
| objcopy: src/efi/gummiboot.so: Invalid bfd target
| make[1]: *** [gummibootx64.efi] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make: *** [all] Error 2
[snip]

It uses the "objcopy" directly, which is not suitable for cross compile.

[YOCTO #6054]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 .../gummiboot/gummiboot/fix-objcopy.patch          |   39 ++++++++++++++++++++
 meta/recipes-bsp/gummiboot/gummiboot_git.bb        |    4 +-
 2 files changed, 42 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch

diff --git a/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch b/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch
new file mode 100644
index 0000000..2683f83
--- /dev/null
+++ b/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch
@@ -0,0 +1,39 @@
+From 0f7f9e3bb1d0e1b93f3ad8a1d5d7bdd3fbf27494 Mon Sep 17 00:00:00 2001
+From: Robert Yang <liezhi.yang@windriver.com>
+Date: Thu, 27 Mar 2014 07:20:33 +0000
+Subject: [PATCH] Makefile.am: use objcopy from the env
+
+It uses the "objcopy" directly, which is not suitable for cross compile.
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ Makefile.am | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index d224418..dcd95b0 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -19,6 +19,8 @@
+ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+ AM_MAKEFLAGS = --no-print-directory
+ 
++OBJCOPY ?= objcopy
++
+ gummibootlibdir = $(prefix)/lib/gummiboot
+ 
+ AM_CPPFLAGS = -include config.h
+@@ -143,7 +145,7 @@ $(efi_solib): $(efi_objects)
+ .DELETE_ON_ERROR: $(efi_solib)
+ 
+ $(efi_loadername): $(efi_solib)
+-	$(AM_V_GEN) objcopy -j .text -j .sdata -j .data -j .dynamic \
++	$(AM_V_GEN) $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \
+ 	  -j .dynsym -j .rel -j .rela -j .reloc -j .eh_frame \
+ 	  --target=efi-app-$(ARCH) $< $@
+ 
+-- 
+1.8.3.4
+
diff --git a/meta/recipes-bsp/gummiboot/gummiboot_git.bb b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
index 61de58c..b0435f5 100644
--- a/meta/recipes-bsp/gummiboot/gummiboot_git.bb
+++ b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
@@ -11,7 +11,9 @@ inherit deploy
 
 PV = "43+git${SRCPV}"
 SRCREV = "4062c51075ba054d4949c714fe06123f9ad3097d"
-SRC_URI = "git://anongit.freedesktop.org/gummiboot"
+SRC_URI = "git://anongit.freedesktop.org/gummiboot \
+           file://fix-objcopy.patch \
+          "
 
 COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
 
-- 
1.7.10.4



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

* [PATCH 4/4] gummiboot: fix the installed but not shipped warning
  2014-03-27  8:11 [PATCH 0/4] fixes for gummiboot and gnu-efi Robert Yang
                   ` (2 preceding siblings ...)
  2014-03-27  8:11 ` [PATCH 3/4] gummiboot: use objcopy from the env Robert Yang
@ 2014-03-27  8:11 ` Robert Yang
  3 siblings, 0 replies; 12+ messages in thread
From: Robert Yang @ 2014-03-27  8:11 UTC (permalink / raw)
  To: openembedded-core

Fix the warning:
WARNING: QA Issue: gummiboot: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/gummiboot
  /usr/lib/gummiboot/gummibootx64.efi

This is because it uses "/usr/lib" in gummibootlibdir, use ${libdir} to
fix it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-bsp/gummiboot/gummiboot_git.bb |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-bsp/gummiboot/gummiboot_git.bb b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
index b0435f5..8d93b20 100644
--- a/meta/recipes-bsp/gummiboot/gummiboot_git.bb
+++ b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
@@ -23,6 +23,8 @@ EXTRA_OECONF = "--disable-manpages --with-efi-includedir=${STAGING_INCDIR} \
                 --with-efi-ldsdir=${STAGING_LIBDIR} \
                 --with-efi-libdir=${STAGING_LIBDIR}"
 
+EXTRA_OEMAKE += "gummibootlibdir=${libdir}/gummiboot"
+
 do_deploy () {
         install ${B}/gummiboot*.efi ${DEPLOYDIR}
 }
-- 
1.7.10.4



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

* Re: [PATCH 2/4] gummiboot: add COMPATIBLE_HOST
  2014-03-27  8:11 ` [PATCH 2/4] gummiboot: add COMPATIBLE_HOST Robert Yang
@ 2014-03-27 11:39   ` Martin Jansa
  2014-03-27 14:48     ` Robert Yang
  2014-03-27 16:08   ` Khem Raj
  1 sibling, 1 reply; 12+ messages in thread
From: Martin Jansa @ 2014-03-27 11:39 UTC (permalink / raw)
  To: Robert Yang; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1527 bytes --]

On Thu, Mar 27, 2014 at 04:11:22AM -0400, Robert Yang wrote:
> The gummiboot depends on gnu-efi which had set:
> 
> COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
> 
> We also need set this for gummiboot, otherwise there would be build
> failures for other non-x86 archs.
> 
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>  meta/recipes-bsp/gummiboot/gummiboot_git.bb |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-bsp/gummiboot/gummiboot_git.bb b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
> index 5868a23..61de58c 100644
> --- a/meta/recipes-bsp/gummiboot/gummiboot_git.bb
> +++ b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
> @@ -13,6 +13,8 @@ PV = "43+git${SRCPV}"
>  SRCREV = "4062c51075ba054d4949c714fe06123f9ad3097d"
>  SRC_URI = "git://anongit.freedesktop.org/gummiboot"
>  

It would be good to add comment here saying it's only because of gnu-efi
dependency (if gummiboot itself can in theory work on other hosts).

People won't notice it in commit message when they are looking at
recipe.

> +COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
> +
>  S = "${WORKDIR}/git"
>  
>  EXTRA_OECONF = "--disable-manpages --with-efi-includedir=${STAGING_INCDIR} \
> -- 
> 1.7.10.4
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [PATCH 2/4] gummiboot: add COMPATIBLE_HOST
  2014-03-27 11:39   ` Martin Jansa
@ 2014-03-27 14:48     ` Robert Yang
  2014-03-27 14:54       ` Robert Yang
  0 siblings, 1 reply; 12+ messages in thread
From: Robert Yang @ 2014-03-27 14:48 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core



On 03/27/2014 07:39 PM, Martin Jansa wrote:
> On Thu, Mar 27, 2014 at 04:11:22AM -0400, Robert Yang wrote:
>> The gummiboot depends on gnu-efi which had set:
>>
>> COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
>>
>> We also need set this for gummiboot, otherwise there would be build
>> failures for other non-x86 archs.
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>>   meta/recipes-bsp/gummiboot/gummiboot_git.bb |    2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/meta/recipes-bsp/gummiboot/gummiboot_git.bb b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
>> index 5868a23..61de58c 100644
>> --- a/meta/recipes-bsp/gummiboot/gummiboot_git.bb
>> +++ b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
>> @@ -13,6 +13,8 @@ PV = "43+git${SRCPV}"
>>   SRCREV = "4062c51075ba054d4949c714fe06123f9ad3097d"
>>   SRC_URI = "git://anongit.freedesktop.org/gummiboot"
>>
>
> It would be good to add comment here saying it's only because of gnu-efi
> dependency (if gummiboot itself can in theory work on other hosts).
>

Sounds reasonable, updated:

   git://git.openembedded.org/openembedded-core-contrib rbt/gummiboot
 
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/gummiboot

diff --git a/meta/recipes-bsp/gummiboot/gummiboot_git.bb 
b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
index 61de58c..035cec1 100644
--- a/meta/recipes-bsp/gummiboot/gummiboot_git.bb
+++ b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
@@ -13,6 +13,9 @@ PV = "43+git${SRCPV}"
  SRCREV = "4062c51075ba054d4949c714fe06123f9ad3097d"
  SRC_URI = "git://anongit.freedesktop.org/gummiboot"

+# Note: Add COMPATIBLE_HOST here is only because it depends on gnu-efi
+# which has set the COMPATIBLE_HOST, the gummiboot itself may work on
+# more hosts.
  COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"

  S = "${WORKDIR}/git"

// Robert


> People won't notice it in commit message when they are looking at
> recipe.
>
>> +COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
>> +
>>   S = "${WORKDIR}/git"
>>
>>   EXTRA_OECONF = "--disable-manpages --with-efi-includedir=${STAGING_INCDIR} \
>> --
>> 1.7.10.4
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


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

* Re: [PATCH 2/4] gummiboot: add COMPATIBLE_HOST
  2014-03-27 14:48     ` Robert Yang
@ 2014-03-27 14:54       ` Robert Yang
  0 siblings, 0 replies; 12+ messages in thread
From: Robert Yang @ 2014-03-27 14:54 UTC (permalink / raw)
  To: openembedded-core



On 03/27/2014 10:48 PM, Robert Yang wrote:
>
>
> On 03/27/2014 07:39 PM, Martin Jansa wrote:
>> On Thu, Mar 27, 2014 at 04:11:22AM -0400, Robert Yang wrote:
>>> The gummiboot depends on gnu-efi which had set:
>>>
>>> COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
>>>
>>> We also need set this for gummiboot, otherwise there would be build
>>> failures for other non-x86 archs.
>>>
>>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>>> ---
>>>   meta/recipes-bsp/gummiboot/gummiboot_git.bb |    2 ++
>>>   1 file changed, 2 insertions(+)
>>>
>>> diff --git a/meta/recipes-bsp/gummiboot/gummiboot_git.bb
>>> b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
>>> index 5868a23..61de58c 100644
>>> --- a/meta/recipes-bsp/gummiboot/gummiboot_git.bb
>>> +++ b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
>>> @@ -13,6 +13,8 @@ PV = "43+git${SRCPV}"
>>>   SRCREV = "4062c51075ba054d4949c714fe06123f9ad3097d"
>>>   SRC_URI = "git://anongit.freedesktop.org/gummiboot"
>>>
>>
>> It would be good to add comment here saying it's only because of gnu-efi
>> dependency (if gummiboot itself can in theory work on other hosts).
>>
>
> Sounds reasonable, updated:
>
>    git://git.openembedded.org/openembedded-core-contrib rbt/gummiboot
>
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/gummiboot
>
>
> diff --git a/meta/recipes-bsp/gummiboot/gummiboot_git.bb
> b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
> index 61de58c..035cec1 100644
> --- a/meta/recipes-bsp/gummiboot/gummiboot_git.bb
> +++ b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
> @@ -13,6 +13,9 @@ PV = "43+git${SRCPV}"
>   SRCREV = "4062c51075ba054d4949c714fe06123f9ad3097d"
>   SRC_URI = "git://anongit.freedesktop.org/gummiboot"
>
> +# Note: Add COMPATIBLE_HOST here is only because it depends on gnu-efi
> +# which has set the COMPATIBLE_HOST, the gummiboot itself may work on
> +# more hosts.
>   COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"

Lacked a "+" here, it should be:

diff --git a/meta/recipes-bsp/gummiboot/gummiboot_git.bb 
b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
index 5868a23..035cec1 100644
--- a/meta/recipes-bsp/gummiboot/gummiboot_git.bb
+++ b/meta/recipes-bsp/gummiboot/gummiboot_git.bb
@@ -13,6 +13,11 @@ PV = "43+git${SRCPV}"
  SRCREV = "4062c51075ba054d4949c714fe06123f9ad3097d"
  SRC_URI = "git://anongit.freedesktop.org/gummiboot"

+# Note: Add COMPATIBLE_HOST here is only because it depends on gnu-efi
+# which has set the COMPATIBLE_HOST, the gummiboot itself may work on
+# more hosts.
+COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
+
  S = "${WORKDIR}/git"

  EXTRA_OECONF = "--disable-manpages --with-efi-includedir=${STAGING_INCDIR} \

// Robert

>
>   S = "${WORKDIR}/git"
>
> // Robert
>
>
>> People won't notice it in commit message when they are looking at
>> recipe.
>>
>>> +COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
>>> +
>>>   S = "${WORKDIR}/git"
>>>
>>>   EXTRA_OECONF = "--disable-manpages --with-efi-includedir=${STAGING_INCDIR} \
>>> --
>>> 1.7.10.4
>>>
>>> --
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>


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

* Re: [PATCH 2/4] gummiboot: add COMPATIBLE_HOST
  2014-03-27  8:11 ` [PATCH 2/4] gummiboot: add COMPATIBLE_HOST Robert Yang
  2014-03-27 11:39   ` Martin Jansa
@ 2014-03-27 16:08   ` Khem Raj
  2014-03-27 20:45     ` Fathi Boudra
  1 sibling, 1 reply; 12+ messages in thread
From: Khem Raj @ 2014-03-27 16:08 UTC (permalink / raw)
  To: Robert Yang; +Cc: Patches and discussions about the oe-core layer

On Thu, Mar 27, 2014 at 1:11 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
> The gummiboot depends on gnu-efi which had set:
>
> COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
>
> We also need set this for gummiboot, otherwise there would be build
> failures for other non-x86 archs.

isn't gnu-efi supported on arm too now ?


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

* Re: [PATCH 2/4] gummiboot: add COMPATIBLE_HOST
  2014-03-27 16:08   ` Khem Raj
@ 2014-03-27 20:45     ` Fathi Boudra
  0 siblings, 0 replies; 12+ messages in thread
From: Fathi Boudra @ 2014-03-27 20:45 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer

On 27 March 2014 18:08, Khem Raj <raj.khem@gmail.com> wrote:
> On Thu, Mar 27, 2014 at 1:11 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
>> The gummiboot depends on gnu-efi which had set:
>>
>> COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
>>
>> We also need set this for gummiboot, otherwise there would be build
>> failures for other non-x86 archs.
>
> isn't gnu-efi supported on arm too now ?

on ARM, Tianocore EDK II is used with GRUB for the boot manager.
I haven't heard about using EDK II with gummiboot... yet.


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

* Re: [PATCH 3/4] gummiboot: use objcopy from the env
  2014-03-27  8:11 ` [PATCH 3/4] gummiboot: use objcopy from the env Robert Yang
@ 2014-03-28  0:49   ` Khem Raj
  2014-03-28  3:02     ` Robert Yang
  0 siblings, 1 reply; 12+ messages in thread
From: Khem Raj @ 2014-03-28  0:49 UTC (permalink / raw)
  To: Robert Yang; +Cc: Patches and discussions about the oe-core layer

On Thu, Mar 27, 2014 at 1:11 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
> ++OBJCOPY ?= objcopy

if it is a automake file you could also try

OBJCOPY = @OBJCOPY@

instead of above weak assignment.


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

* Re: [PATCH 3/4] gummiboot: use objcopy from the env
  2014-03-28  0:49   ` Khem Raj
@ 2014-03-28  3:02     ` Robert Yang
  0 siblings, 0 replies; 12+ messages in thread
From: Robert Yang @ 2014-03-28  3:02 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer



On 03/28/2014 08:49 AM, Khem Raj wrote:
> On Thu, Mar 27, 2014 at 1:11 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
>> ++OBJCOPY ?= objcopy
>
> if it is a automake file you could also try
>
> OBJCOPY = @OBJCOPY@
>
> instead of above weak assignment.
>

Hello Khem,

I had tried that before, but it didn't work since the configure didn't
check objcopy or there was no AC_SUBST([OBJCOPY])

// Robert

>


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

end of thread, other threads:[~2014-03-28  3:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-27  8:11 [PATCH 0/4] fixes for gummiboot and gnu-efi Robert Yang
2014-03-27  8:11 ` [PATCH 1/4] gnu-efi: fix the LIBDIR Robert Yang
2014-03-27  8:11 ` [PATCH 2/4] gummiboot: add COMPATIBLE_HOST Robert Yang
2014-03-27 11:39   ` Martin Jansa
2014-03-27 14:48     ` Robert Yang
2014-03-27 14:54       ` Robert Yang
2014-03-27 16:08   ` Khem Raj
2014-03-27 20:45     ` Fathi Boudra
2014-03-27  8:11 ` [PATCH 3/4] gummiboot: use objcopy from the env Robert Yang
2014-03-28  0:49   ` Khem Raj
2014-03-28  3:02     ` Robert Yang
2014-03-27  8:11 ` [PATCH 4/4] gummiboot: fix the installed but not shipped warning Robert Yang

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