Permalink
Browse files

Fix BSDmakefile, add defines and includes

 Defines source: Maarten Lankhorst
  • Loading branch information...
1 parent 6969dfb commit 7484fd62ed09f8884d60d3607ac630507def8b2f Alexander Polakov committed Jul 19, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 pscnv/BSDmakefile
View
@@ -7,4 +7,9 @@ SRCS=$(HEADERS) $(C_SRCS) bus_if.h device_if.h pci_if.h opt_drm.h vnode_if.h iic
.include <bsd.kmod.mk>
-CFLAGS+=-std=gnu99 -Wno-format -Wno-pointer-arith -I$(SYSDIR)/dev/drm # -I$(SYSDIR)/ofed/include
+CFLAGS+=-std=gnu99 -Wno-format -Wno-pointer-arith -I@/dev/drm2 \
+ -DPSCNV_KAPI_DRM_CONNECTOR_DETECT_2 \
+ -DPSCNV_KAPI_DRM_MODE_FB_CMD2 \
+ -DPSCNV_KAPI_GAMMA_SET_6 \
+ -Ipreassembled
+# -I$(SYSDIR)/ofed/include

0 comments on commit 7484fd6

Please sign in to comment.