[v0.98][PPC] Start PowerPC port. It just compiles but nothing is displayed

This commit is contained in:
Dr-Noob
2021-07-27 20:26:17 +02:00
parent 7afb6fd0fe
commit f4aa335af1
10 changed files with 200 additions and 10 deletions

View File

@@ -17,7 +17,13 @@ ifneq ($(OS),Windows_NT)
SOURCE += $(COMMON_SRC) $(SRC_DIR)cpuid.c $(SRC_DIR)apic.c $(SRC_DIR)cpuid_asm.c $(SRC_DIR)uarch.c
HEADERS += $(COMMON_HDR) $(SRC_DIR)cpuid.h $(SRC_DIR)apic.h $(SRC_DIR)cpuid_asm.h $(SRC_DIR)uarch.h
CFLAGS += -DARCH_X86
else ifeq ($(arch), $(filter $(arch), ppc64el ppc64le ppc32))
SRC_DIR=src/ppc/
SOURCE += $(COMMON_SRC) $(SRC_DIR)ppc.c $(SRC_DIR)uarch.c
HEADERS += $(COMMON_HDR) $(SRC_DIR)ppc.h $(SRC_DIR)uarch.h
CFLAGS += -DARCH_PPC
else
# Assume ARM
SRC_DIR=src/arm/
SOURCE += $(COMMON_SRC) $(SRC_DIR)midr.c $(SRC_DIR)uarch.c $(SRC_DIR)soc.c $(SRC_DIR)udev.c
HEADERS += $(COMMON_HDR) $(SRC_DIR)midr.h $(SRC_DIR)uarch.h $(SRC_DIR)soc.h $(SRC_DIR)udev.c $(SRC_DIR)socs.h