From 29cff52c84430b121c8c45e68907d34cb46f545a Mon Sep 17 00:00:00 2001 From: Tianhao Wang Date: Sat, 11 Mar 2023 19:32:09 +0100 Subject: clean up --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5efd1a2..552c0e7 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ bootdisk.iso : kernel # Link the rust library against the objects from asm code (currently only the startup.o), # later we'll use wildcards kernel : rust_kernel startup.o - ld -static -e startup -T sections -o ./kernel startup.o target/x86_64-rustubs/debug/librustubs.a + ld -static -e startup -T ./src/arch/x86_64/linker.ld -o ./kernel startup.o target/x86_64-rustubs/debug/librustubs.a # install xbuild first. (cargo install xbuild) # Compile the rust part: note that the the cargo crate is of type [staticlib], if you don't -- cgit v1.2.3-70-g09d2