Patchwork uclibc: Build ldd/ldcondif/iconv for main uclibc recipe

login
register
mail settings
Submitter Khem Raj
Date July 17, 2013, 3:17 p.m.
Message ID <1374074262-3614-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/53881/
State Accepted
Commit b4ecf65e20a63d11f14483d213a3931f39225cdd
Headers show

Comments

Khem Raj - July 17, 2013, 3:17 p.m.
Currently these were not building as a result
uclibc based systems were missing ldd and any package
depending on ldd package were broken since the package
was empty.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/uclibc/uclibc.inc |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc/uclibc.inc
index 86a7417..29bc62b 100644
--- a/meta/recipes-core/uclibc/uclibc.inc
+++ b/meta/recipes-core/uclibc/uclibc.inc
@@ -156,5 +156,10 @@  do_configure() {
 
 do_install() {
         oe_runmake PREFIX=${D} install
-        oe_runmake PREFIX=${D} "SSP_ALL_CFLAGS=${TARGET_LINK_HASH_STYLE}" install_utils
 }
+
+# build ldd, ldconfig and friends but only for full uclibc
+do_install_append_pn-uclibc () {
+        oe_runmake PREFIX=${D} "SSP_ALL_CFLAGS=${TARGET_LINK_HASH_STYLE}" -C utils utils_install
+}
+