]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/commitdiff
Linux: MmRpc libraries build only for platforms that support MmRpc regardless of...
authorArnie Reynoso <arnier@ti.com>
Mon, 1 Jul 2013 18:28:13 +0000 (11:28 -0700)
committerChris Ring <cring@ti.com>
Mon, 1 Jul 2013 22:27:05 +0000 (15:27 -0700)
This addresses SDOCM00102069

linux/src/mm/Makefile.am
linux/src/mm/Makefile.in
products.mak

index 52c44b75cc817e084df5220df3f324f30a84cd9b..ea801a63e58f8fd02df619c533fefe3abf1b1cff 100644 (file)
@@ -41,6 +41,7 @@ AM_CFLAGS = -Wall @AM_CFLAGS@ -DKERNEL_INSTALL_DIR="$(KERNEL_INSTALL_DIR)"
 # the library names to build (note we are building shared libs)
 lib_LTLIBRARIES =
 
+if OMAP54XX_SMP
 if KDIR
 lib_LTLIBRARIES += libmmrpc.la
 
@@ -50,6 +51,7 @@ 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 = \
index c0f1d0ab4d38a643f59f1550447caace28a18785..7d95504a971eb52ffe3f2b53b42813151f0dbe25 100644 (file)
@@ -37,7 +37,7 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-@KDIR_TRUE@am__append_1 = libmmrpc.la
+@KDIR_TRUE@@OMAP54XX_SMP_TRUE@am__append_1 = libmmrpc.la
 subdir = linux/src/mm
 DIST_COMMON = $(am__libmmrpc_la_HEADERS_DIST) $(srcdir)/Makefile.am \
        $(srcdir)/Makefile.in
@@ -63,7 +63,7 @@ am__libmmrpc_la_SOURCES_DIST =  \
 am__objects_1 =
 am_libmmrpc_la_OBJECTS = $(am__objects_1) MmRpc.lo
 libmmrpc_la_OBJECTS = $(am_libmmrpc_la_OBJECTS)
-@KDIR_TRUE@am_libmmrpc_la_rpath = -rpath $(libdir)
+@KDIR_TRUE@@OMAP54XX_SMP_TRUE@am_libmmrpc_la_rpath = -rpath $(libdir)
 DEFAULT_INCLUDES = -I. -I$(srcdir)
 depcomp = $(SHELL) $(top_srcdir)/linux/build-aux/depcomp
 am__depfiles_maybe = depfiles
@@ -208,10 +208,10 @@ target_alias = @target_alias@
 lib_LTLIBRARIES = $(am__append_1)
 
 # where to install the headers on the system
-@KDIR_TRUE@libmmrpc_ladir = $(includedir)/ti/ipc/mm
+@KDIR_TRUE@@OMAP54XX_SMP_TRUE@libmmrpc_ladir = $(includedir)/ti/ipc/mm
 
 # the list of header files that belong to the library (to be installed later)
-@KDIR_TRUE@libmmrpc_la_HEADERS = $(top_srcdir)/packages/ti/ipc/mm/MmRpc.h
+@KDIR_TRUE@@OMAP54XX_SMP_TRUE@libmmrpc_la_HEADERS = $(top_srcdir)/packages/ti/ipc/mm/MmRpc.h
 
 # the sources to add to the library and to add to the source distribution
 libmmrpc_la_SOURCES = \
index 87d6b326796d148c926bed6ae50c0be607a0efe1..33cad69218b42c9da119030e7b1eb7c9a64ef6dd 100644 (file)
@@ -41,6 +41,9 @@ DEPOT ?= _your_depot_folder_
 TOOLCHAIN_LONGNAME ?= arm-none-linux-gnueabi
 TOOLCHAIN_INSTALL_DIR ?= $(DEPOT)/_your_arm_code_gen_install_
 TOOLCHAIN_PREFIX ?= $(TOOLCHAIN_INSTALL_DIR)/bin/$(TOOLCHAIN_LONGNAME)-
+
+# Linux Kernel install path needed to build the mmRpc user libaries 
+# for devices that support RPMSG_RPC (optional)
 KERNEL_INSTALL_DIR ?=
 
 # Linux platform to build (optional)