diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2013-08-13 23:24:43 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-08-14 06:37:23 -0500 |
commit | b6dd374e420e918e6b3ae34e223221a8ee6e2b5f (patch) | |
tree | 936c6a66bdf904c492f2f2aae9ad409f803585dd | |
parent | 356de68f5b97cc9e968e71958446f6651c3373d2 (diff) | |
download | talos-hostboot-b6dd374e420e918e6b3ae34e223221a8ee6e2b5f.tar.gz talos-hostboot-b6dd374e420e918e6b3ae34e223221a8ee6e2b5f.zip |
Exported test_ep.H, added TARGETING namespace to test_ep.H
- Added test_ep.H to common targeting makefile export list
- Added TARGETING namespace to test_ep.H so that FSP could compile it
Change-Id: I0a5b5be0cb5a1a707c7c878fbcbbe5de6db43682
CQ: SW214677
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5782
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
-rw-r--r-- | src/usr/targeting/common/xmltohb/common.mk | 3 | ||||
-rwxr-xr-x | src/usr/targeting/common/xmltohb/xmltohb.pl | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/targeting/common/xmltohb/common.mk b/src/usr/targeting/common/xmltohb/common.mk index e1edf24d4..26f470b8d 100644 --- a/src/usr/targeting/common/xmltohb/common.mk +++ b/src/usr/targeting/common/xmltohb/common.mk @@ -35,7 +35,8 @@ XMLTOHB_HEADER_TARGETS = \ attributetraits.H \ attributestructs.H \ pnortargeting.H \ - fapiplatattrmacros.H + fapiplatattrmacros.H \ + test_ep.H XMLTOHB_SOURCE_TARGETS = \ attributestrings.C \ diff --git a/src/usr/targeting/common/xmltohb/xmltohb.pl b/src/usr/targeting/common/xmltohb/xmltohb.pl index 421af5e4e..e6502f62c 100755 --- a/src/usr/targeting/common/xmltohb/xmltohb.pl +++ b/src/usr/targeting/common/xmltohb/xmltohb.pl @@ -968,6 +968,7 @@ sub writeTestEntityPath { open EP_TEST_FILE, ">", "$cfgSrcOutputDir"."test_ep.H" or die $!; print EP_TEST_FILE "#include <attributeenums.H>\n"; + print EP_TEST_FILE "using namespace TARGETING;\n"; print EP_TEST_FILE "EntityPath l_path;\n"; print EP_TEST_FILE "const char * name = NULL;\n"; print(EP_TEST_FILE "const char * test_string = \"Unknown path" . |