[Sound-open-firmware] [PATCH] host: add missing include directories and library dependencies

Ranjani Sridharan ranjani.sridharan at linux.intel.com
Fri Jun 1 18:35:02 CEST 2018


This patch adds the missing paths for header files and
libraries required for building the host testbench.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
---
 src/host/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/host/Makefile.am b/src/host/Makefile.am
index f3a3343..197f4bb 100644
--- a/src/host/Makefile.am
+++ b/src/host/Makefile.am
@@ -3,9 +3,9 @@ AUTOMAKE_OPTIONS = subdir-objects
 SOF_INC = $(prefix)/include/sof
 DEFINE = -DSOF_INC=\"$(SOF_INC)\"
 
-AM_CPPFLAGS = -I $(SOF_INC) $(SOF_INCDIR) $(DEFINE)
+AM_CPPFLAGS = -I $(SOF_INC) $(COMMON_INCDIR) $(DEFINE)
 AM_CFLAGS = -g -Wall
-AM_LDFLAGS = -L$(prefix)/lib
+AM_LDFLAGS = -L../ipc -L../audio/.libs
 
 bin_PROGRAMS = testbench
 
-- 
2.17.0



More information about the Sound-open-firmware mailing list