mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user