The debugfs prefix is striped from t, but not from baset.
Therefore baset never matches t.
Signed-off-by: Freudiger Raphael <raphael.freudiger@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
def _add_type(t):
baset = _image_base_type(t)
+ input_t = t
if baset not in basetypes:
basetypes[baset]= []
if t not in basetypes[baset]:
basedep = _image_base_type(dep)
typedeps[baset].add(basedep)
- if baset != t:
+ if baset != input_t:
_add_type(baset)
-
+
for t in alltypes[:]:
_add_type(t)