Segregate utility methods
This commit segregates utility methods required commonly by both
openpower-read-vpd and ibm-read-vpd from methods only required by
ibm-read-vpd.
All dependency required by utility methods specific to ibm-read-vpd
is not applicable to utility methods required by openpower-read-vpd.
Hence to avoid un-necessary dependency inclusion, this change is
introduced.
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: I95f2be27dc0c391a45beb1654a99506317aaa52b
diff --git a/meson.build b/meson.build
index 1a44195..e05edc3 100644
--- a/meson.build
+++ b/meson.build
@@ -52,11 +52,11 @@
}
)
-common_SOURCES =[
+common_SOURCES =['common_utility.cpp',
'vpd-parser/parser_factory.cpp',
'vpd-parser/memory_vpd_parser.cpp',
'vpd-parser/keyword_vpd_parser.cpp',
- 'vpd-parser/ipz_parser.cpp', 'impl.cpp', 'utils.cpp',
+ 'vpd-parser/ipz_parser.cpp', 'impl.cpp', 'ibm_vpd_utils.cpp',
'vpdecc/vpdecc.c', 'vpdecc/vpdecc_support.c'
]
@@ -142,7 +142,7 @@
'impl.cpp',
'vpd-parser/ipz_parser.cpp',
'write.cpp',
- 'utils.cpp',
+ 'common_utility.cpp',
writefru_hpp,
extra_properties_gen_hpp
]