Linux/TransportRpmsg: Change ESHUTDOWN to ENOLINK in transportGet
[ipc/ipcdev.git] / linux / src / transport / Makefile.am
index c4ff034d7bf02e9a1751804700e48a4a2f1e320c..32f004624c58cdb0bc14cc974da90e18bdc5bd89 100644 (file)
 ##
 
 # additional include paths necessary to compile the library
-AM_CFLAGS = -I$(top_srcdir)/linux/include -I$(top_srcdir)/hlos_common/include \
-        -I$(top_srcdir)/packages -I$(KERNEL_INSTALL_DIR)/include/generated/uapi\
-        -D_GNU_SOURCE -Wall @AM_CFLAGS@
+AM_CFLAGS = -I$(top_srcdir)/hlos_common/include -D_GNU_SOURCE -Wall
 
-#if DRA7XX
-#AM_CFLAGS += -DGATEMP_SUPPORT
-#endif
+if KERNEL_INSTALL_DIR
+AM_CFLAGS += -I$(KERNEL_INSTALL_DIR)/include/generated/uapi
+endif
+
+if AF_RPMSG
+AM_CFLAGS += -DAF_RPMSG=$(AF_RPMSG)
+endif
+
+AM_CFLAGS += -I$(top_srcdir)/linux/include -I$(top_srcdir)/packages @AM_CFLAGS@
 
 ###############################################################################
 # THE LIBRARIES TO BUILD