From 2f435dab59af9035dc5144f3d88747dfe8e041db Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 16 Nov 2009 22:35:21 +0000 Subject: ldconfig-native: Convert to use do_install for staging Signed-off-by: Richard Purdie --- meta/packages/glibc/ldconfig-native_2.5.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'meta') diff --git a/meta/packages/glibc/ldconfig-native_2.5.bb b/meta/packages/glibc/ldconfig-native_2.5.bb index bdd41dc55..3c3a1b1a6 100644 --- a/meta/packages/glibc/ldconfig-native_2.5.bb +++ b/meta/packages/glibc/ldconfig-native_2.5.bb @@ -14,7 +14,8 @@ do_compile () { $CC ldconfig.c -std=gnu99 chroot_canon.c xmalloc.c xstrdup.c cache.c readlib.c -I. dl-cache.c -o ldconfig } -do_stage () { - install -d ${STAGING_BINDIR}/ - install ldconfig ${STAGING_BINDIR}/ +NATIVE_INSTALL_WORKS = "1" +do_install () { + install -d ${D}/${bindir}/ + install ldconfig ${D}/${bindir}/ } -- cgit v1.2.3