1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

base.bbclass: Use explode_deps from bb.utils and remove the obsolete base.bbclass version

This commit is contained in:
Richard Purdie
2009-01-25 17:20:05 +00:00
parent c2c16bced8
commit be10b46b73
5 changed files with 14 additions and 34 deletions
-20
View File
@@ -935,26 +935,6 @@ addtask build after do_populate_staging
do_build = ""
do_build[func] = "1"
# Functions that update metadata based on files outputted
# during the build process.
def explode_deps(s):
r = []
l = s.split()
flag = False
for i in l:
if i[0] == '(':
flag = True
j = []
if flag:
j.append(i)
if i.endswith(')'):
flag = False
r[-1] += ' ' + ' '.join(j)
else:
r.append(i)
return r
# Make sure MACHINE isn't exported
# (breaks binutils at least)
MACHINE[unexport] = "1"