sconfig: Mangle - to _ for struct names, too.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5375 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -163,6 +163,7 @@ chip: CHIP STRING /* == path */ {
|
||||
char *c;
|
||||
for (c = $<device>$->name_underscore; *c; c++) {
|
||||
if (*c == '/') *c = '_';
|
||||
if (*c == '-') *c = '_';
|
||||
}
|
||||
$<device>$->type = chip;
|
||||
$<device>$->chip = $<device>$;
|
||||
|
Reference in New Issue
Block a user