Tue, 21 Mar 2023 11:59:42 +0100
4 files changed,
4 insertions(+),
4 deletions(-)
M
makefile
→
makefile
@@ -65,7 +65,7 @@
$(GLOBAL_BUILD)/fat.img: $(MODULES) # > $(LD) $(OBJECTS) -r -T link.txt -Map=$(LOG_DIR)/elf_mapfile.txt --oformat elf32-i386 -o $@ > dd if=/dev/zero of=$@ count=128 -> mkfs.fat -n "cedos" -S 512 $@ +> mkfs.fat -n "cedos" -S 512 -s 8 -r 32 $@ > mkdir -p ./mnt > sudo mount $@ ./mnt > sudo cp $(LOCAL_BUILD)/kernel.bin ./mnt
M
src/apps/makefile
→
src/apps/makefile
@@ -20,7 +20,7 @@
.PHONY: build build: $(GLOBAL_BUILD)/apps.o $(GLOBAL_BUILD)/apps.o: $(OBJECTS) -> $(LD) -T link.txt -Map=$(LOG_DIR)/apps_mapfile.txt $^ -o $@ +> $(LD) -T link.txt -Map=$(LOG_DIR)/apps_mapfile.txt -N $^ -o $@ # > $(OBJCOPY) -I binary -O elf32-i386 $(GLOBAL_BUILD)/apps.o $(GLOBAL_BUILD)/apps_raw.o # > $(LD) -T link.txt -r $^ -o $(GLOBAL_BUILD)/apps.o --oformat elf32-i386
M
src/boot/link.txt
→
src/boot/link.txt
@@ -21,6 +21,5 @@ BYTE(0x55)
BYTE(0xAA) */*.o(.text) */*.o(.data) - */*.o(.*) } >BOOT_VMA }
M
src/kernel/link.txt
→
src/kernel/link.txt
@@ -14,7 +14,8 @@ KERNEL : AT(0x4E00)
{ */*(.text) */*(.data) - */*(.*) + */*(.rodata*) + } >KERNEL_VMA }