summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSathishkumar2013-09-05 06:34:31 -0500
committerSaurabh Bipin Chandra2013-09-05 11:09:16 -0500
commite08aec49c5bee1a70ea4b8a6e1d29a5d09c8ec2e (patch)
tree45c3aee6f4fd8f47c7596534d48b7ffa065dcc0f /libdce_linux.c
parentbdc17c43679f649cd46fec22f9dafc1c13130acc (diff)
downloadhardware-ti-libdce-e08aec49c5bee1a70ea4b8a6e1d29a5d09c8ec2e.tar.gz
hardware-ti-libdce-e08aec49c5bee1a70ea4b8a6e1d29a5d09c8ec2e.tar.xz
hardware-ti-libdce-e08aec49c5bee1a70ea4b8a6e1d29a5d09c8ec2e.zip
[LINUX] Fix for make install
This patch fixes make install. All the required headers are copied to $(includedir)/dce on make install. Unused variables(X11 and WAYLAND) are removed in Makefile.am and pkg-config on libmmrpc is removed as no libmmrpc.pc is available. xdc_target_types__=gnu/targets/std.h is added to libdce.h, so that applications need not do it when using libdce.h. Change-Id: I8cc70aa2102becdbdc4c6b1e38e2aaa91739c4cc Signed-off-by: Sathishkumar <x0203598@ti.com>
Diffstat (limited to 'libdce_linux.c')
-rw-r--r--libdce_linux.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/libdce_linux.c b/libdce_linux.c
index 99c8b8d..a723e7d 100644
--- a/libdce_linux.c
+++ b/libdce_linux.c
@@ -33,7 +33,6 @@
33#include <stdlib.h> 33#include <stdlib.h>
34#include <string.h> 34#include <string.h>
35#include <stdio.h> 35#include <stdio.h>
36#include <xdc/std.h>
37 36
38#include <xf86drm.h> 37#include <xf86drm.h>
39#include <omap_drm.h> 38#include <omap_drm.h>
@@ -41,15 +40,18 @@
41 40
42#include <MmRpc.h> 41#include <MmRpc.h>
43#include "dce_priv.h" 42#include "dce_priv.h"
43#include "libdce.h"
44#include "memplugin.h"
44 45
45#define INVALID_DRM_FD (-1) 46#define INVALID_DRM_FD (-1)
46 47
47int OmapDrm_FD = INVALID_DRM_FD; 48int OmapDrm_FD = INVALID_DRM_FD;
49struct omap_device *OmapDev = NULL;
50extern MmRpc_Handle MmRpcHandle;
48 51
49void *dce_init(void) 52void *dce_init(void)
50{ 53{
51 struct omap_device *OmapDev = NULL; 54 dce_error_status eError = DCE_EOK;
52 dce_error_status eError = DCE_EOK;
53 55
54 printf(" >> dce_init\n"); 56 printf(" >> dce_init\n");
55 57