All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHES] Unbreak igep0020
@ 2010-09-03 14:14 Michael Lippautz
  2010-09-03 14:14 ` [PATCH 1/2] x-load/igep0020.conf: Unbreak x-load for igep0020 machine Michael Lippautz
  2010-09-03 14:14 ` [PATCH 2/2] u-boot: Unbreak u-boot 2009.08 for gcc >= 4.4 Michael Lippautz
  0 siblings, 2 replies; 9+ messages in thread
From: Michael Lippautz @ 2010-09-03 14:14 UTC (permalink / raw)
  To: openembedded-devel

These patches should unbreak the igep0020 (igepv2) machine.

* x-load is required since e2b9225af36b2979b255634f79ceecea482601a7.
* u-boot-2009.08 has been unbuildable with recent gcc.

Since I am not the maintainer of the machine/x-load/u-boot, ACKs or 
comments are needed.




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

* [PATCH 1/2] x-load/igep0020.conf: Unbreak x-load for igep0020 machine.
  2010-09-03 14:14 [PATCHES] Unbreak igep0020 Michael Lippautz
@ 2010-09-03 14:14 ` Michael Lippautz
  2010-09-03 21:49   ` Khem Raj
  2010-09-21 12:27   ` Eric Bénard
  2010-09-03 14:14 ` [PATCH 2/2] u-boot: Unbreak u-boot 2009.08 for gcc >= 4.4 Michael Lippautz
  1 sibling, 2 replies; 9+ messages in thread
From: Michael Lippautz @ 2010-09-03 14:14 UTC (permalink / raw)
  To: openembedded-devel

* x-load is needed since e2b9225af36b2979b255634f79ceecea482601a7

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
---
 conf/machine/igep0020.conf                         |    2 ++
 .../x-load-git/igep0020/remove-final-ldflags.patch |   11 +++++++++++
 recipes/x-load/x-load_git.bb                       |    7 ++++++-
 3 files changed, 19 insertions(+), 1 deletions(-)
 create mode 100644 recipes/x-load/x-load-git/igep0020/remove-final-ldflags.patch

diff --git a/conf/machine/igep0020.conf b/conf/machine/igep0020.conf
index 55c1850..6295010 100644
--- a/conf/machine/igep0020.conf
+++ b/conf/machine/igep0020.conf
@@ -21,6 +21,8 @@ KERNEL_IMAGETYPE = "uImage"
 
 UBOOT_MACHINE = "omap3_igep0020b_config"
 
+XLOAD_MACHINE = "igep0020-flash_config"
+
 IMAGE_FSTYPES += "tar.bz2 ubi"
 
 # Guesswork
