diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-11 14:39:31 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-19 20:06:25 +0100 |
commit | a45e1d54e19d4cd728e90df929b212e41ef70d4b (patch) | |
tree | 98c7a983331669e2fb418765c23acf4807feb538 /meta/classes/base.bbclass | |
parent | 369920107edd8ae2487d71a324072fcfaba0731e (diff) | |
download | poky-a45e1d54e19d4cd728e90df929b212e41ef70d4b.tar.gz |
Remove packaged-staging.bbclass
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 3805dd3506..2fff8b4438 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -70,24 +70,6 @@ oe_runmake() { | |||
70 | } | 70 | } |
71 | 71 | ||
72 | 72 | ||
73 | def package_stagefile(file, d): | ||
74 | |||
75 | if bb.data.getVar('PSTAGING_ACTIVE', d, True) == "1": | ||
76 | destfile = file.replace(bb.data.getVar("TMPDIR", d, 1), bb.data.getVar("PSTAGE_TMPDIR_STAGE", d, 1)) | ||
77 | bb.mkdirhier(os.path.dirname(destfile)) | ||
78 | #print "%s to %s" % (file, destfile) | ||
79 | bb.copyfile(file, destfile) | ||
80 | |||
81 | package_stagefile_shell() { | ||
82 | if [ "$PSTAGING_ACTIVE" = "1" ]; then | ||
83 | srcfile=$1 | ||
84 | destfile=`echo $srcfile | sed s#${TMPDIR}#${PSTAGE_TMPDIR_STAGE}#` | ||
85 | destdir=`dirname $destfile` | ||
86 | mkdir -p $destdir | ||
87 | cp -dp $srcfile $destfile | ||
88 | fi | ||
89 | } | ||
90 | |||
91 | def base_dep_prepend(d): | 73 | def base_dep_prepend(d): |
92 | # | 74 | # |
93 | # Ideally this will check a flag so we will operate properly in | 75 | # Ideally this will check a flag so we will operate properly in |