diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-01-19 14:12:27 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-01-19 14:12:27 +0100 |
| commit | 5d712c34f9254351e5c9f6fd4c465b42114661d0 (patch) | |
| tree | cbb3cec7b056f817417227d1e8004520166e1fa3 /makefile | |
| parent | 9d6babb9a3b9ffbedc1fa377f47ff6b3f7585056 (diff) | |
Revision I: Extending PowerPC support.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,10 +8,10 @@ ASMFLAGS = -f elf64 KERNEL = hKernel.elf # The kernel entrypoint -ENTRY = __KernelMain +ENTRY = --script=Linker/PowerPC.ld # Where the text segment is. -TEXT = 0x400000 +TEXT = 0xc0000000 # we want a flat binary FMT = elf64 @@ -24,7 +24,7 @@ kernel-build: .PHONY: kernel-link kernel-link: - $(LD) -e $(ENTRY) -Ttext $(TEXT) --oformat $(FMT) Obj/*.o -o $(KERNEL) + $(LD) -e $(ENTRY) Obj/*.o -o $(KERNEL) .PHONY: all all: kernel-build kernel-link |
