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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user