mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 21:32:13 +02:00
Remove packaged-staging.bbclass
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -70,24 +70,6 @@ oe_runmake() {
|
||||
}
|
||||
|
||||
|
||||
def package_stagefile(file, d):
|
||||
|
||||
if bb.data.getVar('PSTAGING_ACTIVE', d, True) == "1":
|
||||
destfile = file.replace(bb.data.getVar("TMPDIR", d, 1), bb.data.getVar("PSTAGE_TMPDIR_STAGE", d, 1))
|
||||
bb.mkdirhier(os.path.dirname(destfile))
|
||||
#print "%s to %s" % (file, destfile)
|
||||
bb.copyfile(file, destfile)
|
||||
|
||||
package_stagefile_shell() {
|
||||
if [ "$PSTAGING_ACTIVE" = "1" ]; then
|
||||
srcfile=$1
|
||||
destfile=`echo $srcfile | sed s#${TMPDIR}#${PSTAGE_TMPDIR_STAGE}#`
|
||||
destdir=`dirname $destfile`
|
||||
mkdir -p $destdir
|
||||
cp -dp $srcfile $destfile
|
||||
fi
|
||||
}
|
||||
|
||||
def base_dep_prepend(d):
|
||||
#
|
||||
# Ideally this will check a flag so we will operate properly in
|
||||
|
||||
Reference in New Issue
Block a user