Importing sys/dev/videomode
NetBSD provides an in-kernel EDID parser, validator, and printer along with other useful functions. This code will be re-used by the Minix fb driver as it is a complete and well tested implementation. Change-Id: I46fe3005d9957cd90d4972030ddcce7bc3bd7924
This commit is contained in:
committed by
Gerrit Code Review
parent
6405d78182
commit
bdf33c702a
@@ -0,0 +1,17 @@
|
||||
# $NetBSD: Makefile.videomode,v 1.2 2008/10/19 22:05:23 apb Exp $
|
||||
#
|
||||
# As per tron@NetBSD.org, the proper procedure is
|
||||
#
|
||||
# 1.) Change "src/sys/dev/videomode/modelines".
|
||||
# 2.) Commit "src/sys/dev/videomode/modelines".
|
||||
# 3.) Execute "make -f Makefile.videomode" in "src/sys/dev/videomode".
|
||||
# 4.) Commit "src/sys/dev/videomode/videomode.c"
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
videomode.c: modelines modelines2c.awk
|
||||
/bin/rm -f videomode.c
|
||||
${TOOL_AWK} -f modelines2c.awk modelines > videomode.c
|
||||
|
||||
test: videomode.c videomode.h test.c
|
||||
${CC} -I ../../ -o test test.c videomode.c
|
||||
Reference in New Issue
Block a user