arch/sim: Support vncserver as display device

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi
2021-10-28 18:44:40 +08:00
committed by Xiang Xiao
parent 412d030149
commit 0751bcd4ca
2 changed files with 7 additions and 3 deletions
+6
View File
@@ -307,6 +307,12 @@ config SIM_FRAMEBUFFER
---help--- ---help---
Emulate a framebuffer Emulate a framebuffer
config SIM_VNCSERVER
bool "VNC server"
depends on VNCSERVER
---help---
Serve a VNC server
endchoice endchoice
if INPUT if INPUT
+1 -3
View File
@@ -113,10 +113,8 @@ endif
ifeq ($(CONFIG_SIM_LCDDRIVER),y) ifeq ($(CONFIG_SIM_LCDDRIVER),y)
CSRCS += up_lcd.c CSRCS += up_lcd.c
else else ifeq ($(CONFIG_SIM_FRAMEBUFFER),y)
ifeq ($(CONFIG_SIM_FRAMEBUFFER),y)
CSRCS += up_framebuffer.c CSRCS += up_framebuffer.c
endif
endif endif
ifeq ($(CONFIG_SIM_X11FB),y) ifeq ($(CONFIG_SIM_X11FB),y)