index 666a086117b8959866a5cc9154719eeafae3b0b4..96dfa17e072dd1009ddfce7ee1672a7479011fb9 100644 (file)
--- a/linux/src/mm/Makefile.am
+++ b/linux/src/mm/Makefile.am
###############################################################################
# the library names to build (note we are building shared libs)
-lib_LTLIBRARIES = libmmrpc.la
+lib_LTLIBRARIES =
+
+if OMAP54XX_SMP
+if KDIR
+lib_LTLIBRARIES += libmmrpc.la
+
+# where to install the headers on the system
+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
+endif
+
+if DRA7XX
+if KDIR
+lib_LTLIBRARIES += libmmrpc.la
# 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
+endif
# the sources to add to the library and to add to the source distribution
libmmrpc_la_SOURCES = \