diff --git a/qnx/src/api/common.mk b/qnx/src/api/common.mk
index b5db8586d66d4e89ba09942f4efe8f2c0be3de3d..42969b5497132c19aedce0ed113e5243ae231650 100644 (file)
--- a/qnx/src/api/common.mk
+++ b/qnx/src/api/common.mk
#
-# Copyright (c) 2013, Texas Instruments Incorporated
+# Copyright (c) 2013-2015, Texas Instruments Incorporated
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
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
+CCOPTS += -DIPC_BUILDOS_QNX
+
+ifeq ("$(IPC_PLATFORM)", "vayu")
+CCOPTS += -DGATEMP_SUPPORT
+endif
# source path
EXTRA_SRCVPATH += \
include $(MKFILES_ROOT)/qtargets.mk
OPTIMIZE__gcc=$(OPTIMIZE_NONE_gcc)
+
+# install the headers
+POST_INSTALL += \
+ $(CP_HOST) -Rv $(IPC_REPO)/qnx/include/ti/ipc/interfaces $(INSTALL_ROOT_nto)/usr/include/ti/ipc; \
+ $(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
+
+# Quiet the build output
+include $(IPC_REPO)/qnx/quiet.mk