Display VERSION partition info on BMC machines
[petitboot] / discover / Makefile.am
index 1672035fdacc45ab7b74c0cf0425844fc53a971a..f55f1cd39b77471bdb870914eef238c6ed78bd3b 100644 (file)
@@ -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 $@