summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2013-08-17 22:17:14 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-08-19 08:54:46 -0500
commitaa5d43c3ac6da6dd2bbee883e17ff9b0d1d8ff15 (patch)
tree709b1b78b48ee31aac3b1523e606cdabc46fbd0e
parentbaac80e2a87ce5617cc6a578d9dab5686c298ea4 (diff)
downloadblackbird-hostboot-aa5d43c3ac6da6dd2bbee883e17ff9b0d1d8ff15.tar.gz
blackbird-hostboot-aa5d43c3ac6da6dd2bbee883e17ff9b0d1d8ff15.zip
Support ignoring presence of compile attributes
- Modified attribute compiler to ignore compile attributes Change-Id: I9059339c08755acebc8548ed5305c42a8fe866d2 RTC: 63973 CMVC: 889557 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5823 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/xmltohb.pl16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/usr/targeting/common/xmltohb/xmltohb.pl b/src/usr/targeting/common/xmltohb/xmltohb.pl
index e6502f62c..0dd2ff734 100755
--- a/src/usr/targeting/common/xmltohb/xmltohb.pl
+++ b/src/usr/targeting/common/xmltohb/xmltohb.pl
@@ -405,10 +405,11 @@ sub validateTargetTypes {
my($attributes) = @_;
my %elements = ( );
- $elements{"id"} = { required => 1, isscalar => 1};
- $elements{"parent"} = { required => 0, isscalar => 1};
- $elements{"attribute"} = { required => 0, isscalar => 0};
- $elements{"fspOnly"} = { required => 0, isscalar => 0};
+ $elements{"id"} = { required => 1, isscalar => 1};
+ $elements{"parent"} = { required => 0, isscalar => 1};
+ $elements{"attribute"} = { required => 0, isscalar => 0};
+ $elements{"fspOnly"} = { required => 0, isscalar => 0};
+ $elements{"compileAttribute"} = { required => 0, isscalar => 0};
foreach my $targetType (@{$attributes->{targetType}})
{
@@ -424,9 +425,10 @@ sub validateTargetInstances{
my($attributes) = @_;
my %elements = ( );
- $elements{"id"} = { required => 1, isscalar => 1};
- $elements{"type"} = { required => 1, isscalar => 1};
- $elements{"attribute"} = { required => 0, isscalar => 0};
+ $elements{"id"} = { required => 1, isscalar => 1};
+ $elements{"type"} = { required => 1, isscalar => 1};
+ $elements{"attribute"} = { required => 0, isscalar => 0};
+ $elements{"compileAttribute"} = { required => 0, isscalar => 0};
foreach my $targetInstance (@{$attributes->{targetInstance}})
{
OpenPOWER on IntegriCloud