make: Move arch.mk to toolchain.mk

The arch.mk file contains variables/rules to build, so rename it. Leave
an empty arch.mk so it can still be used in a follow-up commit.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2022-10-14 08:14:54 -06:00
committed by Tim Crawford
parent c5b737f505
commit ce66685c70
5 changed files with 59 additions and 57 deletions

View File

@@ -53,6 +53,8 @@ INCLUDE+=$(wildcard $(ARCH_DIR)/include/arch/*.h) $(ARCH_DIR)/arch.mk
CFLAGS+=-I$(ARCH_DIR)/include -D__ARCH__=$(ARCH)
include $(ARCH_DIR)/arch.mk
include $(ARCH_DIR)/toolchain.mk
# The architecture defines build targets, no more is required
endif