From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f194.google.com (mail-qk0-f194.google.com [209.85.220.194]) by mail.openembedded.org (Postfix) with ESMTP id 893F460851 for ; Mon, 23 May 2016 04:53:04 +0000 (UTC) Received: by mail-qk0-f194.google.com with SMTP id z80so2360080qkb.2 for ; Sun, 22 May 2016 21:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pFDnVAWYGxnGbSI7akyt/Lz6xsFqG00/S3RlgGKENq0=; b=D5qoHahCVBCk6WBOykYu4doE81E/i7ckqPLmW616w+bZo2HLCgS8tRll60TanppY2b faU9uRSR+nAw+Dpn1lrK0OtkosYhFI5473TIcxOL1qXLXmIYLBwlG16K8BERNCkyKOcy NWfjhd0vSmDVxa/gfn6pRMJyjbKIAoB7yWusd9Kuk7Q9xXA+BZ84Titn2WjQJfZz3Cr+ upAe7M+Nc8txfTqU0O6rCQYTfZ1Lv38PJMleeu5jzYqACYDWFA8cKmWe6rdxai61RTvd 1AZz8chfpBBoz//RfOpXyJQjNDV+AWjLGhIWpITdWajoRj8E70mk3vFt3AxIQEnu6V4Y XFnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pFDnVAWYGxnGbSI7akyt/Lz6xsFqG00/S3RlgGKENq0=; b=ip2OW3PE8I0RqfAvrlihNxhq54a4Qae8vlOrNAAP9jHRE3Bsdzf+pwZeaCXtge22gb 1yedzxqAom5tXZQq6lbXkuWbSd+NybCOtSTeAXpwvkOAf7kVuhJgVK5hNwHm2lpRURYx yzhY/j4wM5Xx7h/UzsbxGf6xQcHbU/uCdF1J1Q4ZWBmgvzFcQ82WAaXNBWrBPsuwBPAD MW9waw8XMPaATCod41rp+rhamJ8mMGz8I8jdNv1p4vD5a3JM2RuyE78scQNv46h+nfXP u3Sx9I4jtfEyyoZo7mKoXERo9QM/Jy6k65NS3vA3/YLFQxcSOfunZqzf3OOFOEfGWWgc D9TQ== X-Gm-Message-State: ALyK8tIG3VwcwyrWtH4VWvoRrJxtfpuA6JI+HAmkM4kHxa4Fat/v9YKoXvyUhym1T5OhDOtuDKrew7xs1cvIhg== X-Received: by 10.200.36.148 with SMTP id s20mr760996qts.76.1463979184510; Sun, 22 May 2016 21:53:04 -0700 (PDT) MIME-Version: 1.0 References: <1463763860-4124-1-git-send-email-kergoth@gmail.com> In-Reply-To: <1463763860-4124-1-git-send-email-kergoth@gmail.com> From: Khem Raj Date: Mon, 23 May 2016 04:52:55 +0000 Message-ID: To: Christopher Larson , openembedded-core@lists.openembedded.org Cc: Christopher Larson Subject: Re: [PATCHv3] mkelfimage: obey LDFLAGS, sort out HOST_ flags X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2016 04:53:04 -0000 Content-Type: multipart/alternative; boundary=001a1142b00c40604805337b37e6 --001a1142b00c40604805337b37e6 Content-Type: text/plain; charset=UTF-8 I am getting these errors with clang now http://errors.yoctoproject.org/Errors/Details/64935/ On Fri, May 20, 2016 at 8:04 PM Christopher Larson wrote: > From: Christopher Larson > > We weren't consistent in the HOST_ (aka BUILD_) and non-HOST_ flags, so we > were using BUILD_CPPFLAGS to compile target stuff, for example. Sort that > out, > and make sure we obey LDFLAGS. > > Signed-off-by: Christopher Larson > --- > > v2 change: fixed patch file paths > > .../mkelfimage/mkelfimage/cross-compile.patch | 85 > +++++++++++++++------- > meta/recipes-devtools/mkelfimage/mkelfimage_git.bb | 4 +- > 2 files changed, 62 insertions(+), 27 deletions(-) > > diff --git > a/meta/recipes-devtools/mkelfimage/mkelfimage/cross-compile.patch > b/meta/recipes-devtools/mkelfimage/mkelfimage/cross-compile.patch > index 7692709..2ae9fb5 100644 > --- a/meta/recipes-devtools/mkelfimage/mkelfimage/cross-compile.patch > +++ b/meta/recipes-devtools/mkelfimage/mkelfimage/cross-compile.patch > @@ -1,13 +1,43 @@ > -make the tool to be cross compilable. > +From dc2712119d6832e24a9b7bed9ed4ce5ae03ce0a3 Mon Sep 17 00:00:00 2001 > +From: Khem Raj > +Date: Sat, 14 Jul 2012 14:14:07 -0700 > +Subject: [PATCH] mkelfimage: Fix cross build > + > +Make the tool to be cross compilable, by separating the variables for > build > +tools from those for the target. Also modified to obey LDFLAGS. > > Signed-off-by: Khem Raj > +Signed-off-by: Christopher Larson > + > Upstream-Status: Pending > > -Index: mkelfImage/configure.ac > -=================================================================== > ---- mkelfImage.orig/configure.ac 2012-07-14 14:04:48.964898667 > -0700 > -+++ mkelfImage/configure.ac 2012-07-14 14:10:47.800916083 -0700 > -@@ -70,6 +70,9 @@ > +--- > + Makefile.conf.in | 3 +++ > + configure.ac | 7 +++++-- > + linux-i386/Makefile | 2 +- > + linux-ia64/Makefile | 2 +- > + main/Makefile | 4 ++-- > + 5 files changed, 12 insertions(+), 6 deletions(-) > + > +diff --git a/Makefile.conf.in b/Makefile.conf.in > +index 4645e44..dcb6cf2 100644 > +--- a/Makefile.conf.in > ++++ b/Makefile.conf.in > +@@ -17,6 +17,9 @@ DEFS=@DEFS@ > + LIBS=@LIBS@ > + HOST_CC=@HOST_CC@ > + HOST_CFLAGS=@HOST_CFLAGS@ $(DEFS) > ++CC=@CC@ > ++CFLAGS=@CFLAGS@ $(DEFS) > ++LDFLAGS=@LDFLAGS@ > + > + I386_CC =@I386_CC@ > + I386_LD =@I386_LD@ > +diff --git a/configure.ac b/configure.ac > +index 652b952..0f2ac72 100644 > +--- a/configure.ac > ++++ b/configure.ac > +@@ -70,6 +70,9 @@ if test "with_default" != no ; then > AC_MSG_ERROR([cc not found]) > fi > eval "${with_default}_CC='$CC'" > @@ -17,19 +47,22 @@ Index: mkelfImage/configure.ac > AC_PROG_CPP > if test "$CPP" = no; then > AC_MSG_ERROR([cpp not found]) > -@@ -172,7 +175,6 @@ > +@@ -172,8 +175,8 @@ fi > > dnl ---Output variables... > > -HOST_CC=$CC > - HOST_CFLAGS="$HOST_CFLAGS -O2 -Wall \$(HOST_CPPFLAGS)" > +-HOST_CFLAGS="$HOST_CFLAGS -O2 -Wall \$(HOST_CPPFLAGS)" > ++CFLAGS="${CFLAGS:--O2} -Wall \$(CPPFLAGS)" > ++HOST_CFLAGS="${HOST_CFLAGS:--O2} -Wall \$(HOST_CPPFLAGS)" > > dnl TODO: figure out how to set these appropriately for compilers other > than gcc > -Index: mkelfImage/linux-i386/Makefile > -=================================================================== > ---- mkelfImage.orig/linux-i386/Makefile 2012-07-14 > 14:04:48.964898667 -0700 > -+++ mkelfImage/linux-i386/Makefile 2012-07-14 14:04:49.032898671 -0700 > -@@ -4,7 +4,7 @@ > + I386_CFLAGS="$I386_CFLAGS -Os -ffreestanding -Wall -W -Wno-format > \$(I386_CPPFLAGS)" > +diff --git a/linux-i386/Makefile b/linux-i386/Makefile > +index 51531d6..7e8aa3c 100644 > +--- a/linux-i386/Makefile > ++++ b/linux-i386/Makefile > +@@ -4,7 +4,7 @@ LI386_DEP=Makefile Makefile.conf $(LI386_DIR)/Makefile > > $(LI386_OBJ)/mkelf-linux-i386.o: $(LI386_DIR)/mkelf-linux-i386.c > $(LI386_DIR)/convert.bin.c $(LI386_DEP) > $(MKDIR) -p $(@D) > @@ -38,11 +71,11 @@ Index: mkelfImage/linux-i386/Makefile > > > ifdef I386_CC > -Index: mkelfImage/linux-ia64/Makefile > -=================================================================== > ---- mkelfImage.orig/linux-ia64/Makefile 2012-07-14 > 14:04:48.964898667 -0700 > -+++ mkelfImage/linux-ia64/Makefile 2012-07-14 14:04:49.032898671 -0700 > -@@ -4,7 +4,7 @@ > +diff --git a/linux-ia64/Makefile b/linux-ia64/Makefile > +index 38f5d8c..5df8870 100644 > +--- a/linux-ia64/Makefile > ++++ b/linux-ia64/Makefile > +@@ -4,7 +4,7 @@ LIA64_DEP=Makefile Makefile.conf $(LIA64_DIR)/Makefile > > $(LIA64_OBJ)/mkelf-linux-ia64.o: $(LIA64_DIR)/mkelf-linux-ia64.c > $(LIA64_DIR)/convert.bin.c $(LIA64_DEP) > $(MKDIR) -p $(@D) > @@ -51,21 +84,23 @@ Index: mkelfImage/linux-ia64/Makefile > > ifdef IA64_CC > > -Index: mkelfImage/main/Makefile > -=================================================================== > ---- mkelfImage.orig/main/Makefile 2012-07-14 14:04:48.964898667 -0700 > -+++ mkelfImage/main/Makefile 2012-07-14 14:04:49.032898671 -0700 > -@@ -4,11 +4,11 @@ > +diff --git a/main/Makefile b/main/Makefile > +index 403b0a4..cd53613 100644 > +--- a/main/Makefile > ++++ b/main/Makefile > +@@ -4,11 +4,11 @@ MKELF_OBJS=$(OBJDIR)/main/mkelfImage.o \ > > $(OBJDIR)/sbin/mkelfImage: $(MKELF_OBJS) $(DEPS) > $(MKDIR) -p $(@D) > - $(HOST_CC) $(HOST_CFLAGS) $(MKELF_OBJS) -o $@ $(LIBS) > -+ $(CC) $(HOST_CFLAGS) $(MKELF_OBJS) -o $@ $(LIBS) > ++ $(CC) $(CFLAGS) $(LDFLAGS) $(MKELF_OBJS) -o $@ $(LIBS) > > $(OBJDIR)/main/mkelfImage.o: main/mkelfImage.c include/mkelfImage.h > $(DEPS) > $(MKDIR) -p $(@D) > - $(HOST_CC) $(HOST_CFLAGS) -c $< -o $@ > -+ $(CC) $(HOST_CFLAGS) -c $< -o $@ > ++ $(CC) $(CFLAGS) -c $< -o $@ > > $(OBJDIR)/man/man8/mkelfImage.8: main/mkelfImage.man > $(MKDIR) -p $(@D) > +-- > +2.8.0 > diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb > b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb > index 92435cd..d7a4429 100644 > --- a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb > +++ b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb > @@ -13,8 +13,8 @@ > http://review.coreboot.org/gitweb?p=coreboot.git;a=commit;h=34fc4ab80b507739e258 > DEPENDS += "zlib" > > SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http \ > - file://cross-compile.patch \ > - " > + file://cross-compile.patch \ > + " > SRC_URI_append_class-native = " \ > file://fix-makefile-to-find-libz.patch \ > " > -- > 2.8.0 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core > --001a1142b00c40604805337b37e6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I am getting these errors with clang now

