summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/pkg_distribute.oeclass0
-rw-r--r--classes/src_distribute_local.oeclass2
2 files changed, 2 insertions, 0 deletions
diff --git a/classes/pkg_distribute.oeclass b/classes/pkg_distribute.oeclass
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/classes/pkg_distribute.oeclass
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)