Lines Matching refs:makefile
202 def is_product_makefile(makefile): argument
221 return (all([not makefile.startswith(p) for p in banned_prefixes]) and
222 all([not makefile.endswith(s) for s in banned_suffixes]))
229 def strip_overlay(makefile): argument
232 if makefile.startswith(overlay):
233 return makefile[len(overlay):]
234 return makefile
237 for makefile in product_makefiles:
240 makefile_with_overlay = os.path.join(overlay, makefile)
242 makefile = makefile_with_overlay
245 if not os.path.exists(makefile):
246 logger.warning("Unknown kati makefile: %s" % makefile)
251 makefiles_and_symlinks.add(strip_overlay(makefile))
252 if os.path.islink(makefile):
254 strip_overlay(os.path.relpath(os.path.realpath(makefile))))