summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 093d483)
raw | patch | inline | side by side (parent: 093d483)
author | Chris Ring <cring@ti.com> | |
Thu, 20 Jun 2013 23:22:44 +0000 (16:22 -0700) | ||
committer | Chris Ring <cring@ti.com> | |
Thu, 20 Jun 2013 23:22:44 +0000 (16:22 -0700) |
Export the MmRpc generated libraries to usr/lib and
export the header file to user/include/ti/ipc/mm.
This is so that apps can easily include the header and
link with the library.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
export the header file to user/include/ti/ipc/mm.
This is so that apps can easily include the header and
link with the library.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
qnx/Makefile | patch | blob | history | |
qnx/src/mm/common.mk | patch | blob | history |
diff --git a/qnx/Makefile b/qnx/Makefile
index d48704b8a11c6f42ace10b07fd19b5c16ac022a9..b60c6daf637bf3d70a318c163e959b9391888d78 100644 (file)
--- a/qnx/Makefile
+++ b/qnx/Makefile
@cd src/ipc3x_dev; make SYSLINK_PLATFORM=$(SYSLINK_PLATFORM) \
SMP=1 VIRTIO=$(BUILD_FOR_VIRTIO) USE_INSTALL_ROOT=1 \
INSTALL_ROOT_nto=$(DESTDIR) install
+ @cd src/mm; make USE_INSTALL_ROOT=1 DESTDIR=$(DESTDIR) \
+ INSTALL_ROOT_nto=$(DESTDIR) install
@cd src/tests; make USE_INSTALL_ROOT=1 DESTDIR=$(DESTDIR) \
INSTALL_ROOT_nto=$(DESTDIR) install
diff --git a/qnx/src/mm/common.mk b/qnx/src/mm/common.mk
index ec82bb77a642a32f4cb1eb94d535b234563e632a..1674aaa45a4bc99f56ebd2ca789260c4637dd2e7 100644 (file)
--- a/qnx/src/mm/common.mk
+++ b/qnx/src/mm/common.mk
PINFO DESCRIPTION=MmRpc User Library
endef
-# don't install the binaries, they are copied in base makefile
-INSTALLDIR = /dev/null
+INSTALLDIR = /usr/lib
CCOPTS += -DSYSLINK_BUILDOS_QNX
include $(MKFILES_ROOT)/qtargets.mk
OPTIMIZE__gcc=$(OPTIMIZE_NONE_gcc)
+
+# install the header
+POST_INSTALL += \
+ $(CP_HOST) -Rv $(IPC_REPO)/packages/ti/ipc/mm/MmRpc.h $(INSTALL_ROOT_nto)/usr/include/ti/ipc/mm/MmRpc.h