From ba8fad40585fa92a0a91909e00d990d5e347d92b Mon Sep 17 00:00:00 2001 From: Kevin Tian Date: Thu, 22 Jul 2010 13:36:42 +0800 Subject: [PATCH] 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 Signed-off-by: Kevin Tian --- meta/packages/opkg-utils/opkg-utils_svn.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/packages/opkg-utils/opkg-utils_svn.bb b/meta/packages/opkg-utils/opkg-utils_svn.bb index 17dfbab774..18259b3c39 100644 --- a/meta/packages/opkg-utils/opkg-utils_svn.bb +++ b/meta/packages/opkg-utils/opkg-utils_svn.bb @@ -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"