wm: teppich

Download patch

ref: c2d48b328d4c3d0b91d657e89e2da3a97cd1b528
parent: e1bd16a9979b02d8e58d8d8d79654d7bacbcdb27
author: mkf <mkf@cloud9p.org>
date: Fri Nov 10 02:55:24 EST 2023

Makefile: add new objects

--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
 LD=i686-linux-gnu-ld.bfd
 AS=i686-linux-gnu-as
 
-CFLAGS=-O0 -g -nostdinc -I./include/ -ffreestanding
+CFLAGS=-O0 -g -nostdinc -I./include/ -ffreestanding -fcommon -fno-pie -fno-stack-limit -fno-stack-check -fno-stack-protector
 ASFLAGS=-g
 LDFLAGS=-T linker.ld
 
@@ -11,9 +11,17 @@
 QEMU=qemu-system-i386
 QFLAGS=-kernel teppich.elf -m 16M -serial stdio 
 
-K= \
+L=\
+	libc/strlen.o\
+	libc/strcmp.o\
+
+K=\
+	pc/x86.o\
 	pc/kern.o\
 	pc/boot.o\
+	pc/vga.o\
+	pc/com.o\
+	${L}
 
 all: teppich.elf