Lines Matching full:path
8 import os.path
15 def get_make_variables(path, makefile='Makefile', expected_failure=False, variables={}): argument
17 …Given the path to a Makefile of some kind, return a dictionary of all variables defined in this Ma…
25 cmdline = ['make', '-rpn', '-C', path, '-f', makefile] + variable_setters
60 os.path.join(os.environ['IDF_PATH'],
65 … 'COMPONENT_MAKEFILE': os.path.join(component_path, 'component.mk'),
66 'COMPONENT_NAME': os.path.basename(component_path),
73 obj = os.path.splitext(obj)[0]
75 if os.path.exists(os.path.join(component_path, obj) + '.' + ext):
89 component_srcdir_path = os.path.abspath(os.path.join(component_path, component_srcdir))
92 srcs += glob.glob(os.path.join(component_srcdir_path, '*.[cS]'))
93 srcs += glob.glob(os.path.join(component_srcdir_path, '*.cpp'))
94 srcs = [('"%s"' % str(os.path.relpath(s, component_path))) for s in srcs]
104 if not os.path.exists(project_path):
106 if not os.path.exists(os.path.join(project_path, 'Makefile')):
109 project_cmakelists = os.path.join(project_path, 'CMakeLists.txt')
110 if os.path.exists(project_cmakelists):
159 cmakelists_path = os.path.join(component_path, 'CMakeLists.txt')
160 if os.path.exists(cmakelists_path):
196 …r.add_argument('project', help='Path to project to convert (defaults to CWD)', default=os.getcwd()…