diff --git a/qnx/src/api/common.mk b/qnx/src/api/common.mk
index b5db8586d66d4e89ba09942f4efe8f2c0be3de3d..03f1fd5c809d1e1691ea4e1480139ad137f4f68f 100644 (file)
--- a/qnx/src/api/common.mk
+++ b/qnx/src/api/common.mk
PINFO DESCRIPTION=IPC QNX User library
endef
-# don't install the binaries, they are copied in base makefile
-INSTALLDIR = /dev/null
+INSTALLDIR = /usr/lib
CCOPTS += -DSYSLINK_BUILDOS_QNX
+ifeq ("$(SYSLINK_PLATFORM)", "vayu")
+CCOPTS += -DGATEMP_SUPPORT
+endif
+
# source path
EXTRA_SRCVPATH += \
$(IPC_REPO)/qnx/src/api \
include $(MKFILES_ROOT)/qtargets.mk
OPTIMIZE__gcc=$(OPTIMIZE_NONE_gcc)
+
+# install the headers
+POST_INSTALL += \
+ $(CP_HOST) -Rv $(IPC_REPO)/packages/ti/ipc/MessageQ.h $(INSTALL_ROOT_nto)/usr/include/ti/ipc/MessageQ.h; \
+ $(CP_HOST) -Rv $(IPC_REPO)/packages/ti/ipc/NameServer.h $(INSTALL_ROOT_nto)/usr/include/ti/ipc/NameServer.h; \
+ $(CP_HOST) -Rv $(IPC_REPO)/packages/ti/ipc/GateMP.h $(INSTALL_ROOT_nto)/usr/include/ti/ipc/GateMP.h; \
+ $(CP_HOST) -Rv $(IPC_REPO)/packages/ti/ipc/Ipc.h $(INSTALL_ROOT_nto)/usr/include/ti/ipc/Ipc.h; \
+ $(CP_HOST) -Rv $(IPC_REPO)/qnx/include/ti/ipc/Std.h $(INSTALL_ROOT_nto)/usr/include/ti/ipc/Std.h