http://e= rrors.yoctoproject.org/Errors/Details/64935/

On Fri, May 20, 2016 at 8:04 PM Christ= opher Larson <kergoth@gmail.com= > wrote:
From: Christopher Larso= n <chris_la= rson@mentor.com>

We weren't consistent in the HOST_ (aka BUILD_) and non-HOST_ flags, so= we
were using BUILD_CPPFLAGS to compile target stuff, for example. Sort that o= ut,
and make sure we obey LDFLAGS.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---

v2 change: fixed patch file paths

=C2=A0.../mkelfimage/mkelfimage/cross-compile.patch=C2=A0 =C2=A0 =C2=A0 | 8= 5 +++++++++++++++-------
=C2=A0meta/recipes-devtools/mkelfimage/mkelfimage_git.bb |=C2=A0 4 +- =C2=A02 files changed, 62 insertions(+), 27 deletions(-)

diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage/cross-compile.patc= h b/meta/recipes-devtools/mkelfimage/mkelfimage/cross-compile.patch
index 7692709..2ae9fb5 100644
--- a/meta/recipes-devtools/mkelfimage/mkelfimage/cross-compile.patch
+++ b/meta/recipes-devtools/mkelfimage/mkelfimage/cross-compile.patch
@@ -1,13 +1,43 @@
-make the tool to be cross compilable.
+From dc2712119d6832e24a9b7bed9ed4ce5ae03ce0a3 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sat, 14 Jul 2012 14:14:07 -0700
+Subject: [PATCH] mkelfimage: Fix cross build
+
+Make the tool to be cross compilable, by separating the variables for buil= d
+tools from those for the target. Also modified to obey LDFLAGS.

