Lines Matching refs:makefile
334 def is_product_makefile(makefile): argument
353 return (all([not makefile.startswith(p) for p in banned_prefixes]) and
354 all([not makefile.endswith(s) for s in banned_suffixes]))
361 def strip_overlay(makefile): argument
364 if makefile.startswith(overlay):
365 return makefile[len(overlay):]
366 return makefile
369 for makefile in product_makefiles:
372 makefile_with_overlay = os.path.join(overlay, makefile)
374 makefile = makefile_with_overlay
377 if not os.path.exists(makefile):
378 logger.warning("Unknown kati makefile: %s" % makefile)
383 makefiles_and_symlinks.add(strip_overlay(makefile))
384 if os.path.islink(makefile):
386 strip_overlay(os.path.relpath(os.path.realpath(makefile))))