summaryrefslogtreecommitdiff
path: root/recipes/mtd
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-11-29 21:28:30 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-11-29 21:28:30 +0100
commitbeb449962d53005af62c8141effb0e0723e0b49d (patch)
treeacb503377e968640ce19ce65da4aae2273229c79 /recipes/mtd
parent0249f685da226c36be2f472bcd2af9e4aa94a132 (diff)
parentf32389464a0a74358d5b8f92f7dfbbda05aa0c0a (diff)
Merge branch 'org.openembedded.dev' of git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/mtd')
-rw-r--r--recipes/mtd/mtd-utils.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes/mtd/mtd-utils.inc b/recipes/mtd/mtd-utils.inc
index dcf0e7c832..813a09fb13 100644
--- a/recipes/mtd/mtd-utils.inc
+++ b/recipes/mtd/mtd-utils.inc
@@ -17,7 +17,9 @@ do_stage () {
install -m 0644 $f ${STAGING_INCDIR}/mtd/
done
for binary in ${mtd_utils}; do
- install -m 0755 $binary ${STAGING_BINDIR}
+ if [ -f $binary ]; then
+ install -m 0755 $binary ${STAGING_BINDIR}
+ fi
done
}
@@ -25,7 +27,9 @@ do_install () {
install -d ${D}${bindir}
install -d ${D}${includedir}/mtd
for binary in ${mtd_utils}; do
- install -m 0755 $binary ${D}${bindir}
+ if [ -f $binary ]; then
+ install -m 0755 $binary ${D}${bindir}
+ fi
done
for f in ${S}/include/mtd/*.h; do
install -m 0644 $f ${D}${includedir}/mtd