diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-05 16:23:20 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-05 16:23:20 +0000 |
commit | f8e9384205c33e8a32678c67de75d5824ff2c631 (patch) | |
tree | efef8e8dcb1916c90ac582d1f30e203999323afa /meta/classes/src_distribute_local.bbclass | |
parent | ce894a0d9f63f8b276674f8045583eb3e4887925 (diff) | |
download | poky-f8e9384205c33e8a32678c67de75d5824ff2c631.tar.gz |
src_distribute classes: store sources in tmp/deploy/sources/LICENSE dirs
- recipe with few licenses has source stored in few directories
- recipes without LICENSE have source stored in "unknown" directory
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1862 311d38ba-8fff-0310-9ca6-ca027cbcb966
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 @@ | |||
1 | SRC_DISTRIBUTEDIR ?= "${DEPLOY_DIR}/sources" | ||
2 | |||
1 | inherit src_distribute | 3 | inherit src_distribute |
2 | 4 | ||
3 | # SRC_DIST_LOCAL possible values: | 5 | # SRC_DIST_LOCAL possible values: |
@@ -5,7 +7,7 @@ inherit src_distribute | |||
5 | # symlink symlinks the files from ${A} to the distributedir | 7 | # symlink symlinks the files from ${A} to the distributedir |
6 | # move+symlink moves the files into distributedir, and symlinks them back | 8 | # move+symlink moves the files into distributedir, and symlinks them back |
7 | SRC_DIST_LOCAL ?= "move+symlink" | 9 | SRC_DIST_LOCAL ?= "move+symlink" |
8 | SRC_DISTRIBUTEDIR ?= "${DEPLOY_DIR}/sources" | 10 | |
9 | SRC_DISTRIBUTECOMMAND () { | 11 | SRC_DISTRIBUTECOMMAND () { |
10 | s="${SRC}" | 12 | s="${SRC}" |
11 | if [ ! -L "$s" ] && (echo "$s"|grep "^${DL_DIR}"); then | 13 | if [ ! -L "$s" ] && (echo "$s"|grep "^${DL_DIR}"); then |