mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
yocto-bsp: generate default properties even if json specified
Users seem to want to specify incomplete property sets when using json input. Allow this by generating default properties before the user-specified properties are applied; the user will then get the defaults for any unspecified values, and avoid cryptic backtraces. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
759237f721
commit
a76fc366ce
@@ -1245,10 +1245,10 @@ def yocto_bsp_create(machine, arch, scripts_path, bsp_output_dir, codedump, prop
|
||||
|
||||
gen_program_header_lines(program_lines)
|
||||
|
||||
gen_initial_property_vals(input_lines, program_lines)
|
||||
|
||||
if properties:
|
||||
gen_supplied_property_vals(properties, program_lines)
|
||||
else:
|
||||
gen_initial_property_vals(input_lines, program_lines)
|
||||
|
||||
gen_program_machine_lines(machine, program_lines)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user