diff options
Diffstat (limited to 'meta/classes/src_distribute_local.bbclass')
-rw-r--r-- | meta/classes/src_distribute_local.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/src_distribute_local.bbclass b/meta/classes/src_distribute_local.bbclass index 5f0cef5bec..31cc85fae4 100644 --- a/meta/classes/src_distribute_local.bbclass +++ b/meta/classes/src_distribute_local.bbclass @@ -1,3 +1,5 @@ +SRC_DISTRIBUTEDIR ?= "${DEPLOY_DIR}/sources" + inherit src_distribute # SRC_DIST_LOCAL possible values: @@ -5,7 +7,7 @@ inherit src_distribute # symlink symlinks the files from ${A} to the distributedir # move+symlink moves the files into distributedir, and symlinks them back SRC_DIST_LOCAL ?= "move+symlink" -SRC_DISTRIBUTEDIR ?= "${DEPLOY_DIR}/sources" + SRC_DISTRIBUTECOMMAND () { s="${SRC}" if [ ! -L "$s" ] && (echo "$s"|grep "^${DL_DIR}"); then |