=C2=A0Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Signed-off-by: Christopher Larson <chris_larson@mentor.com>
+
=C2=A0Upstream-Status: Pending

-Index: mkelfImage/configure.ac
-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
---- mkelfImage.orig/configure.ac=C2=A0 =C2=A0 =C2=A0 =C2=A02012-07-14 14:04:= 48.964898667 -0700
-+++ mkelfImage/configure.ac=C2=A0 =C2=A0 2012-07-14 14:10:47.800916083 -07= 00
-@@ -70,6 +70,9 @@
+---
+ = Makefile.conf.in=C2=A0 =C2=A0 | 3 +++
+ conf= igure.ac=C2=A0 =C2=A0 =C2=A0 =C2=A0 | 7 +++++--
+ linux-i386/Makefile | 2 +-
+ linux-ia64/Makefile | 2 +-
+ main/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0| 4 ++--
+ 5 files changed, 12 insertions(+), 6 deletions(-)
+
+diff --git a/Makefile.conf.in b/Makefile.conf.in
+index 4645e44..dcb6cf2 100644
+--- a/Makefile.conf.in
++++ b/Makefile.conf.in
+@@ -17,6 +17,9 @@ DEFS=3D@DEFS@
+ LIBS=3D@LIBS@
+ HOST_CC=3D@HOST_CC@
+ HOST_CFLAGS=3D@HOST_CFLAGS@=C2=A0 $(DEFS)
++CC=3D@CC@
++CFLAGS=3D@CFLAGS@ $(DEFS)
++LDFLAGS=3D@LDFLAGS@
+
+ I386_CC=C2=A0 =C2=A0 =C2=A0=3D@I386_CC@
+ I386_LD=C2=A0 =C2=A0 =C2=A0=3D@I386_LD@
+diff --git a/configure.ac b/configure.ac
+index 652b952..0f2ac72 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -70,6 +70,9 @@ if test "with_default" !=3D no ; then
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 AC_MSG_ERROR([cc no= t found])
=C2=A0 =C2=A0 =C2=A0 =C2=A0 fi
=C2=A0 =C2=A0 =C2=A0 =C2=A0 eval "${with_default}_CC=3D'$CC'&q= uot;
@@ -17,19 +47,22 @@ Index: mkelfImage/configure.ac
=C2=A0 =C2=A0 =C2=A0 =C2=A0 AC_PROG_CPP
=C2=A0 =C2=A0 =C2=A0 =C2=A0 if test "$CPP" =3D no; then
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 AC_MSG_ERROR([cpp n= ot found])
-@@ -172,7 +175,6 @@
+@@ -172,8 +175,8 @@ fi

