Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] uclibc: add ldd compile fix from upstream
@ 2016-07-06  5:43 Waldemar Brodkorb
  2016-07-06  7:07 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2016-07-06  5:43 UTC (permalink / raw)
  To: buildroot

Fixes a build error, when uclibc utils is selected targeting Blackfin.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 package/uclibc/0001-bfin-allow-to-build-ldd.patch | 29 +++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 package/uclibc/0001-bfin-allow-to-build-ldd.patch

diff --git a/package/uclibc/0001-bfin-allow-to-build-ldd.patch b/package/uclibc/0001-bfin-allow-to-build-ldd.patch
new file mode 100644
index 0000000..95b0fef
--- /dev/null
+++ b/package/uclibc/0001-bfin-allow-to-build-ldd.patch
@@ -0,0 +1,29 @@
+From 10f469f6ce1a0c14e4506c42e47e15aa83be2eef Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@uclibc-ng.org>
+Date: Wed, 6 Jul 2016 06:08:51 +0200
+Subject: [PATCH] bfin: allow to build ldd
+
+Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
+---
+ utils/ldd.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/utils/ldd.c b/utils/ldd.c
+index f6413c6..5d2c8f4 100644
+--- a/utils/ldd.c
++++ b/utils/ldd.c
+@@ -35,6 +35,11 @@
+ #define ELFCLASSM      ELFCLASS32
+ #endif
+
++#if defined(__bfin__)
++#define MATCH_MACHINE(x) (x == EM_BLACKFIN)
++#define ELFCLASSM      ELFCLASS32
++#endif
++
+ #if defined(__s390__)
+ #define MATCH_MACHINE(x) (x == EM_S390)
+ #define ELFCLASSM	ELFCLASS32
+--
+2.1.4
+
-- 
2.1.4

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

* [Buildroot] [PATCH] uclibc: add ldd compile fix from upstream
  2016-07-06  5:43 [Buildroot] [PATCH] uclibc: add ldd compile fix from upstream Waldemar Brodkorb
@ 2016-07-06  7:07 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-07-06  7:07 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 6 Jul 2016 07:43:17 +0200, Waldemar Brodkorb wrote:
> Fixes a build error, when uclibc utils is selected targeting Blackfin.
> 
> Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
>  package/uclibc/0001-bfin-allow-to-build-ldd.patch | 29 +++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>  create mode 100644 package/uclibc/0001-bfin-allow-to-build-ldd.patch

Applied to master, thanks.

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:[~2016-07-06  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-06  5:43 [Buildroot] [PATCH] uclibc: add ldd compile fix from upstream Waldemar Brodkorb
2016-07-06  7:07 ` Thomas Petazzoni

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