From 845745a64a31156a4a6d12bedbfa71ea48e129ca Mon Sep 17 00:00:00 2001 From: aramya <22577625+thamugadi@users.noreply.github.com> Date: Fri, 1 Oct 2021 04:32:38 +0100 Subject: [PATCH] folders --- Makefile | 12 ++++++------ boot.c => entry/boot.c | 0 start.s => entry/start.s | 0 load.fth => loader/load.fth | 0 4 files changed, 6 insertions(+), 6 deletions(-) rename boot.c => entry/boot.c (100%) rename start.s => entry/start.s (100%) rename load.fth => loader/load.fth (100%) diff --git a/Makefile b/Makefile index 12e50b9..1bbd423 100644 --- a/Makefile +++ b/Makefile @@ -10,16 +10,16 @@ DISK.APM: kernel.elf bootinfo.txt kpartx.sh sudo cp kernel.elf /mnt/boot sudo umount /mnt/ sudo kpartx -d DISK.APM -bootinfo.txt: load.fth +bootinfo.txt: loader/load.fth echo "" >> bootinfo.txt - cat load.fth >> bootinfo.txt + cat loader/load.fth >> bootinfo.txt echo "" >> bootinfo.txt kernel.elf: start.elf boot.elf $(PPC)-ld -Ttext=0x200000 start.elf boot.elf -o kernel.elf -boot.elf: boot.c - $(PPC)-gcc -c boot.c -o boot.elf -start.elf: start.s - $(PPC)-as -c start.s -o start.elf +boot.elf: entry/boot.c + $(PPC)-gcc -c entry/boot.c -o boot.elf +start.elf: entry/start.s + $(PPC)-as -c entry/start.s -o start.elf clean: rm DISK.APM *elf *txt run: diff --git a/boot.c b/entry/boot.c similarity index 100% rename from boot.c rename to entry/boot.c diff --git a/start.s b/entry/start.s similarity index 100% rename from start.s rename to entry/start.s diff --git a/load.fth b/loader/load.fth similarity index 100% rename from load.fth rename to loader/load.fth