fb-ipmi-oem: yosemitev2: Add Ipmi implementation to handle BIC request
Added Implementation to handle BIC Request from host to BMC and
send the response back to host. We are able to see the BMC
information in the host BIOS.
TESTED : Built Facebook YosemiteV2 images and loaded on
the target hardware. We are able to see BMC information
on two host's BIOS.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: I7586426809973b5d670d45495daf76e91b82ff23
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 16f3ab7..a3a9091 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,10 +60,17 @@
include_directories (${CMAKE_CURRENT_SOURCE_DIR}/include)
+SET(bicFile "")
+
+if(BIC)
+ SET(bicFile "src/biccommands.cpp")
+endif()
+
add_library (zfboemcmds
SHARED src/oemcommands.cpp src/appcommands.cpp
src/storagecommands.cpp src/usb-dbg.cpp
- src/selcommands.cpp src/transportcommands.cpp)
+ src/selcommands.cpp src/transportcommands.cpp ${bicFile})
+
set_target_properties (zfboemcmds PROPERTIES VERSION "0.1.0")
set_target_properties (zfboemcmds PROPERTIES SOVERSION "0")
target_link_libraries (zfboemcmds sdbusplus)