Fix build errors with bitbake
8b97665 has build fails with a pldm bitbake recipe. The fix was mostly
about using top_srcdir instead of top_builddir.
Change-Id: Ic3ef0e01997921174d28ae10e66e7bdd17c52af8
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/libpldmresponder/Makefile.am b/libpldmresponder/Makefile.am
index c40b749..9113b3a 100644
--- a/libpldmresponder/Makefile.am
+++ b/libpldmresponder/Makefile.am
@@ -23,14 +23,12 @@
libpldmresponder_la_CPPFLAGS = \
$(CODE_COVERAGE_CPPFLAGS) \
- -I$(top_builddir)/libpldm/ \
-I$(top_srcdir)
if OEM_IBM
libpldmresponder_la_SOURCES += \
$(top_builddir)/oem/ibm/libpldmresponder/file_io.cpp \
$(top_builddir)/oem/ibm/libpldmresponder/file_table.cpp
-libpldmresponder_la_CPPFLAGS += \
- -I$(top_builddir)/oem/ibm/
+libpldmresponder_la_CPPFLAGS += -I$(top_srcdir)/libpldm
endif