mtd-utils: update dynamic packaging rules
[opendreambox.git] / meta-opendreambox / recipes-devtools / mtd / mtd-utils_%.bbappend
1 PACKAGES_DYNAMIC = "^mtd-utils-.*"
2
3 FILES_${PN} = ""
4 ALLOW_EMPTY_${PN} = "1"
5
6 python mtdutils_split_packages() {
7     objs = d.expand('${sbindir}')
8     do_split_packages(d, objs, '^(.*)$', 'mtd-utils-%s', 'mtd-util %s', recursive=False, match_path=True, prepend=True)
9 }
10
11 PACKAGESPLITFUNCS_prepend = "mtdutils_split_packages "