diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-06 12:50:55 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-29 13:42:22 +0100 |
| commit | 287c3bec513d531461f3de71c8677c9aaec95fa5 (patch) | |
| tree | 2d367951c56e575ea09ccc1f8fb97477168de6ce /meta/recipes-support | |
| parent | 80f625a364ba6f390168804487fc0c0610d6d3ec (diff) | |
| download | poky-287c3bec513d531461f3de71c8677c9aaec95fa5.tar.gz | |
attr: Fix uclibc builds
attr needs libintl headers and libs. Add in the missing dependency and
ensure the linker flag gets passed in multilib builds by replacing the
PN == BPN check with a class-target override instead.
(From OE-Core rev: c19fb913006eb53025e5db1574d973c8d7ceec76)
(From OE-Core rev: 240d25d0fbcbedbdea82a7a103e672e2aad74ba8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
| -rw-r--r-- | meta/recipes-support/attr/attr.inc | 2 | ||||
| -rw-r--r-- | meta/recipes-support/attr/ea-acl.inc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc index 873c1fffd9..01ad59cb96 100644 --- a/meta/recipes-support/attr/attr.inc +++ b/meta/recipes-support/attr/attr.inc | |||
| @@ -2,7 +2,7 @@ SUMMARY = "Utilities for manipulating filesystem extended attributes" | |||
| 2 | HOMEPAGE = "http://savannah.nongnu.org/projects/attr/" | 2 | HOMEPAGE = "http://savannah.nongnu.org/projects/attr/" |
| 3 | SECTION = "libs" | 3 | SECTION = "libs" |
| 4 | 4 | ||
| 5 | DEPENDS = "ncurses" | 5 | DEPENDS = "ncurses virtual/libintl" |
| 6 | 6 | ||
| 7 | LICENSE = "LGPLv2.1+ & GPLv2+" | 7 | LICENSE = "LGPLv2.1+ & GPLv2+" |
| 8 | LICENSE_${PN} = "GPLv2+" | 8 | LICENSE_${PN} = "GPLv2+" |
diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc index 785ce0cf50..72f623e593 100644 --- a/meta/recipes-support/attr/ea-acl.inc +++ b/meta/recipes-support/attr/ea-acl.inc | |||
| @@ -34,8 +34,8 @@ FILES_lib${BPN}-doc = "${mandir}/man2 \ | |||
| 34 | 34 | ||
| 35 | BBCLASSEXTEND = "native" | 35 | BBCLASSEXTEND = "native" |
| 36 | # Only append ldflags for target recipe and if USE_NLS is enabled | 36 | # Only append ldflags for target recipe and if USE_NLS is enabled |
| 37 | LDFLAGS_append_libc-uclibc = "${@['', ' -lintl '][(d.getVar('PN', True) == d.getVar('BPN', True)) and (d.getVar('USE_NLS', True) == 'yes')]}" | 37 | LDFLAGS_append_libc-uclibc_class-target = "${@['', ' -lintl '][(d.getVar('USE_NLS', True) == 'yes')]}" |
| 38 | EXTRA_OECONF_append_libc-uclibc = "${@['', ' --disable-gettext '][(d.getVar('PN', True) == d.getVar('BPN', True)) and (d.getVar('USE_NLS', True) == 'no')]}" | 38 | EXTRA_OECONF_append_libc-uclibc_class-target = "${@['', ' --disable-gettext '][(d.getVar('USE_NLS', True) == 'no')]}" |
| 39 | 39 | ||
| 40 | fix_symlink () { | 40 | fix_symlink () { |
| 41 | if test "${libdir}" = "${base_libdir}" ; then | 41 | if test "${libdir}" = "${base_libdir}" ; then |
