Commit 6dae8dc7 authored by Zhigang Gong's avatar Zhigang Gong

glamor: Add glamor-ddx driver to the build tree.

Correct the linking parameters and add dependency to the libglamor.a.
parent 26ff6121
......@@ -27,12 +27,12 @@ if INT10MODULE
INT10_SUBDIR = int10
endif
SUBDIRS = common ddc i2c x86emu $(INT10_SUBDIR) fbdevhw os-support parser \
SUBDIRS = common ddc i2c x86emu $(INT10_SUBDIR) fbdevhw glamor os-support parser \
ramdac shadowfb $(VBE_SUBDIR) $(VGAHW_SUBDIR) $(XAA_SUBDIR) \
loader dixmods exa modes \
$(DRI_SUBDIR) $(DRI2_SUBDIR) $(XF86UTILS_SUBDIR) doc man
DIST_SUBDIRS = common ddc i2c x86emu int10 fbdevhw os-support \
DIST_SUBDIRS = common ddc i2c x86emu int10 fbdevhw glamor os-support \
parser ramdac shadowfb vbe vgahw xaa \
loader dixmods dri dri2 exa modes \
utils doc man
......
......@@ -13,9 +13,12 @@ glamor_la_CFLAGS = \
-I/usr/include/drm
glamor_la_LDFLAGS = \
-module -avoid-version -lEGL $(top_builddir)/glamor/libglamor.la -lGLEW
-module -avoid-version -L$(libdir) -lEGL $(top_builddir)/glamor/libglamor.la -lGLEW
glamor_ladir = $(moduledir)/drivers
glamor_la_SOURCES = \
glamor.c \
glamor_crtc.c \
glamor_ddx.h
glamor_la_DEPENDENCIES = \
$(top_builddir)/glamor/libglamor.la
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment