diff options
-rw-r--r-- | meta/classes-global/package.bbclass | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/meta/classes-global/package.bbclass b/meta/classes-global/package.bbclass index 21a50bbb45..5c250776f8 100644 --- a/meta/classes-global/package.bbclass +++ b/meta/classes-global/package.bbclass | |||
@@ -243,18 +243,6 @@ python () { | |||
243 | d.appendVarFlag('do_package', 'deptask', " do_packagedata") | 243 | d.appendVarFlag('do_package', 'deptask', " do_packagedata") |
244 | } | 244 | } |
245 | 245 | ||
246 | def checkbuildpath(file, d): | ||
247 | tmpdir = d.getVar('TMPDIR') | ||
248 | with open(file) as f: | ||
249 | file_content = f.read() | ||
250 | if tmpdir in file_content: | ||
251 | return True | ||
252 | |||
253 | return False | ||
254 | |||
255 | # | ||
256 | # Used by do_packagedata (and possibly other routines post do_package) | ||
257 | # | ||
258 | 246 | ||
259 | PRSERV_ACTIVE = "${@bool(d.getVar("PRSERV_HOST"))}" | 247 | PRSERV_ACTIVE = "${@bool(d.getVar("PRSERV_HOST"))}" |
260 | PRSERV_ACTIVE[vardepvalue] = "${PRSERV_ACTIVE}" | 248 | PRSERV_ACTIVE[vardepvalue] = "${PRSERV_ACTIVE}" |