link in -ldrm_intel on i915 and i965 drivers.
build i915 driver with -DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP. should fix errors reported by jak@ and probably many others.
This commit is contained in:
parent
1e4bfd33e1
commit
32492fdf39
6
external/mit/xorg/lib/dri/i915/Makefile
vendored
6
external/mit/xorg/lib/dri/i915/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2009/06/11 01:47:08 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2009/11/09 02:38:24 mrg Exp $
|
||||
|
||||
MODULE= i915
|
||||
|
||||
@ -56,4 +56,8 @@ SRCS= \
|
||||
intel_fbo.c \
|
||||
intel_depthstencil.c
|
||||
|
||||
CPPFLAGS+= -DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP
|
||||
|
||||
LIBS+= -ldrm_intel
|
||||
|
||||
.include "${.CURDIR}/../dri.mk"
|
||||
|
4
external/mit/xorg/lib/dri/i965/Makefile
vendored
4
external/mit/xorg/lib/dri/i965/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2009/06/11 01:47:08 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2009/11/09 02:38:24 mrg Exp $
|
||||
|
||||
MODULE= i965
|
||||
|
||||
@ -90,4 +90,6 @@ SRCS= \
|
||||
|
||||
COPTS.brw_draw_upload.c= -Wno-error
|
||||
|
||||
LIBS+= -ldrm_intel
|
||||
|
||||
.include "${.CURDIR}/../dri.mk"
|
||||
|
Loading…
x
Reference in New Issue
Block a user