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>
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"
# 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"