diff options
Diffstat (limited to 'recipes-devtools/mtd')
-rw-r--r-- | recipes-devtools/mtd/mtd-utils-static_git.bb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-devtools/mtd/mtd-utils-static_git.bb b/recipes-devtools/mtd/mtd-utils-static_git.bb new file mode 100644 index 0000000..8f64be4 --- /dev/null +++ b/recipes-devtools/mtd/mtd-utils-static_git.bb @@ -0,0 +1,17 @@ +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 +} + |