All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] glibc: use cross-rpcgen to replace host's rpcgen
@ 2015-08-19  7:51 Robert Yang
  2015-08-19  7:51 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Yang @ 2015-08-19  7:51 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 059db140885bad379534e6ec713f3ceb4e18faea:

  adt-installer: use DEPLOY_DIR in ANT_DEPLOY expansion (2015-08-16 17:28:14 +0100)

are available in the git repository at:

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

Robert Yang (1):
  glibc: use cross-rpcgen to replace host's rpcgen

 meta/recipes-core/glibc/glibc_2.22.bb |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

-- 
1.7.9.5



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

* [PATCH 1/1] glibc: use cross-rpcgen to replace host's rpcgen
  2015-08-19  7:51 [PATCH 0/1] glibc: use cross-rpcgen to replace host's rpcgen Robert Yang
@ 2015-08-19  7:51 ` Robert Yang
  2015-08-19 13:30   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Yang @ 2015-08-19  7:51 UTC (permalink / raw)
  To: openembedded-core

There might be unexpected errors when use host's rpcgen.

[YOCTO #8181]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-core/glibc/glibc_2.22.bb |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/meta/recipes-core/glibc/glibc_2.22.bb b/meta/recipes-core/glibc/glibc_2.22.bb
index 6aaf722..f0e1fad 100644
--- a/meta/recipes-core/glibc/glibc_2.22.bb
+++ b/meta/recipes-core/glibc/glibc_2.22.bb
@@ -97,10 +97,6 @@ do_configure () {
 # calls for now
 # don't pass CPPFLAGS into configure, since it upsets the kernel-headers
 # version check and doesn't really help with anything
-        if [ -z "`which rpcgen`" ]; then
-                echo "rpcgen not found.  Install glibc-devel."
-                exit 1
-        fi
         (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
         find ${S} -name "configure" | xargs touch
         CPPFLAGS="" oe_runconf
@@ -119,7 +115,7 @@ do_compile () {
 		for r in ${rpcsvc}; do
 			h=`echo $r|sed -e's,\.x$,.h,'`
 			rm -f $h
-			rpcgen -h $r -o $h || bbwarn "${PN}: unable to generate header for $r"
+			${B}/sunrpc/cross-rpcgen -h $r -o $h || bbwarn "${PN}: unable to generate header for $r"
 		done
 	)
 	echo "Adjust ldd script"
-- 
1.7.9.5



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

* Re: [PATCH 1/1] glibc: use cross-rpcgen to replace host's rpcgen
  2015-08-19  7:51 ` [PATCH 1/1] " Robert Yang
@ 2015-08-19 13:30   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2015-08-19 13:30 UTC (permalink / raw)
  To: Robert Yang; +Cc: Patches and discussions about the oe-core layer

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

On Aug 19, 2015 12:51 AM, "Robert Yang" <liezhi.yang@windriver.com> wrote:
>
> There might be unexpected errors when use host's rpcgen.
>
> [YOCTO #8181]

This is fine

>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>  meta/recipes-core/glibc/glibc_2.22.bb |    6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/meta/recipes-core/glibc/glibc_2.22.bb
b/meta/recipes-core/glibc/glibc_2.22.bb
> index 6aaf722..f0e1fad 100644
> --- a/meta/recipes-core/glibc/glibc_2.22.bb
> +++ b/meta/recipes-core/glibc/glibc_2.22.bb
> @@ -97,10 +97,6 @@ do_configure () {
>  # calls for now
>  # don't pass CPPFLAGS into configure, since it upsets the kernel-headers
>  # version check and doesn't really help with anything
> -        if [ -z "`which rpcgen`" ]; then
> -                echo "rpcgen not found.  Install glibc-devel."
> -                exit 1
> -        fi
>          (cd ${S} && gnu-configize) || die "failure in running
gnu-configize"
>          find ${S} -name "configure" | xargs touch
>          CPPFLAGS="" oe_runconf
> @@ -119,7 +115,7 @@ do_compile () {
>                 for r in ${rpcsvc}; do
>                         h=`echo $r|sed -e's,\.x$,.h,'`
>                         rm -f $h
> -                       rpcgen -h $r -o $h || bbwarn "${PN}: unable to
generate header for $r"
> +                       ${B}/sunrpc/cross-rpcgen -h $r -o $h || bbwarn
"${PN}: unable to generate header for $r"
>                 done
>         )
>         echo "Adjust ldd script"
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

[-- Attachment #2: Type: text/html, Size: 2788 bytes --]

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

end of thread, other threads:[~2015-08-19 13:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-19  7:51 [PATCH 0/1] glibc: use cross-rpcgen to replace host's rpcgen Robert Yang
2015-08-19  7:51 ` [PATCH 1/1] " Robert Yang
2015-08-19 13:30   ` Khem Raj

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.