diff --git a/recipes/x-load/x-load-git/igep0020/remove-final-ldflags.patch b/recipes/x-load/x-load-git/igep0020/remove-final-ldflags.patch
new file mode 100644
index 0000000..c5ac09b
--- /dev/null
+++ b/recipes/x-load/x-load-git/igep0020/remove-final-ldflags.patch
@@ -0,0 +1,11 @@
+--- a/Makefile	2010-09-03 09:59:12.000000000 +0200
++++ b/Makefile	2010-09-03 10:43:46.650000018 +0200
+@@ -90,7 +90,7 @@
+  
+ x-load:	$(OBJS) $(LIBS) $(LDSCRIPT)
+ 		UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed  -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
+- 		$(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \
++ 		$(LD) $$UNDEF_SYM $(OBJS) \
+ 			--start-group $(LIBS) --end-group $(PLATFORM_LIBS) \
+ 			-Map x-load.map -o x-load
+  
diff --git a/recipes/x-load/x-load_git.bb b/recipes/x-load/x-load_git.bb
index cbcbf17..eb4a2de 100644
--- a/recipes/x-load/x-load_git.bb
+++ b/recipes/x-load/x-load_git.bb
@@ -9,7 +9,7 @@ SRCREV_beagleboard = "1c9276af4d6a5b7014a7630a1abeddf3b3177563"
 
 PV = "1.42+${PR}+gitr${SRCREV}"
 PV_beagleboard = "1.44+${PR}+gitr${SRCREV}"
-PR ="r15"
+PR ="r16"
 PE = "1"
 
 SRC_URI = "git://gitorious.org/x-load-omap3/mainline.git;branch=master;protocol=git"
@@ -56,6 +56,11 @@ SRCREV_omapzoom36x = "251d92815500143aefdbe3b3558a0ce6daeaebdc"
 SRC_URI[uboot.md5sum] = "e68b30714d22ce2f926d2dd19f94a2be"
 SRC_URI[uboot.sha256sum] = "e7e5c87d939cc4c1f14d17ea0814b0bed97021c7afca3ef9053c896c2b5bdd6f"
 
+SRC_URI_igep0020 = "git://git.igep.es/pub/scm/x-loader.git;protocol=git \
+                    file://remove-final-ldflags.patch"
+SRCREV_igep0020 = "213d95fcadc54424c796259928d7c15c5a2945a0"
+PV_igep0020 = "1.43+${PR}+gitr${SRCREV}"
+
 S = "${WORKDIR}/git"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-- 
1.7.1




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

* [PATCH 2/2] u-boot: Unbreak u-boot 2009.08 for gcc >= 4.4
  2010-09-03 14:14 [PATCHES] Unbreak igep0020 Michael Lippautz
  2010-09-03 14:14 ` [PATCH 1/2] x-load/igep0020.conf: Unbreak x-load for igep0020 machine Michael Lippautz
@ 2010-09-03 14:14 ` Michael Lippautz
  2010-09-03 18:51   ` Khem Raj
  1 sibling, 1 reply; 9+ messages in thread
From: Michael Lippautz @ 2010-09-03 14:14 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
---
 .../u-boot-2009.08/dont-inline-weak-symbols.patch  |   45 ++++++++++++++++++++
 recipes/u-boot/u-boot_2009.08.bb                   |    5 ++-
 2 files changed, 49 insertions(+), 1 deletions(-)
 create mode 100644 recipes/u-boot/u-boot-2009.08/dont-inline-weak-symbols.patch

diff --git a/recipes/u-boot/u-boot-2009.08/dont-inline-weak-symbols.patch b/recipes/u-boot/u-boot-2009.08/dont-inline-weak-symbols.patch
new file mode 100644
index 0000000..5931ccf
--- /dev/null
+++ b/recipes/u-boot/u-boot-2009.08/dont-inline-weak-symbols.patch
@@ -0,0 +1,45 @@
+Patch initially created by Ron Lee and archived in OE patchwork at
+http://patchwork.openembedded.org/patch/1534/.
+
+GCC 4.4 complains about this now.
+
+Signed-off-by: Ron Lee <ron@debian.org>
+---
+ lib_arm/board.c |   18 +++++++++---------
+ 1 files changed, 9 insertions(+), 9 deletions(-)
+
+--- a/lib_arm/board.c
++++ b/lib_arm/board.c
+@@ -124,23 +124,23 @@
+  * May be supplied by boards if desired
+  */
+ void inline __coloured_LED_init (void) {}
+-void inline coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init")));
++void coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init")));
+ void inline __red_LED_on (void) {}
+-void inline red_LED_on (void) __attribute__((weak, alias("__red_LED_on")));
++void red_LED_on (void) __attribute__((weak, alias("__red_LED_on")));
+ void inline __red_LED_off(void) {}
+-void inline red_LED_off(void)	     __attribute__((weak, alias("__red_LED_off")));
++void red_LED_off(void)	     __attribute__((weak, alias("__red_LED_off")));
+ void inline __green_LED_on(void) {}
+-void inline green_LED_on(void) __attribute__((weak, alias("__green_LED_on")));
++void green_LED_on(void) __attribute__((weak, alias("__green_LED_on")));
+ void inline __green_LED_off(void) {}
+-void inline green_LED_off(void)__attribute__((weak, alias("__green_LED_off")));
++void green_LED_off(void)__attribute__((weak, alias("__green_LED_off")));
+ void inline __yellow_LED_on(void) {}
+-void inline yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on")));
++void yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on")));
+ void inline __yellow_LED_off(void) {}
+-void inline yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off")));
++void yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off")));
+ void inline __blue_LED_on(void) {}
+-void inline blue_LED_on(void)__attribute__((weak, alias("__blue_LED_on")));
++void blue_LED_on(void)__attribute__((weak, alias("__blue_LED_on")));
+ void inline __blue_LED_off(void) {}
+-void inline blue_LED_off(void)__attribute__((weak, alias("__blue_LED_off")));
++void blue_LED_off(void)__attribute__((weak, alias("__blue_LED_off")));
+ 
+ /************************************************************************
+  * Init Utilities							*
diff --git a/recipes/u-boot/u-boot_2009.08.bb b/recipes/u-boot/u-boot_2009.08.bb
index 506a0cb..868e618 100644
--- a/recipes/u-boot/u-boot_2009.08.bb
+++ b/recipes/u-boot/u-boot_2009.08.bb
@@ -7,7 +7,10 @@ DEFAULT_PREFERENCE_at91sam9g45ek = "1"
 DEFAULT_PREFERENCE_igep0020 = "1"
 DEFAULT_PREFERENCE_babbage  = "1"
 
-SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 "
+SRC_URI = "\
+    ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
+    file://dont-inline-weak-symbols.patch \
+"
 
 SRC_URI_append_igep0020 = " \
 	file://update-mach-types.patch \
-- 
1.7.1




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

* Re: [PATCH 2/2] u-boot: Unbreak u-boot 2009.08 for gcc >= 4.4
  2010-09-03 14:14 ` [PATCH 2/2] u-boot: Unbreak u-boot 2009.08 for gcc >= 4.4 Michael Lippautz
@ 2010-09-03 18:51   ` Khem Raj
  2010-09-04  7:34     ` Frans Meulenbroeks
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2010-09-03 18:51 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Sep 3, 2010 at 7:14 AM, Michael Lippautz
<michael.lippautz@gmail.com> wrote:
> Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>

seems good.

Acked-by: Khem Raj <raj.khem@gmail.com>

> ---
>  .../u-boot-2009.08/dont-inline-weak-symbols.patch  |   45 ++++++++++++++++++++
>  recipes/u-boot/u-boot_2009.08.bb                   |    5 ++-
>  2 files changed, 49 insertions(+), 1 deletions(-)
>  create mode 100644 recipes/u-boot/u-boot-2009.08/dont-inline-weak-symbols.patch
>
> diff --git a/recipes/u-boot/u-boot-2009.08/dont-inline-weak-symbols.patch b/recipes/u-boot/u-boot-2009.08/dont-inline-weak-symbols.patch
> new file mode 100644
> index 0000000..5931ccf
> --- /dev/null
> +++ b/recipes/u-boot/u-boot-2009.08/dont-inline-weak-symbols.patch
> @@ -0,0 +1,45 @@
> +Patch initially created by Ron Lee and archived in OE patchwork at
> +http://patchwork.openembedded.org/patch/1534/.
> +
> +GCC 4.4 complains about this now.
> +
> +Signed-off-by: Ron Lee <ron@debian.org>
> +---
> + lib_arm/board.c |   18 +++++++++---------
> + 1 files changed, 9 insertions(+), 9 deletions(-)
> +
> +--- a/lib_arm/board.c
> ++++ b/lib_arm/board.c
> +@@ -124,23 +124,23 @@
> +  * May be supplied by boards if desired
> +  */
> + void inline __coloured_LED_init (void) {}
> +-void inline coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init")));
> ++void coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init")));
> + void inline __red_LED_on (void) {}
> +-void inline red_LED_on (void) __attribute__((weak, alias("__red_LED_on")));
> ++void red_LED_on (void) __attribute__((weak, alias("__red_LED_on")));
> + void inline __red_LED_off(void) {}
> +-void inline red_LED_off(void)      __attribute__((weak, alias("__red_LED_off")));
> ++void red_LED_off(void)             __attribute__((weak, alias("__red_LED_off")));
> + void inline __green_LED_on(void) {}
> +-void inline green_LED_on(void) __attribute__((weak, alias("__green_LED_on")));
> ++void green_LED_on(void) __attribute__((weak, alias("__green_LED_on")));
> + void inline __green_LED_off(void) {}
> +-void inline green_LED_off(void)__attribute__((weak, alias("__green_LED_off")));
> ++void green_LED_off(void)__attribute__((weak, alias("__green_LED_off")));
> + void inline __yellow_LED_on(void) {}
> +-void inline yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on")));
> ++void yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on")));
> + void inline __yellow_LED_off(void) {}
> +-void inline yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off")));
> ++void yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off")));
> + void inline __blue_LED_on(void) {}
> +-void inline blue_LED_on(void)__attribute__((weak, alias("__blue_LED_on")));
> ++void blue_LED_on(void)__attribute__((weak, alias("__blue_LED_on")));
> + void inline __blue_LED_off(void) {}
> +-void inline blue_LED_off(void)__attribute__((weak, alias("__blue_LED_off")));
> ++void blue_LED_off(void)__attribute__((weak, alias("__blue_LED_off")));
> +
> + /************************************************************************
> +  * Init Utilities                                                     *
> diff --git a/recipes/u-boot/u-boot_2009.08.bb b/recipes/u-boot/u-boot_2009.08.bb
> index 506a0cb..868e618 100644
> --- a/recipes/u-boot/u-boot_2009.08.bb
> +++ b/recipes/u-boot/u-boot_2009.08.bb
> @@ -7,7 +7,10 @@ DEFAULT_PREFERENCE_at91sam9g45ek = "1"
>  DEFAULT_PREFERENCE_igep0020 = "1"
>  DEFAULT_PREFERENCE_babbage  = "1"
>
> -SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 "
> +SRC_URI = "\
> +    ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
> +    file://dont-inline-weak-symbols.patch \
> +"
>
>  SRC_URI_append_igep0020 = " \
>        file://update-mach-types.patch \
> --
> 1.7.1
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



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

* Re: [PATCH 1/2] x-load/igep0020.conf: Unbreak x-load for igep0020 machine.
  2010-09-03 14:14 ` [PATCH 1/2] x-load/igep0020.conf: Unbreak x-load for igep0020 machine Michael Lippautz
@ 2010-09-03 21:49   ` Khem Raj
  2010-09-04  7:56     ` Michael Lippautz
  2010-09-21 12:27   ` Eric Bénard
  1 sibling, 1 reply; 9+ messages in thread
From: Khem Raj @ 2010-09-03 21:49 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Sep 3, 2010 at 7:14 AM, Michael Lippautz
<michael.lippautz@gmail.com> wrote:
> * x-load is needed since e2b9225af36b2979b255634f79ceecea482601a7
>
> Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>

looks ok but why is it needed to remove ldflags

> ---
>  conf/machine/igep0020.conf                         |    2 ++
>  .../x-load-git/igep0020/remove-final-ldflags.patch |   11 +++++++++++
>  recipes/x-load/x-load_git.bb                       |    7 ++++++-
>  3 files changed, 19 insertions(+), 1 deletions(-)
>  create mode 100644 recipes/x-load/x-load-git/igep0020/remove-final-ldflags.patch
>
> diff --git a/conf/machine/igep0020.conf b/conf/machine/igep0020.conf
> index 55c1850..6295010 100644
> --- a/conf/machine/igep0020.conf
> +++ b/conf/machine/igep0020.conf
> @@ -21,6 +21,8 @@ KERNEL_IMAGETYPE = "uImage"
>
>  UBOOT_MACHINE = "omap3_igep0020b_config"
>
> +XLOAD_MACHINE = "igep0020-flash_config"
> +
>  IMAGE_FSTYPES += "tar.bz2 ubi"
>
>  # Guesswork
> diff --git a/recipes/x-load/x-load-git/igep0020/remove-final-ldflags.patch b/recipes/x-load/x-load-git/igep0020/remove-final-ldflags.patch
> new file mode 100644
> index 0000000..c5ac09b
> --- /dev/null
> +++ b/recipes/x-load/x-load-git/igep0020/remove-final-ldflags.patch
> @@ -0,0 +1,11 @@
> +--- a/Makefile 2010-09-03 09:59:12.000000000 +0200
> ++++ b/Makefile 2010-09-03 10:43:46.650000018 +0200
> +@@ -90,7 +90,7 @@
> +
> + x-load:       $(OBJS) $(LIBS) $(LDSCRIPT)
> +               UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed  -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
> +-              $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \
> ++              $(LD) $$UNDEF_SYM $(OBJS) \
> +                       --start-group $(LIBS) --end-group $(PLATFORM_LIBS) \
> +                       -Map x-load.map -o x-load
> +
> diff --git a/recipes/x-load/x-load_git.bb b/recipes/x-load/x-load_git.bb
> index cbcbf17..eb4a2de 100644
> --- a/recipes/x-load/x-load_git.bb
> +++ b/recipes/x-load/x-load_git.bb
> @@ -9,7 +9,7 @@ SRCREV_beagleboard = "1c9276af4d6a5b7014a7630a1abeddf3b3177563"
>
>  PV = "1.42+${PR}+gitr${SRCREV}"
>  PV_beagleboard = "1.44+${PR}+gitr${SRCREV}"
> -PR ="r15"
> +PR ="r16"
>  PE = "1"
>
>  SRC_URI = "git://gitorious.org/x-load-omap3/mainline.git;branch=master;protocol=git"
> @@ -56,6 +56,11 @@ SRCREV_omapzoom36x = "251d92815500143aefdbe3b3558a0ce6daeaebdc"
>  SRC_URI[uboot.md5sum] = "e68b30714d22ce2f926d2dd19f94a2be"
>  SRC_URI[uboot.sha256sum] = "e7e5c87d939cc4c1f14d17ea0814b0bed97021c7afca3ef9053c896c2b5bdd6f"
>
> +SRC_URI_igep0020 = "git://git.igep.es/pub/scm/x-loader.git;protocol=git \
> +                    file://remove-final-ldflags.patch"
> +SRCREV_igep0020 = "213d95fcadc54424c796259928d7c15c5a2945a0"
> +PV_igep0020 = "1.43+${PR}+gitr${SRCREV}"
> +
>  S = "${WORKDIR}/git"
>
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
> --
> 1.7.1
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



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

* Re: [PATCH 2/2] u-boot: Unbreak u-boot 2009.08 for gcc >= 4.4
  2010-09-03 18:51   ` Khem Raj
@ 2010-09-04  7:34     ` Frans Meulenbroeks
  0 siblings, 0 replies; 9+ messages in thread
From: Frans Meulenbroeks @ 2010-09-04  7:34 UTC (permalink / raw)
  To: openembedded-devel

2010/9/3 Khem Raj <raj.khem@gmail.com>:
> On Fri, Sep 3, 2010 at 7:14 AM, Michael Lippautz
> <michael.lippautz@gmail.com> wrote:
>> Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
>
> seems good.
>
> Acked-by: Khem Raj <raj.khem@gmail.com>

This has been discussed in the u-boot mailing list and the patch made
it into 2009.11  [1].

Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>

[1] http://git.denx.de/?p=u-boot.git;a=blob;f=lib_arm/board.c;h=e148739152c0826130ab70f249c74aa010165d67;hb=a200a7c04d89853d2a1395b96d8ca5e3dd754551
>
>> ---
>>  .../u-boot-2009.08/dont-inline-weak-symbols.patch  |   45 ++++++++++++++++++++
>>  recipes/u-boot/u-boot_2009.08.bb                   |    5 ++-
>>  2 files changed, 49 insertions(+), 1 deletions(-)
>>  create mode 100644 recipes/u-boot/u-boot-2009.08/dont-inline-weak-symbols.patch
>>
>> diff --git a/recipes/u-boot/u-boot-2009.08/dont-inline-weak-symbols.patch b/recipes/u-boot/u-boot-2009.08/dont-inline-weak-symbols.patch
>> new file mode 100644
>> index 0000000..5931ccf
>> --- /dev/null
>> +++ b/recipes/u-boot/u-boot-2009.08/dont-inline-weak-symbols.patch
>> @@ -0,0 +1,45 @@
>> +Patch initially created by Ron Lee and archived in OE patchwork at
>> +http://patchwork.openembedded.org/patch/1534/.
>> +
>> +GCC 4.4 complains about this now.
>> +
>> +Signed-off-by: Ron Lee <ron@debian.org>
>> +---
>> + lib_arm/board.c |   18 +++++++++---------
>> + 1 files changed, 9 insertions(+), 9 deletions(-)
>> +
>> +--- a/lib_arm/board.c
>> ++++ b/lib_arm/board.c
>> +@@ -124,23 +124,23 @@
>> +  * May be supplied by boards if desired
>> +  */
>> + void inline __coloured_LED_init (void) {}
>> +-void inline coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init")));
>> ++void coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init")));
>> + void inline __red_LED_on (void) {}
>> +-void inline red_LED_on (void) __attribute__((weak, alias("__red_LED_on")));
>> ++void red_LED_on (void) __attribute__((weak, alias("__red_LED_on")));
>> + void inline __red_LED_off(void) {}
>> +-void inline red_LED_off(void)      __attribute__((weak, alias("__red_LED_off")));
>> ++void red_LED_off(void)             __attribute__((weak, alias("__red_LED_off")));
>> + void inline __green_LED_on(void) {}
>> +-void inline green_LED_on(void) __attribute__((weak, alias("__green_LED_on")));
>> ++void green_LED_on(void) __attribute__((weak, alias("__green_LED_on")));
>> + void inline __green_LED_off(void) {}
>> +-void inline green_LED_off(void)__attribute__((weak, alias("__green_LED_off")));
>> ++void green_LED_off(void)__attribute__((weak, alias("__green_LED_off")));
>> + void inline __yellow_LED_on(void) {}
>> +-void inline yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on")));
>> ++void yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on")));
>> + void inline __yellow_LED_off(void) {}
>> +-void inline yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off")));
>> ++void yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off")));
>> + void inline __blue_LED_on(void) {}
>> +-void inline blue_LED_on(void)__attribute__((weak, alias("__blue_LED_on")));
>> ++void blue_LED_on(void)__attribute__((weak, alias("__blue_LED_on")));
>> + void inline __blue_LED_off(void) {}
>> +-void inline blue_LED_off(void)__attribute__((weak, alias("__blue_LED_off")));
>> ++void blue_LED_off(void)__attribute__((weak, alias("__blue_LED_off")));
>> +
>> + /************************************************************************
>> +  * Init Utilities                                                     *
>> diff --git a/recipes/u-boot/u-boot_2009.08.bb b/recipes/u-boot/u-boot_2009.08.bb
>> index 506a0cb..868e618 100644
>> --- a/recipes/u-boot/u-boot_2009.08.bb
>> +++ b/recipes/u-boot/u-boot_2009.08.bb
>> @@ -7,7 +7,10 @@ DEFAULT_PREFERENCE_at91sam9g45ek = "1"
>>  DEFAULT_PREFERENCE_igep0020 = "1"
>>  DEFAULT_PREFERENCE_babbage  = "1"
>>
>> -SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 "
>> +SRC_URI = "\
>> +    ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
>> +    file://dont-inline-weak-symbols.patch \
>> +"
>>
>>  SRC_URI_append_igep0020 = " \
>>        file://update-mach-types.patch \
>> --
>> 1.7.1
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



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

* Re: [PATCH 1/2] x-load/igep0020.conf: Unbreak x-load for igep0020 machine.
  2010-09-03 21:49   ` Khem Raj
@ 2010-09-04  7:56     ` Michael Lippautz
  2010-09-08 10:08       ` Michael Lippautz
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Lippautz @ 2010-09-04  7:56 UTC (permalink / raw)
  To: openembedded-devel

2010/9/3 Khem Raj <raj.khem@gmail.com>:
>
> looks ok but why is it needed to remove ldflags
>

LDFLAGS have been wrapped with -Wl,... arguments to allow passing into gcc.

Unfortunatelly ld fails when passing the flags to it. Can I access the raw flags
somehow. (ld can produce an link the x-load without LDFLAGS though).

Michael



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

* Re: [PATCH 1/2] x-load/igep0020.conf: Unbreak x-load for igep0020 machine.
  2010-09-04  7:56     ` Michael Lippautz
@ 2010-09-08 10:08       ` Michael Lippautz
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Lippautz @ 2010-09-08 10:08 UTC (permalink / raw)
  To: openembedded-devel

Bump, as it blocks any igep0020 image from building.



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

* Re: [PATCH 1/2] x-load/igep0020.conf: Unbreak x-load for igep0020 machine.
  2010-09-03 14:14 ` [PATCH 1/2] x-load/igep0020.conf: Unbreak x-load for igep0020 machine Michael Lippautz
  2010-09-03 21:49   ` Khem Raj
@ 2010-09-21 12:27   ` Eric Bénard
  1 sibling, 0 replies; 9+ messages in thread
From: Eric Bénard @ 2010-09-21 12:27 UTC (permalink / raw)
  To: openembedded-devel

Le 03/09/2010 16:14, Michael Lippautz a écrit :
> * x-load is needed since e2b9225af36b2979b255634f79ceecea482601a7
>
> Signed-off-by: Michael Lippautz<michael.lippautz@gmail.com>

Acked-by: Eric Bénard <eric@eukrea.com>

Eric



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

end of thread, other threads:[~2010-09-21 12:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-03 14:14 [PATCHES] Unbreak igep0020 Michael Lippautz
2010-09-03 14:14 ` [PATCH 1/2] x-load/igep0020.conf: Unbreak x-load for igep0020 machine Michael Lippautz
2010-09-03 21:49   ` Khem Raj
2010-09-04  7:56     ` Michael Lippautz
2010-09-08 10:08       ` Michael Lippautz
2010-09-21 12:27   ` Eric Bénard
2010-09-03 14:14 ` [PATCH 2/2] u-boot: Unbreak u-boot 2009.08 for gcc >= 4.4 Michael Lippautz
2010-09-03 18:51   ` Khem Raj
2010-09-04  7:34     ` Frans Meulenbroeks

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.