* [PATCH] Fix mkelfimage native target
@ 2017-06-05 22:47 Saul Wold
2017-06-05 22:47 ` [PATCH] mkelfimage: Fix broken patch when building native Saul Wold
0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2017-06-05 22:47 UTC (permalink / raw)
To: openembedded-core, richard.purdie
Folks,
I am going to start here, we may need a wider audience, let's see what happens!
Based on the fact that mkelfimage-native has been broken since late year,
I wonder if it's time to retire the ELF Image type? Clear no one recently
has use the native, or we would have seen a patch sooner.
I know that the target side was fixed a year a go, so not sure about getting
rid of the recipe completely?
Thoughts? Flames??
Sau!
Saul Wold (1):
mkelfimage: Fix broken patch when building native
.../mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] mkelfimage: Fix broken patch when building native
2017-06-05 22:47 [PATCH] Fix mkelfimage native target Saul Wold
@ 2017-06-05 22:47 ` Saul Wold
2017-06-12 16:54 ` [PATCH][pyro] " Wold, Saul
0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2017-06-05 22:47 UTC (permalink / raw)
To: openembedded-core, richard.purdie
A change occured about a year ago that broke the native build, fix
that patch
[YOCTO #11590]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
.../mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch b/meta/recipes-devtools/mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch
index 756a65c..be54754 100644
--- a/meta/recipes-devtools/mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch
+++ b/meta/recipes-devtools/mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch
@@ -3,8 +3,11 @@ Let makefile find libz and zlib.h by CFLAGS and LDFLAGS.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Upstream-Status: Pending
---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
diff --git a/configure.ac b/configure.ac
-index d1acc36..6f865b0 100644
+index 0f2ac72..f9099a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,7 +62,7 @@ AC_CHECK_PROG([RPM], rpm, rpm, [], [$PATH])
@@ -16,15 +19,15 @@ index d1acc36..6f865b0 100644
dnl Find the default programs
if test "with_default" != no ; then
-@@ -175,7 +175,7 @@ fi
-
+@@ -176,7 +176,7 @@ fi
dnl ---Output variables...
--HOST_CFLAGS="$HOST_CFLAGS -O2 -Wall \$(HOST_CPPFLAGS)"
-+HOST_CFLAGS="$HOST_CFLAGS -O2 -Wall \$(HOST_CPPFLAGS) $CFLAGS"
+ CFLAGS="${CFLAGS:--O2} -Wall \$(CPPFLAGS)"
+-HOST_CFLAGS="${HOST_CFLAGS:--O2} -Wall \$(HOST_CPPFLAGS)"
++HOST_CFLAGS="${HOST_CFLAGS:--O2} -Wall \$(HOST_CPPFLAGS) $CFLAGS"
dnl TODO: figure out how to set these appropriately for compilers other than gcc
I386_CFLAGS="$I386_CFLAGS -Os -ffreestanding -Wall -W -Wno-format \$(I386_CPPFLAGS)"
--
-1.7.10.4
+2.7.4
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH][pyro] mkelfimage: Fix broken patch when building native
2017-06-05 22:47 ` [PATCH] mkelfimage: Fix broken patch when building native Saul Wold
@ 2017-06-12 16:54 ` Wold, Saul
0 siblings, 0 replies; 3+ messages in thread
From: Wold, Saul @ 2017-06-12 16:54 UTC (permalink / raw)
To: openembedded-core, richard.purdie, akuster
Armin,
This should be a 2.3.1 candidate, it's now merged in master
Sau!
On Mon, 2017-06-05 at 15:47 -0700, Saul Wold wrote:
> A change occured about a year ago that broke the native build, fix
> that patch
>
> [YOCTO #11590]
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
> .../mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch | 15
> +++++++++------
> 1 file changed, 9 insertions(+), 6 deletions(-)
>
> diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage/fix-
> makefile-to-find-libz.patch b/meta/recipes-
> devtools/mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch
> index 756a65c..be54754 100644
> --- a/meta/recipes-devtools/mkelfimage/mkelfimage/fix-makefile-to-
> find-libz.patch
> +++ b/meta/recipes-devtools/mkelfimage/mkelfimage/fix-makefile-to-
> find-libz.patch
> @@ -3,8 +3,11 @@ Let makefile find libz and zlib.h by CFLAGS and
> LDFLAGS.
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> Upstream-Status: Pending
> ---
> + configure.ac | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> diff --git a/configure.ac b/configure.ac
> -index d1acc36..6f865b0 100644
> +index 0f2ac72..f9099a2 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -62,7 +62,7 @@ AC_CHECK_PROG([RPM], rpm, rpm, [], [$PATH])
> @@ -16,15 +19,15 @@ index d1acc36..6f865b0 100644
>
> dnl Find the default programs
> if test "with_default" != no ; then
> -@@ -175,7 +175,7 @@ fi
> -
> +@@ -176,7 +176,7 @@ fi
> dnl ---Output variables...
>
> --HOST_CFLAGS="$HOST_CFLAGS -O2 -Wall \$(HOST_CPPFLAGS)"
> -+HOST_CFLAGS="$HOST_CFLAGS -O2 -Wall \$(HOST_CPPFLAGS) $CFLAGS"
> + CFLAGS="${CFLAGS:--O2} -Wall \$(CPPFLAGS)"
> +-HOST_CFLAGS="${HOST_CFLAGS:--O2} -Wall \$(HOST_CPPFLAGS)"
> ++HOST_CFLAGS="${HOST_CFLAGS:--O2} -Wall \$(HOST_CPPFLAGS) $CFLAGS"
>
> dnl TODO: figure out how to set these appropriately for compilers
> other than gcc
> I386_CFLAGS="$I386_CFLAGS -Os -ffreestanding -Wall -W -Wno-format
> \$(I386_CPPFLAGS)"
> --
> -1.7.10.4
> +2.7.4
>
> --
> 2.7.4
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-12 16:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-05 22:47 [PATCH] Fix mkelfimage native target Saul Wold
2017-06-05 22:47 ` [PATCH] mkelfimage: Fix broken patch when building native Saul Wold
2017-06-12 16:54 ` [PATCH][pyro] " Wold, Saul
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.