diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2009-11-29 21:28:30 +0100 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2009-11-29 21:28:30 +0100 |
commit | beb449962d53005af62c8141effb0e0723e0b49d (patch) | |
tree | acb503377e968640ce19ce65da4aae2273229c79 /recipes/mtd | |
parent | 0249f685da226c36be2f472bcd2af9e4aa94a132 (diff) | |
parent | f32389464a0a74358d5b8f92f7dfbbda05aa0c0a (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.inc | 8 |
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 |