mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-31 16:57:10 +00:00
Break build with error in case when both syscons and newcons are enabled.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
b1d9695ccc
commit
00f4f023f1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=259178
@ -757,6 +757,9 @@ SC_NORM_REV_ATTR opt_syscons.h
|
||||
SC_PIXEL_MODE opt_syscons.h
|
||||
SC_RENDER_DEBUG opt_syscons.h
|
||||
SC_TWOBUTTON_MOUSE opt_syscons.h
|
||||
DEV_SC opt_syscons.h
|
||||
DEV_VT opt_syscons.h
|
||||
|
||||
|
||||
# teken terminal emulator options
|
||||
TEKEN_CONS25 opt_teken.h
|
||||
|
@ -49,6 +49,11 @@
|
||||
#include "opt_syscons.h"
|
||||
#include "opt_splash.h"
|
||||
|
||||
#ifdef DEV_SC
|
||||
#error "Build with both syscons and vt is not supported. Please enable only \
|
||||
one 'device sc' or 'device vt'"
|
||||
#endif
|
||||
|
||||
#ifndef VT_MAXWINDOWS
|
||||
#ifdef MAXCONS
|
||||
#define VT_MAXWINDOWS MAXCONS
|
||||
|
Loading…
Reference in New Issue
Block a user