From 25c80738281df8e59e25a90310ebb97299caeb5d Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Tue, 28 Jul 2020 22:23:46 +0900 Subject: [PATCH] sys: Include IO process in initfs compilation --- config.h | 5 +++-- sys/Makefile | 8 +++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/config.h b/config.h index 7cad81f..f1fd28c 100644 --- a/config.h +++ b/config.h @@ -62,8 +62,9 @@ #define CONFIG_IO_MAXPROCFDS 16 #define CONFIG_ELF 0 -#define CONFIG_KBD 1 -#define CONFIG_VGA 1 +#define CONFIG_KBD 0 +#define CONFIG_VGA 0 +#define CONFIG_IO 1 /* klibc configuration */ #define CONFIG_SNPRINTF_FLAG_MINUS 0 diff --git a/sys/Makefile b/sys/Makefile index 61c8ab7..d884627 100644 --- a/sys/Makefile +++ b/sys/Makefile @@ -1,4 +1,4 @@ -DEPS = kbd vga +DEPS = kbd vga io PHONY = $(DEPS) clean OUTPUT = initfs.a INCLUDES = -I.. -I../include @@ -11,7 +11,9 @@ kbd.ko: kbd vga.ko: vga -$(OUTPUT): initfs.o kbd.ko vga.ko +io.ko: io + +$(OUTPUT): initfs.o kbd.ko vga.ko io.ko ar -rc $@ $^ updateinitfs: @@ -21,6 +23,6 @@ $(DEPS): $(MAKE) -C $@ $(MAKECMDGOALS) clean: $(DEPS) - rm -f $(OUTPUT) *.ko + rm -f $(OUTPUT) initfs.o *.ko .PHONY: $(PHONY) -- 2.47.3