index 6f03c8ded5802056a0329cae4769225ae385727e..a0780343d98806a26132b2ff32ec11555a746552 100644 (file)
##
-## Copyright (c) 2013, Texas Instruments Incorporated
+## Copyright (c) 2013-2014, Texas Instruments Incorporated
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions
-I$(top_srcdir)/packages -I$(KERNEL_INSTALL_DIR)/include/generated/uapi\
-D_GNU_SOURCE -Wall @AM_CFLAGS@
+if DRA7XX
+AM_CFLAGS += -DGATEMP_SUPPORT
+endif
+
###############################################################################
# THE LIBRARIES TO BUILD
###############################################################################
NameServer.c \
Ipc.c
+if DRA7XX
+libtiipc_la_SOURCES += $(top_srcdir)/linux/include/IGateProvider.h \
+ $(top_srcdir)/linux/include/GateHWSpinlock.h \
+ $(top_srcdir)/linux/include/GateMutex.h \
+ $(top_srcdir)/linux/include/GateMP_config.h \
+ $(top_srcdir)/linux/include/_GateMP.h \
+ $(top_srcdir)/packages/ti/ipc/GateMP.h \
+ $(top_srcdir)/linux/src/api/gates/GateMP.c \
+ $(top_srcdir)/linux/src/api/gates/GateMutex.c \
+ $(top_srcdir)/linux/src/api/gates/GateHWSpinlock.c
+endif
+
# Add version info to the shared library
libtiipc_la_LDFLAGS = -version-info 1:0:0