mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-06 21:28:15 +02:00
driconf: rename sha1 option to blake3
it's already blake3 except the name Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40383>
This commit is contained in:
parent
94bcf968f4
commit
533b962b29
3 changed files with 7 additions and 7 deletions
|
|
@ -47,7 +47,7 @@ class Application(object):
|
|||
self.name = xml.attrib['name']
|
||||
self.executable = xml.attrib.get('executable', None)
|
||||
self.executable_regexp = xml.attrib.get('executable_regexp', None)
|
||||
self.sha1 = xml.attrib.get('sha1', None)
|
||||
self.blake3 = xml.attrib.get('blake3', None)
|
||||
self.application_name_match = xml.attrib.get('application_name_match', None)
|
||||
self.application_versions = xml.attrib.get('application_versions', None)
|
||||
self.options = []
|
||||
|
|
@ -121,7 +121,7 @@ struct driconf_application {
|
|||
const char *name;
|
||||
const char *executable;
|
||||
const char *executable_regexp;
|
||||
const char *sha1;
|
||||
const char *blake3;
|
||||
const char *application_name_match;
|
||||
const char *application_versions;
|
||||
unsigned num_options;
|
||||
|
|
@ -185,8 +185,8 @@ static const struct driconf_application ${device.cname}_applications[] = {
|
|||
% if application.executable_regexp:
|
||||
.executable_regexp = "${application.executable_regexp}",
|
||||
% endif
|
||||
% if application.sha1:
|
||||
.sha1 = "${application.sha1}",
|
||||
% if application.blake3:
|
||||
.blake3 = "${application.blake3}",
|
||||
% endif
|
||||
% if application.application_name_match:
|
||||
.application_name_match = "${application.application_name_match}",
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<!ATTLIST application name CDATA #REQUIRED
|
||||
executable CDATA #IMPLIED
|
||||
executable_regexp CDATA #IMPLIED
|
||||
sha1 CDATA #IMPLIED
|
||||
blake3 CDATA #IMPLIED
|
||||
application_name_match CDATA #IMPLIED
|
||||
application_versions CDATA #IMPLIED>
|
||||
<!ELEMENT engine (option+)>
|
||||
|
|
|
|||
|
|
@ -752,7 +752,7 @@ parseAppAttr(struct OptConfData *data, const char **attr)
|
|||
if (!strcmp(attr[i], "name")) /* not needed here */;
|
||||
else if (!strcmp(attr[i], "executable")) exec = attr[i+1];
|
||||
else if (!strcmp(attr[i], "executable_regexp")) exec_regexp = attr[i+1];
|
||||
else if (!strcmp(attr[i], "sha1")) blake3 = attr[i+1];
|
||||
else if (!strcmp(attr[i], "blake3")) blake3 = attr[i+1];
|
||||
else if (!strcmp(attr[i], "application_name_match"))
|
||||
application_name_match = attr[i+1];
|
||||
else if (!strcmp(attr[i], "application_versions"))
|
||||
|
|
@ -1184,7 +1184,7 @@ parseStaticConfig(struct OptConfData *data)
|
|||
"name", a->name,
|
||||
"executable", a->executable,
|
||||
"executable_regexp", a->executable_regexp,
|
||||
"sha1", a->sha1,
|
||||
"blake3", a->blake3,
|
||||
"application_name_match", a->application_name_match,
|
||||
"application_versions", a->application_versions,
|
||||
NULL
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue