ldconfig-native: Convert to use do_install for staging

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2009-11-16 22:35:21 +00:00
parent 2b62b6e4f7
commit 2f435dab59
1 changed files with 4 additions and 3 deletions

View File

@ -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 $CC ldconfig.c -std=gnu99 chroot_canon.c xmalloc.c xstrdup.c cache.c readlib.c -I. dl-cache.c -o ldconfig
} }
do_stage () { NATIVE_INSTALL_WORKS = "1"
install -d ${STAGING_BINDIR}/ do_install () {
install ldconfig ${STAGING_BINDIR}/ install -d ${D}/${bindir}/
install ldconfig ${D}/${bindir}/
} }