Linux: Test - Cleanup to mmrpc build after sources moved to a common location
[ipc/ipcdev.git] / linux / src / mm / Makefile.am
index 5ba2e00463d2bcc7103f8af57974f06bb1e53617..52c44b75cc817e084df5220df3f324f30a84cd9b 100644 (file)
@@ -43,13 +43,13 @@ lib_LTLIBRARIES =
 
 if KDIR
 lib_LTLIBRARIES += libmmrpc.la
-endif
 
 # where to install the headers on the system
-libmmrpc_ladir = $(includedir)
+libmmrpc_ladir = $(includedir)/ti/ipc/mm
 
 # the list of header files that belong to the library (to be installed later)
 libmmrpc_la_HEADERS = $(top_srcdir)/packages/ti/ipc/mm/MmRpc.h
+endif
 
 # the sources to add to the library and to add to the source distribution
 libmmrpc_la_SOURCES = \