blob: 8f64be41828b7cab2bbc3c4f0e0f11351a6ffc16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
}
|