Lines Matching refs:makefile
335 def is_product_makefile(makefile): argument
354 return (all([not makefile.startswith(p) for p in banned_prefixes]) and
355 all([not makefile.endswith(s) for s in banned_suffixes]))
362 def strip_overlay(makefile): argument
365 if makefile.startswith(overlay):
366 return makefile[len(overlay):]
367 return makefile
370 for makefile in product_makefiles:
373 makefile_with_overlay = os.path.join(overlay, makefile)
375 makefile = makefile_with_overlay
378 if not os.path.exists(makefile):
379 logger.warning("Unknown kati makefile: %s" % makefile)
384 makefiles_and_symlinks.add(strip_overlay(makefile))
385 if os.path.islink(makefile):
387 strip_overlay(os.path.relpath(os.path.realpath(makefile))))