summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: b82825d)
raw | patch | inline | side by side (from parent 1: b82825d)
author | G Anthony <a0783926@ti.com> | |
Wed, 7 Aug 2013 01:25:14 +0000 (18:25 -0700) | ||
committer | Ramsey Harris <ramsey@ti.com> | |
Wed, 7 Aug 2013 16:12:27 +0000 (09:12 -0700) |
DRM library is needed for the Mx_Compute() buffer translation use case.
Add DRM_PREFIX in ipc-linux.mak and Makefile.am
Signed-off-by: G Anthony <a0783926@ti.com>
Add DRM_PREFIX in ipc-linux.mak and Makefile.am
Signed-off-by: G Anthony <a0783926@ti.com>
ipc-linux.mak | patch | blob | history | |
linux/src/tests/Makefile.am | patch | blob | history |
diff --git a/ipc-linux.mak b/ipc-linux.mak
index 3688e627603428db43aa4919078b7dfc2f50203d..788a5a254b2ebde52603a2e13e261ec375e4008d 100644 (file)
--- a/ipc-linux.mak
+++ b/ipc-linux.mak
CC=$(TOOLCHAIN_PREFIX)gcc \
PLATFORM=$(PLATFORM) \
CMEM_INSTALL_DIR=$(CMEM_INSTALL_DIR) \
- KERNEL_INSTALL_DIR=$(KERNEL_INSTALL_DIR)
+ KERNEL_INSTALL_DIR=$(KERNEL_INSTALL_DIR) \
+ DRM_PREFIX=$(DRM_PREFIX)
+
config-static:
@echo "Configuring Linux Ipc static only libaries ..."
CC=$(TOOLCHAIN_PREFIX)gcc \
PLATFORM=$(PLATFORM) \
CMEM_INSTALL_DIR=$(CMEM_INSTALL_DIR) \
- KERNEL_INSTALL_DIR=$(KERNEL_INSTALL_DIR)
+ KERNEL_INSTALL_DIR=$(KERNEL_INSTALL_DIR) \
+ DRM_PREFIX=$(DRM_PREFIX)
config-shared:
CC=$(TOOLCHAIN_PREFIX)gcc \
PLATFORM=$(PLATFORM) \
CMEM_INSTALL_DIR=$(CMEM_INSTALL_DIR) \
- KERNEL_INSTALL_DIR=$(KERNEL_INSTALL_DIR)
+ KERNEL_INSTALL_DIR=$(KERNEL_INSTALL_DIR) \
+ DRM_PREFIX=$(DRM_PREFIX)
index 87700a9fa22aa773612cf63b7078a4570c976ec9..7c9004a5133e52d05d86b4113ba379bfaf09cf29 100644 (file)
# additional include paths necessary to compile the program
AM_CFLAGS = -I$(top_srcdir)/linux/include -I$(top_srcdir)/hlos_common/include \
-I$(top_srcdir)/packages -I$(CMEM_INSTALL_DIR)/include \
+ -I$(top_srcdir)/packages -I$(CMEM_INSTALL_DIR)/packages \
+ -I$(DRM_PREFIX)/usr/include \
+ -I$(DRM_PREFIX)/usr/include/libdrm \
+ -I$(DRM_PREFIX)/usr/include/omap \
-D_GNU_SOURCE -Wall @AM_CFLAGS@
VPATH = ../../../packages/ti/ipc/tests
nano_test_SOURCES = $(common_sources) nano_test.c
common_libraries = -lpthread $(top_builddir)/linux/src/api/libtiipc.la \
- $(top_builddir)/linux/src/utils/libtiipcutils.la
+ $(top_builddir)/linux/src/utils/libtiipcutils.la \
+ $(DRM_PREFIX)/usr/lib/libdrm.la \
+ $(DRM_PREFIX)/usr/lib/libdrm_omap.la
# the additional libraries to link ping_rpmsg
ping_rpmsg_LDADD = -lrt