Conditional compilation of procedures
Only compile in the procedures for chips specified
during configure.
Change-Id: Ie069f472b86bfbe8ad5d00bc6db8def573f86b4b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index 6f785bc..942b5d7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,10 +9,13 @@
filedescriptor.cpp \
registration.cpp \
targeting.cpp \
- procedures/p9/start_host.cpp \
- procedures/p9/vcs_workaround.cpp
+ openpower_procedures.cpp
+
+CLEANFILES = openpower_procedures.cpp
openpower_proc_control_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) -lstdc++fs
openpower_proc_control_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS)
SUBDIRS = test
+
+-include Makefile.generated