=C2=A0 dnl ---Output variables...

=C2=A0-HOST_CC=3D$CC
- HOST_CFLAGS=3D"$HOST_CFLAGS -O2 -Wall \$(HOST_CPPFLAGS)"
+-HOST_CFLAGS=3D"$HOST_CFLAGS -O2 -Wall \$(HOST_CPPFLAGS)"
++CFLAGS=3D"${CFLAGS:--O2} -Wall \$(CPPFLAGS)"
++HOST_CFLAGS=3D"${HOST_CFLAGS:--O2} -Wall \$(HOST_CPPFLAGS)"

=C2=A0 dnl TODO: figure out how to set these appropriately for compilers ot= her than gcc
-Index: mkelfImage/linux-i386/Makefile
-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
---- mkelfImage.orig/linux-i386/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 2012-07= -14 14:04:48.964898667 -0700
-+++ mkelfImage/linux-i386/Makefile=C2=A0 =C2=A0 =C2=A02012-07-14 14:04:49.= 032898671 -0700
-@@ -4,7 +4,7 @@
+ I386_CFLAGS=3D"$I386_CFLAGS -Os -ffreestanding -Wall -W -Wno-format = \$(I386_CPPFLAGS)"
+diff --git a/linux-i386/Makefile b/linux-i386/Makefile
+index 51531d6..7e8aa3c 100644
+--- a/linux-i386/Makefile
++++ b/linux-i386/Makefile
+@@ -4,7 +4,7 @@ LI386_DEP=3DMakefile Makefile.conf $(LI386_DIR)/Makefile
=C2=A0 $(LI386_OBJ)/mkelf-linux-i386.o: $(LI386_DIR)/mkelf-linux-i386.c $(L= I386_DIR)/convert.bin.c $(LI386_DEP)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(MKDIR) -p $(@D)
@@ -38,11 +71,11 @@ Index: mkelfImage/linux-i386/Makefile


