* Converted do_stage to do_install.
* Added INC_PR = "r1"
* Added NATIVE_INSTALL_WORKS = "1"
Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pad"
SRC_URI = "file://pad.c"
LICENSE = "PD"
+PR = "r1"
inherit native
do_compile() {
${CC} -I. -o pad pad.c
}
-do_stage() {
- install -m 0755 pad ${STAGING_BINDIR}/
+do_install() {
+ install -d ${D}${bindir}/
+ install -m 0755 pad ${D}${bindir}/
}
+
+NATIVE_INSTALL_WORKS = "1"