From 5fa0291a05b216cd6fca511858be07f3997608e1 Mon Sep 17 00:00:00 2001 From: joshua stein Date: Wed, 1 Jan 2020 16:19:27 -0600 Subject: [PATCH] Build: fix building Kernel/TestModule object --- Kernel/Makefile | 2 +- Kernel/build-root-filesystem.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/Makefile b/Kernel/Makefile index e031905737..1473108265 100644 --- a/Kernel/Makefile +++ b/Kernel/Makefile @@ -103,7 +103,7 @@ OBJS = \ OBJ_SUFFIX = .kernel -MODULE_OBJS = TestModule.o +MODULE_OBJS = TestModule$(OBJ_SUFFIX).o EXTRA_OBJS = Arch/i386/Boot/boot.ao diff --git a/Kernel/build-root-filesystem.sh b/Kernel/build-root-filesystem.sh index 9e3c83f127..8e713e7a74 100755 --- a/Kernel/build-root-filesystem.sh +++ b/Kernel/build-root-filesystem.sh @@ -166,7 +166,7 @@ mkdir -p mnt/boot/ cp kernel mnt/boot/ mkdir -p mnt/mod/ -cp TestModule.o mnt/mod +cp TestModule.kernel.o mnt/mod/TestModule.o # Run local sync script, if it exists if [ -f sync-local.sh ]; then