summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/fapi/fapiParseAttributeInfo.pl
diff options
context:
space:
mode:
authorCamVan Nguyen <ctnguyen@us.ibm.com>2011-11-10 13:22:16 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-11-15 18:13:18 -0600
commit4d9344f1025ee77e24e88249dd3e32f3d4c9a3ba (patch)
treed3d41ed886b43bf0a0f955702d207b31c3050510 /src/usr/hwpf/fapi/fapiParseAttributeInfo.pl
parent22b8b1dc178665eb32f923e47211f549b4d1913f (diff)
downloadtalos-hostboot-4d9344f1025ee77e24e88249dd3e32f3d4c9a3ba.tar.gz
talos-hostboot-4d9344f1025ee77e24e88249dd3e32f3d4c9a3ba.zip
Added initfile compiler support for attribute enums
Change-Id: I78a2a85831b545e7213e08a272fec482bd69cdf1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/493 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/fapi/fapiParseAttributeInfo.pl')
-rwxr-xr-xsrc/usr/hwpf/fapi/fapiParseAttributeInfo.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/hwpf/fapi/fapiParseAttributeInfo.pl b/src/usr/hwpf/fapi/fapiParseAttributeInfo.pl
index 2d7051b5e..333e68440 100755
--- a/src/usr/hwpf/fapi/fapiParseAttributeInfo.pl
+++ b/src/usr/hwpf/fapi/fapiParseAttributeInfo.pl
@@ -45,6 +45,8 @@
# mjjones 10/18/11 Support multiple attr files and
# multi-line descriptions
# camvanng 10/20/11 Changed i_pTarget to "const" ptr
+# camvanng 11/09/11 Prepend "ENUM_" to attribute
+# enums
#
# End Change Log ******************************************************
@@ -266,7 +268,7 @@ foreach my $argnum (1 .. $#ARGV)
{
# Remove leading spaces
$val =~ s/^\s+//;
- print AIFILE " $attr->{id}_${val},\n";
+ print AIFILE " ENUM_$attr->{id}_${val},\n";
}
print AIFILE "};\n";
OpenPOWER on IntegriCloud