require recipes-devtools/mtd/mtd-utils_git.bb # search for files in original recipe location FILESPATH .= ":${@bb.utils.which(BBPATH, 'recipes-devtools/mtd/mtd-utils', direction=True)}" PR = "r0" PACKAGES = "${PN} ${PN}-dbg" # build static version of nandwrite for flash upgrading CFLAGS += "-static" do_install () { install -d ${D}${bindir} install -m 0755 ${S}/nandwrite ${D}${bindir}/nandwrite.static }