From e9bb6717810bfb1596cfe69952ca503dcf1e10a4 Mon Sep 17 00:00:00 2001 From: "Chloe M." Date: Fri, 10 Jul 2026 04:07:03 +0000 Subject: [PATCH] ptos: build: Link and include against spkg Signed-off-by: Chloe M. --- service/ptos/arch/amd64/Makefile | 3 +++ service/ptos/ke/Makefile | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/service/ptos/arch/amd64/Makefile b/service/ptos/arch/amd64/Makefile index a2d9f7e..927f0b7 100644 --- a/service/ptos/arch/amd64/Makefile +++ b/service/ptos/arch/amd64/Makefile @@ -18,6 +18,8 @@ CDFILES = $(OFILES:.o.d) ASMDFILES = $(ASMOFILES:.S.o=.S.d) MISC_OFILES = $(shell find $(PT_PROJECT_ROOT)/service/ptos/ -name "*.o") +MISC_OFILES += $(shell find $(PT_PROJECT_ROOT)/service/spkg/ -name "*.o") + KERNEL_PATH = \ $(PT_PROJECT_ROOT)/artifacts/ptsv.sys @@ -28,6 +30,7 @@ CFLAGS = \ -D_KERNEL \ -MMD \ -I$(PT_PROJECT_ROOT)/sdk/head \ + -I$(PT_PROJECT_ROOT)/service/spkg/head/ .PHONY: all all: bin diff --git a/service/ptos/ke/Makefile b/service/ptos/ke/Makefile index 2271328..dd8d496 100644 --- a/service/ptos/ke/Makefile +++ b/service/ptos/ke/Makefile @@ -22,7 +22,8 @@ CFLAGS = \ -I../xt/flanterm/src \ -I../head \ -I../target \ - -I$(PT_PROJECT_ROOT)/sdk/head + -I$(PT_PROJECT_ROOT)/sdk/head \ + -I$(PT_PROJECT_ROOT)/service/spkg/head/ .PHONY: all all: $(OFILES)