aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorNicholas Sauer <nicksauer@google.com>2014-05-08 13:36:55 -0700
committerNicholas Sauer <nicksauer@google.com>2014-05-08 13:41:19 -0700
commita4278d3a10d8ef8dd515ede06b431343581e4a94 (patch)
tree32fa14346c135a731a10aedc6a85717649bb6287 /build
parent75dcdf4a449a3b7cc06bb1ffed0bb2bb1dffbb44 (diff)
downloadpdk-a4278d3a10d8ef8dd515ede06b431343581e4a94.tar.gz
Only match exact group names to construct list of PDK dirs.
Existing check incorrectly matches pdk-cw-fs and causes build problems because it copies parts of the framework into the pdk directory. Change-Id: Iabc8394cc31df11732bee7a226aebe0186a54bc6
Diffstat (limited to 'build')
-rwxr-xr-xbuild/prepare_pdk_tree.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/prepare_pdk_tree.py b/build/prepare_pdk_tree.py
index 6c56721..56741b7 100755
--- a/build/prepare_pdk_tree.py
+++ b/build/prepare_pdk_tree.py
@@ -57,8 +57,9 @@ class ManifestHandler(object):
def isInGroups(groupsAttrib, groups):
if groupsAttrib is None:
return False
+ groupsAttribList = groupsAttrib.split(',')
for group in groups:
- if group in groupsAttrib:
+ if group in groupsAttribList:
return True
return False