diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-07-13 03:02:41 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-16 15:09:20 +0100 |
commit | d890d81aa5d6f526a0936db31067d12d32335b75 (patch) | |
tree | 6974c8a2f6208a5e78ebea99089efe43d24fb41e /meta/recipes-core | |
parent | 1537381d930fe55ba1f8917d6f5db3ad7c349992 (diff) | |
download | poky-d890d81aa5d6f526a0936db31067d12d32335b75.tar.gz |
glibc: print PN when bbwarn
The current warning is:
WARNING: glibc: unable to generate header for spray.x
Which is easier to debug than:
WARNING: unable to generate header for spray.x
And remove the file before generate it again to fix the warning when
recompile:
file `bootparam_prot.h' already exists and may be overwritten
WARNING: unable to generate header for bootparam_prot.x
file `nlm_prot.h' already exists and may be overwritten
WARNING: unable to generate header for nlm_prot.x
[snip]
(From OE-Core rev: 5ae6d368a89d5f7f3c860f80aa8afb689053afd4)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/glibc/glibc_2.21.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/glibc_2.21.bb b/meta/recipes-core/glibc/glibc_2.21.bb index 8197c29d2e..30f19376e8 100644 --- a/meta/recipes-core/glibc/glibc_2.21.bb +++ b/meta/recipes-core/glibc/glibc_2.21.bb | |||
@@ -135,7 +135,8 @@ do_compile () { | |||
135 | cd ${S}/sunrpc/rpcsvc | 135 | cd ${S}/sunrpc/rpcsvc |
136 | for r in ${rpcsvc}; do | 136 | for r in ${rpcsvc}; do |
137 | h=`echo $r|sed -e's,\.x$,.h,'` | 137 | h=`echo $r|sed -e's,\.x$,.h,'` |
138 | rpcgen -h $r -o $h || bbwarn "unable to generate header for $r" | 138 | rm -f $h |
139 | rpcgen -h $r -o $h || bbwarn "${PN}: unable to generate header for $r" | ||
139 | done | 140 | done |
140 | ) | 141 | ) |
141 | echo "Adjust ldd script" | 142 | echo "Adjust ldd script" |