PKG_CHECK_MODULES(DLOG, dlog)
PKG_CHECK_MODULES(DRM, libdrm)
PKG_CHECK_MODULES(PIXMAN, pixman-1)
+PKG_CHECK_MODULES(XDBG, xdbg)
-EMULFB_CFLAGS="$EMULFB_CFLAGS $DLOG_CFLAGS $PIXMAN_CFLAGS $DRM_CFLAGS "
-EMULFB_LIBS="$EMULFB_LIBS $DLOG_LIBS $PIXMAN_LIBS $DRM_LIBS "
+EMULFB_CFLAGS="$EMULFB_CFLAGS $DLOG_CFLAGS $PIXMAN_CFLAGS $DRM_CFLAGS $XDBG_CFLAGS "
+EMULFB_LIBS="$EMULFB_LIBS $DLOG_LIBS $PIXMAN_LIBS $DRM_LIBS $XDBG_LIBS "
AM_CONDITIONAL(ENABLE_ARM, [test "x$ARM" = xyes])
Name: xorg-x11-drv-emulfb
Summary: X.Org X server driver for sdk emulation
-Version: 0.5.6
+Version: 0.5.7
Release: 1
#ExclusiveArch: %arm
Group: System/X Hardware Support
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(pixman-1)
+BuildRequires: pkgconfig(xdbg)
%description
This package provides the driver for sdk emulation
#include <sys/ioctl.h>
#include <linux/fb.h>
+#if USE_XDBG
+#include "xdbg.h"
+#endif
+
/* prototypes */
static const OptionInfoRec * FBDevAvailableOptions(int chipid, int busid);
static void FBDevIdentify(int flags);
/* register the event hook */
fbdevTraceInstallHooks ();
+#if USE_XDBG
+ xDbgLogPListInit (pScreen);
+#endif
+
return TRUE;
}
#define ADAPTOR_NUM 2
+#define USE_XDBG 1
+
/* FBDev driver private data structure to hold the driver's screen-specific data */
typedef struct {
unsigned char *fbstart; /* start memory point of framebuffer: (fbmem + fboff) */