Lines Matching full:variable
54 def append_value(variable, value): argument
55 if variable in ('SB_EXTRA_CONF_FILE', 'EXTRA_DTC_OVERLAY_FILE', 'EXTRA_CONF_FILE'):
58 _err(f'snippet file {pathobj}: {variable}: file not found: {path}')
60 if variable in ('DTS_EXTRA_CPPFLAGS'):
62 _err(f'unknown append variable: {variable}')
64 for variable, value in snippet_data.get('append', {}).items():
65 if (sysbuild is True and variable[0:3] == 'SB_') or \
66 (sysbuild is False and variable[0:3] != 'SB_'):
67 self.appends[variable].append(append_value(variable, value))
72 for variable, value in settings.get('append', {}).items():
73 if (sysbuild is True and variable[0:3] == 'SB_') or \
74 (sysbuild is False and variable[0:3] != 'SB_'):
75 self.board2appends[board][variable].append(
76 append_value(variable, value))
143 # Create variable scope for snippets build variables
156 # Common variable appends.''')