opkg-utils: add do_install after NATIVE_INSTALL_WORKS

NATIVE_INSTALL_WORKS implicates an explicit do_install required or else
its binaries are not installed to sysroot, which result in error like:
   sh: opkg-build not found

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
This commit is contained in:
Kevin Tian 2010-07-22 13:36:42 +08:00 committed by Richard Purdie
parent b02be74889
commit ba8fad4058
1 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://opkg.py;beginline=1;endline=18;md5=15917491ad6bf7acc666ca5f7cc1e083"
RDEPENDS = "python"
RDEPENDS_virtclass-native = ""
PR = "r0"
PR = "r1"
SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=opkg-utils;proto=http \
file://index-ignore-filenotfound.patch"
@ -17,6 +17,9 @@ S = "${WORKDIR}/opkg-utils"
# Avoid circular dependencies from package_ipk.bbclass
PACKAGES_virtclass-native = ""
NATIVE_INSTALL_WORKS = "1"
do_install() {
oe_runmake PREFIX=${prefix} DESTDIR=${D} install
}
NATIVE_INSTALL_WORKS = "1"
BBCLASSEXTEND = "native"