From d974c3c39237c8e94bb3a51d3511d18dea01043e Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Wed, 9 Dec 2015 10:32:41 +1100 Subject: Display VERSION partition info on BMC machines On supported platforms read the VERSION partition on startup and display the available versions strings in the System Information screen. This adds a skeleton hostboot.c to support possible additional BMC platform support. Signed-off-by: Sam Mendoza-Jonas --- discover/Makefile.am | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'discover/Makefile.am') diff --git a/discover/Makefile.am b/discover/Makefile.am index 1672035..f55f1cd 100644 --- a/discover/Makefile.am +++ b/discover/Makefile.am @@ -79,7 +79,21 @@ discover_platform_ro_SOURCES = \ discover/ipmi.h \ discover/dt.c \ discover/dt.h \ + discover/hostboot.h \ discover/platform-powerpc.c +discover_platform_ro_CPPFLAGS = \ + $(AM_CPPFLAGS) + +if ENABLE_MTD +discover_platform_ro_SOURCES += \ + discover/hostboot.c + +discover_platform_ro_LDFLAGS = \ + $(core_lib) \ + $(UDEV_LIBS) + +endif + discover_platform_ro_LINK = \ $(LD) -r -o $@ -- cgit v1.2.1