mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 22:36:48 +00:00
创建了screen manager文件
This commit is contained in:
parent
28e282d157
commit
fd1b4220be
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -113,7 +113,8 @@
|
|||||||
"ia64_msi.h": "c",
|
"ia64_msi.h": "c",
|
||||||
"errno.h": "c",
|
"errno.h": "c",
|
||||||
"bug.h": "c",
|
"bug.h": "c",
|
||||||
"apic_timer.h": "c"
|
"apic_timer.h": "c",
|
||||||
|
"sched.h": "c"
|
||||||
},
|
},
|
||||||
"C_Cpp.errorSquiggles": "Enabled",
|
"C_Cpp.errorSquiggles": "Enabled",
|
||||||
"esbonio.sphinx.confDir": ""
|
"esbonio.sphinx.confDir": ""
|
||||||
|
@ -17,7 +17,7 @@ export ASFLAGS := --64
|
|||||||
LD_LIST := head.o
|
LD_LIST := head.o
|
||||||
|
|
||||||
|
|
||||||
kernel_subdirs := common driver process debug filesystem time arch exception mm smp sched syscall ktest
|
kernel_subdirs := common driver process debug filesystem time arch exception mm smp sched syscall ktest lib
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
12
kernel/lib/Makefile
Normal file
12
kernel/lib/Makefile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
CFLAGS += -I .
|
||||||
|
|
||||||
|
kernel_lib_subdirs:= libUI
|
||||||
|
|
||||||
|
ECHO:
|
||||||
|
@echo "$@"
|
||||||
|
|
||||||
|
$(kernel_lib_subdirs): ECHO
|
||||||
|
$(MAKE) -C $@ all CFLAGS="$(CFLAGS)" ASFLAGS="$(ASFLAGS)" PIC="$(PIC)"
|
||||||
|
|
||||||
|
all: $(kernel_lib_subdirs)
|
7
kernel/lib/libUI/Makefile
Normal file
7
kernel/lib/libUI/Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
all: screen_manager.o
|
||||||
|
|
||||||
|
CFLAGS += -I .
|
||||||
|
|
||||||
|
screen_manager.o: screen_manager.c
|
||||||
|
gcc $(CFLAGS) -c screen_manager.c -o screen_manager.o
|
1
kernel/lib/libUI/screen_manager.c
Normal file
1
kernel/lib/libUI/screen_manager.c
Normal file
@ -0,0 +1 @@
|
|||||||
|
#include "screen_manager.h"
|
1
kernel/lib/libUI/screen_manager.h
Normal file
1
kernel/lib/libUI/screen_manager.h
Normal file
@ -0,0 +1 @@
|
|||||||
|
#pragma once
|
Loading…
x
Reference in New Issue
Block a user