summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@ted.(none)>2009-01-25 17:20:05 +0000
committerRichard Purdie <richard@ted.(none)>2009-02-05 23:54:11 +0000
commitbe10b46b7325a0df84a0133350eba4d1c4874de9 (patch)
tree5e848f8e492eed61b66c54b49b68a0cd0303702d /meta/classes/base.bbclass
parentc2c16bced84f488622467ae31e60aa07253b24cf (diff)
downloadpoky-be10b46b7325a0df84a0133350eba4d1c4874de9.tar.gz
base.bbclass: Use explode_deps from bb.utils and remove the obsolete base.bbclass version
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass20
1 files changed, 0 insertions, 20 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 0a5facf6e3..1f280a0dc5 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -935,26 +935,6 @@ addtask build after do_populate_staging
935do_build = "" 935do_build = ""
936do_build[func] = "1" 936do_build[func] = "1"
937 937
938# Functions that update metadata based on files outputted
939# during the build process.
940
941def explode_deps(s):
942 r = []
943 l = s.split()
944 flag = False
945 for i in l:
946 if i[0] == '(':
947 flag = True
948 j = []
949 if flag:
950 j.append(i)
951 if i.endswith(')'):
952 flag = False
953 r[-1] += ' ' + ' '.join(j)
954 else:
955 r.append(i)
956 return r
957
958# Make sure MACHINE isn't exported 938# Make sure MACHINE isn't exported
959# (breaks binutils at least) 939# (breaks binutils at least)
960MACHINE[unexport] = "1" 940MACHINE[unexport] = "1"