From d164ed5baac60f21e0435ae49d20009ee8cd6dc1 Mon Sep 17 00:00:00 2001
From: Ian Moffett <ian@osmora.org>
Date: Fri, 17 May 2024 13:18:01 -0400
Subject: build: Introduce kconf for kernel configuration

The kernel will be configured by a per-arch config file. The config file
for the AMD64 port exists at sys/arch/amd64/conf/GENERIC

Signed-off-by: Ian Moffett <ian@osmora.org>
---
 tools/kconf/Makefile | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 tools/kconf/Makefile

(limited to 'tools/kconf/Makefile')

diff --git a/tools/kconf/Makefile b/tools/kconf/Makefile
new file mode 100644
index 0000000..c6df7ee
--- /dev/null
+++ b/tools/kconf/Makefile
@@ -0,0 +1,9 @@
+kconf:
+	bison -d grammer.y
+	flex scan.l
+	gcc lex.yy.c grammer.tab.c -lfl -o kconf
+
+clean:
+	rm grammer.tab.*
+	rm lex.yy.c
+	rm kconf
-- 
cgit v1.2.3