diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-31 20:00:46 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-31 20:01:00 +0100 |
| commit | 0e3adadf557dd197423436a14e73feb5a20fad32 (patch) | |
| tree | 8756cde219c6cac8f0a5ab2093cc6a8192429c49 | |
| parent | 7d16da2a6bc9cc1dd18c2075ed2f39963037fac4 (diff) | |
Meta: update makefile for AMD64.
Make it more platform specific.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
| -rw-r--r-- | Private/makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Private/makefile b/Private/makefile index ad851165..f521b36a 100644 --- a/Private/makefile +++ b/Private/makefile @@ -22,8 +22,8 @@ FMT = elf64 invalid-recipe: @echo "[HCoreKrnl] invalid-recipe: Use make all instead." -.PHONY: h-core -h-core: +.PHONY: h-core-amd64 +h-core-amd64: $(CC) $(CCFLAGS) Source/*.cxx HALKit/AMD64/PCI/*.cpp Source/Network/*.cpp\ Source/Storage/*.cxx HALKit/AMD64/*.cxx HALKit/AMD64/*.cpp HALKit/AMD64/*.s $(ASM) -f elf64 HALKit/AMD64/DebugManager.asm @@ -35,8 +35,8 @@ h-core: OBJCOPY = x86_64-elf-objcopy -.PHONY: link -link: +.PHONY: link-amd64 +link-amd64: $(LD) $(SCRIPT) Obj/*.o -o $(KERNEL) $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel -j .rela -j .rel.* -j .rela.* -j .reloc --target efi-app-x86_64 --subsystem=10 $(KERNEL) $(KERNEL) cp $(KERNEL) Root/System |
