summaryrefslogtreecommitdiff
path: root/sys/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-11-15 18:52:55 -0500
committerIan Moffett <ian@osmora.org>2025-11-15 18:52:55 -0500
commit53e2489b201d84ed5d9fc8bcdd65551bb6b43b9a (patch)
tree53c5a7520fd1052954252aa6ad6810108ced410c /sys/Makefile
parente1773e18239e642ae97e5dd48bbad6d3c5ffccba (diff)
kern/amd64: cpu: Add kernel fence for trap entry
A kernel fence ensures that the GS base will contain kernel data on entry. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/Makefile')
-rw-r--r--sys/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/Makefile b/sys/Makefile
index 0ee8c93..5291a43 100644
--- a/sys/Makefile
+++ b/sys/Makefile
@@ -7,7 +7,8 @@ SYS_CFLAGS =
ARCH =
.PHONY: all
-all: kern arch
+all: target kern arch
+ rm -rf target/
.PHONY: arch
arch:
@@ -22,3 +23,8 @@ kern:
.PHONY: clean
clean:
cd arch/$(ARCH); make clean
+
+.PHONY: target
+target:
+ mkdir -p target/inc/md/
+ rsync -avr inc/arch/$(ARCH)/* target/inc/md/