Home
last modified time | relevance | path

Searched refs:build_dir (Results 1 – 24 of 24) sorted by relevance

/Zephyr-Core-2.7.6/doc/_extensions/zephyr/
Dapplication.py163 build_dir = ('build' + '/' + build_dir_append).rstrip('/')
187 'build_dir': build_dir,
238 build_dir = kwargs['build_dir']
248 dst = ' -d {}'.format(build_dir) if build_dir != 'build' else ''
292 def _mkdir(mkdir, build_dir, host_os, skip_config): argument
295 …build directory ({}) and ran cmake, just 'cd {}' instead.".format(build_dir, build_dir)) # noqa: …
297 content.append('mkdir {} && cd {}'.format(build_dir, build_dir))
299 content.append('{} {} && cd {}'.format(mkdir, build_dir, build_dir))
301 build_dir = build_dir.replace('/', '\\')
302 content.append('mkdir {} & cd {}'.format(build_dir, build_dir))
[all …]
/Zephyr-Core-2.7.6/tests/net/all/
Dcheck_net_options.sh19 build_dir="$1"
21 if [ ! -d $build_dir ]; then
22 echo "Directory $build_dir not found!"
26 kconfig_dir=$build_dir/rst/doc/reference/kconfig
/Zephyr-Core-2.7.6/scripts/west_commands/
Drun_common.py157 build_dir = get_build_dir(user_args)
158 cache = load_cmake_cache(build_dir, user_args)
161 rebuild(command, build_dir, user_args)
164 yaml_path = runners_yaml_path(build_dir, board)
221 runner_config = get_runner_config(build_dir, yaml_path, runners_yaml, args)
245 if args.build_dir:
246 return args.build_dir
266 def load_cmake_cache(build_dir, args): argument
267 cache_file = path.join(build_dir, args.cmake_cache or zcmake.DEFAULT_CACHE)
273 def rebuild(command, build_dir, args): argument
[all …]
Dbuild_helpers.py91 build_dir = dir
98 build_dir = default
100 build_dir = cwd
102 build_dir = default
103 log.dbg('build dir: {}'.format(build_dir), level=log.VERBOSE_EXTREME)
104 if build_dir:
105 return os.path.abspath(build_dir)
Dbuild.py74 self.build_dir = None
171 if is_zephyr_build(self.build_dir):
275 self.cmake_cache = CMakeCache.from_build_dir(self.build_dir)
287 build_dir = find_build_dir(self.args.build_dir, board=board,
289 if not build_dir:
293 if os.path.exists(build_dir):
294 if not os.path.isdir(build_dir):
296 format(build_dir))
298 os.makedirs(build_dir, exist_ok=False)
302 self.build_dir = build_dir
[all …]
Dspdx.py56 log.dbg(f" --build-dir is", args.build_dir)
70 if not args.build_dir:
74 query_ready = setupCmakeQuery(args.build_dir)
82 if not args.build_dir:
87 cfg.buildDir = args.build_dir
98 cfg.spdxDir = os.path.join(args.build_dir, "spdx")
Dsign.py147 build_dir = find_build_dir(args.build_dir)
148 self.check_force(os.path.isdir(build_dir),
149 'no such build directory {}'.format(build_dir))
150 self.check_force(is_zephyr_build(build_dir),
152 'directory'.format(build_dir))
153 build_conf = BuildConfiguration(build_dir)
162 format(build_dir))
172 format(build_dir))
186 signer.sign(self, build_dir, build_conf, formats)
196 def sign(self, command, build_dir, build_conf, formats): argument
[all …]
Dzcmake.py212 def from_build_dir(build_dir): argument
213 return CMakeCache(os.path.join(build_dir, DEFAULT_CACHE))
/Zephyr-Core-2.7.6/boards/
DCMakeLists.txt8 set(build_dir boards/${ARCH}/${BOARD}) variable
10 unset(build_dir)
13 add_subdirectory(${BOARD_DIR} ${build_dir})
/Zephyr-Core-2.7.6/scripts/kconfig/
Ddiffconfig89 build_dir=""
91 build_dir = os.environ["KBUILD_OUTPUT"]+"/"
92 configa_filename = build_dir + ".config.old"
93 configb_filename = build_dir + ".config"
/Zephyr-Core-2.7.6/scripts/west_commands/runners/
Dmdb.py49 mdb_pid_file = path.join(mdb_runner.build_dir, 'mdb.pid')
67 mdb_cfg_dir = path.join(mdb_runner.build_dir, '.sc.project')
135 self.build_dir = cfg.build_dir
181 self.build_dir = cfg.build_dir
Dcore.py129 def __init__(self, build_dir: str):
130 self.build_dir = build_dir
132 self.path = os.path.join(self.build_dir, 'zephyr', '.config')
256 build_dir: str # application build directory
521 self._build_conf = BuildConfiguration(self.cfg.build_dir)
Dmisc.py51 self.check_call([self.cmd, self.cfg.build_dir] + self.args)
Ddfu.py83 build_conf = BuildConfiguration(cfg.build_dir)
Dbossac.py103 b = pathlib.Path(self.cfg.build_dir)
Dpyocd.py116 build_conf = BuildConfiguration(cfg.build_dir)
/Zephyr-Core-2.7.6/scripts/pylib/twister/
Dtwisterlib.py395 self.build_dir = instance.build_dir
396 self.log = os.path.join(self.build_dir, "handler.log")
415 filename = os.path.join(self.build_dir, "recording.csv")
530 command = ["west", "flash", "--skip-rebuild", "-d", self.build_dir]
539 "--log-file=" + self.build_dir + "/valgrind.log"
545 "in directory: " + self.build_dir)
561 stderr=subprocess.PIPE, cwd=self.build_dir, env=env) as proc:
576 subprocess.call(["GCOV_PREFIX=" + self.build_dir,
577 "gcov", self.sourcedir, "-b", "-s", self.build_dir], shell=True)
739 command = ["west", "flash", "--skip-rebuild", "-d", self.build_dir]
[all …]
Dharness.py131 self.running_dir = instance.build_dir
/Zephyr-Core-2.7.6/scripts/west_commands/zspdx/
Dsbom.py37 def setupCmakeQuery(build_dir): argument
39 cmakeApiDirPath = os.path.join(build_dir, ".cmake", "api", "v1", "query")
/Zephyr-Core-2.7.6/scripts/west_commands/tests/
Dtest_build.py46 ARGS = Namespace(board=None, build_dir=None, cmake=False, command='build',
Dtest_dfu_util.py129 runner_config = runner_config._replace(build_dir=os.fspath(tmpdir))
Dtest_bossac.py142 return runner_config._replace(build_dir=os.fspath(tmpdir))
/Zephyr-Core-2.7.6/cmake/reports/
DCMakeLists.txt41 --build_dir ${CMAKE_BINARY_DIR}
/Zephyr-Core-2.7.6/scripts/
Dgen_app_partitions.py157 build_dir = command.get('directory')
162 fullname = os.path.join(build_dir, obj_file)