=C2=A0 ifdef I386_CC
-Index: mkelfImage/linux-ia64/Makefile
-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
---- mkelfImage.orig/linux-ia64/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 2012-07= -14 14:04:48.964898667 -0700
-+++ mkelfImage/linux-ia64/Makefile=C2=A0 =C2=A0 =C2=A02012-07-14 14:04:49.= 032898671 -0700
-@@ -4,7 +4,7 @@
+diff --git a/linux-ia64/Makefile b/linux-ia64/Makefile
+index 38f5d8c..5df8870 100644
+--- a/linux-ia64/Makefile
++++ b/linux-ia64/Makefile
+@@ -4,7 +4,7 @@ LIA64_DEP=3DMakefile Makefile.conf $(LIA64_DIR)/Makefile
=C2=A0 $(LIA64_OBJ)/mkelf-linux-ia64.o: $(LIA64_DIR)/mkelf-linux-ia64.c $(L= IA64_DIR)/convert.bin.c $(LIA64_DEP)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(MKDIR) -p $(@D)
@@ -51,21 +84,23 @@ Index: mkelfImage/linux-ia64/Makefile

=C2=A0 ifdef IA64_CC

-Index: mkelfImage/main/Makefile
-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
---- mkelfImage.orig/main/Makefile=C2=A0 =C2=A0 =C2=A0 2012-07-14 14:04:48.= 964898667 -0700
-+++ mkelfImage/main/Makefile=C2=A0 =C2=A02012-07-14 14:04:49.032898671 -07= 00
-@@ -4,11 +4,11 @@
+diff --git a/main/Makefile b/main/Makefile
+index 403b0a4..cd53613 100644
+--- a/main/Makefile
++++ b/main/Makefile
+@@ -4,11 +4,11 @@ MKELF_OBJS=3D$(OBJDIR)/main/mkelfImage.o \

=C2=A0 $(OBJDIR)/sbin/mkelfImage: $(MKELF_OBJS) $(DEPS)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(MKDIR) -p $(@D)
=C2=A0-=C2=A0 =C2=A0 =C2=A0 $(HOST_CC) $(HOST_CFLAGS) $(MKELF_OBJS) -o $@ $= (LIBS)
-+=C2=A0 =C2=A0 =C2=A0 $(CC) $(HOST_CFLAGS) $(MKELF_OBJS) -o $@ $(LIBS)
++=C2=A0 =C2=A0 =C2=A0 $(CC) $(CFLAGS) $(LDFLAGS) $(MKELF_OBJS) -o $@ $(LIB= S)

=C2=A0 $(OBJDIR)/main/mkelfImage.o: main/mkelfImage.c include/mkelfImage.h = $(DEPS)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(MKDIR) -p $(@D)
=C2=A0-=C2=A0 =C2=A0 =C2=A0 $(HOST_CC) $(HOST_CFLAGS) -c $< -o $@
-+=C2=A0 =C2=A0 =C2=A0 $(CC) $(HOST_CFLAGS) -c $< -o $@
++=C2=A0 =C2=A0 =C2=A0 $(CC) $(CFLAGS) -c $< -o $@

=C2=A0 $(OBJDIR)/man/man8/mkelfImage.8: main/mkelfImage.man
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(MKDIR) -p $(@D)
+--
+2.8.0
diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb b/meta/r= ecipes-devtools/mkelfimage/mkelfimage_git.bb
index 92435cd..d7a4429 100644
--- a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
+++ b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
@@ -13,8 +13,8 @@ http://review.coreboot.org/gitweb?p=3Dcoreboot.git;a=3Dcommit;h=3D34fc4= ab80b507739e258
=C2=A0DEPENDS +=3D "zlib"

=C2=A0SRC_URI =3D "git://review.coreboot.o= rg/p/coreboot;protocol=3Dhttp \
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0file://cross-compile.patch=C2=A0 = =C2=A0\
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0file://cross-compile.patch \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"
=C2=A0SRC_URI_append_class-native =3D " \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 file://fix-makefile-to-find-libz.= patch=C2=A0 =C2=A0\
=C2=A0"
--
2.8.0

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailma= n/listinfo/openembedded-core
--001a1142b00c40604805337b37e6--