Lines Matching +full:url +full:- +full:base
5 # SPDX-License-Identifier: Apache-2.0
11 Include file is generated for Kconfig using --kconfig-out.
12 A <name>:<path> text file is generated for use with CMake using --cmake-out.
14 Using --twister-out <filename> an argument file for twister script will
57 cmake-ext:
61 kconfig-ext:
65 sysbuild-cmake:
68 sysbuild-kconfig:
71 sysbuild-cmake-ext:
75 sysbuild-kconfig-ext:
83 - type: str
113 - type: str
118 - type: str
123 - type: str
128 - type: map
143 license-path:
146 url:
152 doc-url:
159 external-references:
163 - type: str
207 meta['name-sanitized'] = re.sub('[^a-zA-Z0-9]', '_', meta['name'])
213 'name-sanitized': re.sub('[^a-zA-Z0-9]', '_', module_path.name),
224 cmake_extern = section.get('cmake-ext', False)
229 "${ZEPHYR_" + meta['name-sanitized'].upper() + "_CMAKE_DIR}"))
255 cmake_extern = section.get('sysbuild-cmake-ext', False)
260 "${SYSBUILD_" + meta['name-sanitized'].upper() + "_CMAKE_DIR}"))
262 cmake_setting = section.get('sysbuild-cmake', None)
330 name_sanitized = meta['name-sanitized']
342 snippet.insert(-1, ' select TAINT_BLOBS')
352 kconfig_extern = section.get('kconfig-ext', False)
367 name_sanitized = meta['name-sanitized']
377 kconfig_extern = section.get('sysbuild-kconfig-ext', False)
381 kconfig_setting = section.get('sysbuild-kconfig', None)
392 name_sanitized = meta['name-sanitized']
408 out += '-T\n{}\n'.format(PurePath(os.path.abspath(dir))
414 out += '--board-root\n{}\n'.format(PurePath(os.path.abspath(dir))
422 rc = subprocess.Popen(['git', 'rev-parse', '--is-inside-work-tree'],
428 popen = subprocess.Popen(['git', 'rev-parse', 'HEAD'],
433 stdout = stdout.decode('utf-8')
438 rc = subprocess.Popen(['git', 'diff-index', '--quiet', 'HEAD',
439 '--'],
444 return revision + '-dirty', True
454 stdout = stdout.decode('utf-8')
465 popen = subprocess.Popen(['git', 'remote', 'get-url', remote],
470 stdout = stdout.decode('utf-8')
481 popen = subprocess.Popen(['git', '-P', 'tag', '--points-at', revision],
486 stdout = stdout.decode('utf-8')
526 # - zephyr: path and revision
527 # - modules: name, path, and revision
528 # - west-projects: path and revision
542 zephyr_project['revision'] += '-off'
574 manifest_project["revision"] += "-off"
588 …t("remote") or project.sha(MANIFEST_REV_BRANCH) != meta_project['revision'].removesuffix("-dirty"):
590 if not meta_project.get('remote') or project.url != meta_project['remote']:
591 # Force manifest URL and set commit as 'off'
592 meta_project['url'] = project.url
596 meta_project['revision'] += '-off'
613 # It allows to have the "-off" flag since `modules` variable` does not provide URL/remote
634 zephyr_revision += '-dirty'
636 zephyr_revision += '-extra'
638 zephyr_revision += '-off'
644 manifest_revision += '-dirty'
646 manifest_revision += '-extra'
648 manifest_revision += '-off'
721 # Avoid including Zephyr base project as module.
772 parser.add_argument('--kconfig-out',
775 parser.add_argument('--twister-out',
778 parser.add_argument('--cmake-out',
781 parser.add_argument('--sysbuild-kconfig-out',
784 parser.add_argument('--sysbuild-cmake-out',
787 parser.add_argument('--meta-out',
792 parser.add_argument('--meta-state-propagate', action='store_true',
796 parser.add_argument('--settings-out',
799 parser.add_argument('-m', '--modules', nargs='+',
802 parser.add_argument('-x', '--extra-modules', nargs='+',
804 parser.add_argument('-z', '--zephyr-base',
829 with open(args.kconfig_out, 'w', encoding="utf-8") as fp:
833 with open(args.cmake_out, 'w', encoding="utf-8") as fp:
837 with open(args.sysbuild_kconfig_out, 'w', encoding="utf-8") as fp:
841 with open(args.sysbuild_cmake_out, 'w', encoding="utf-8") as fp:
845 with open(args.settings_out, 'w', encoding="utf-8") as fp:
847 # WARNING. THIS FILE IS AUTO-GENERATED. DO NOT MODIFY!
859 with open(args.twister_out, 'w', encoding="utf-8") as fp:
866 with open(args.meta_out, 'w', encoding="utf-8") as fp: