summaryrefslogtreecommitdiffstats
path: root/discover/Makefile.am
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2018-08-02 17:29:40 +0000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-08-07 11:30:36 +1000
commitfed2c4da36c2708f2a5a7a09eba61d014b9339d6 (patch)
tree984a738eaea7a13619562bdb8df90266a003856f /discover/Makefile.am
parentab6a8ba7eed7b53c9fc6366edc3215f9ec1c3a68 (diff)
downloadtalos-petitboot-fed2c4da36c2708f2a5a7a09eba61d014b9339d6.tar.gz
talos-petitboot-fed2c4da36c2708f2a5a7a09eba61d014b9339d6.zip
discover: Add platform-dummy
With the new configure enable-platform parameters it is possible configure no platform support. Add a new minimal 'dummy' platform so that the __start_platforms and __stop_platforms variables needed by platform_init are created. Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/Makefile.am')
-rw-r--r--discover/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/discover/Makefile.am b/discover/Makefile.am
index 3992a66..f9625ec 100644
--- a/discover/Makefile.am
+++ b/discover/Makefile.am
@@ -86,6 +86,9 @@ discover_platform_ro_SOURCES = \
discover_platform_ro_CPPFLAGS = \
$(AM_CPPFLAGS)
+# Build dummy last to put it at the end of the platforms section.
+discover_platform_ro_SOURCES += discover/platform-dummy.c
+
if ENABLE_MTD
discover_platform_ro_SOURCES += \
discover/hostboot.c
OpenPOWER on IntegriCloud