diff options
Diffstat (limited to 'classes/src_distribute_local.oeclass')
-rw-r--r-- | classes/src_distribute_local.oeclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/src_distribute_local.oeclass b/classes/src_distribute_local.oeclass index 64705895f4..5f0cef5bec 100644 --- a/classes/src_distribute_local.oeclass +++ b/classes/src_distribute_local.oeclass @@ -16,9 +16,11 @@ SRC_DISTRIBUTECOMMAND () { mkdir -p ${SRC_DISTRIBUTEDIR} case "${SRC_DIST_LOCAL}" in copy) + test -e $s.md5 && cp -f $s.md5 ${SRC_DISTRIBUTEDIR}/ cp -f $s ${SRC_DISTRIBUTEDIR}/ ;; symlink) + test -e $s.md5 && ln -sf $s.md5 ${SRC_DISTRIBUTEDIR}/ ln -sf $s ${SRC_DISTRIBUTEDIR}/ ;; move+symlink) |