Lines Matching refs:makefile
322 def is_product_makefile(makefile): argument
341 return (all([not makefile.startswith(p) for p in banned_prefixes]) and
342 all([not makefile.endswith(s) for s in banned_suffixes]))
349 def strip_overlay(makefile): argument
352 if makefile.startswith(overlay):
353 return makefile[len(overlay):]
354 return makefile
357 for makefile in product_makefiles:
360 makefile_with_overlay = os.path.join(overlay, makefile)
362 makefile = makefile_with_overlay
365 if not os.path.exists(makefile):
366 logger.warning("Unknown kati makefile: %s" % makefile)
371 makefiles_and_symlinks.add(strip_overlay(makefile))
372 if os.path.islink(makefile):
374 strip_overlay(os.path.relpath(os.path.realpath(makefile))))