From 2d16f03ca44269d79a28f04884165bbbb6286ba5 Mon Sep 17 00:00:00 2001 From: aqua Date: Tue, 21 Feb 2023 17:54:34 +0200 Subject: Rename host and target tool names - target tool prefix is ${ARCH}_ - host tool prefix is HOST_ --- src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 02ff120..b4bdd0a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,8 +1,8 @@ include ../Makefile.config INCLUDES := -isystem../grub -I../${ARCH} -I../devices -CFLAGS += ${INCLUDES} -CXXFLAGS += ${INCLUDES} +${ARCH}_CFLAGS += ${INCLUDES} +${ARCH}_CXXFLAGS += ${INCLUDES} kernel.SRCS := multiboot2.c mmap.c kernel.cpp mem/vmm.c kernel.OBJS := conf.h @@ -15,5 +15,5 @@ conf.h: conf.h.in @echo ' GEN $@' @cp conf.h.in conf.h @sed -i 's/@VERSION@/$(shell git describe)/' conf.h - @sed -i 's/@CC@/$(shell ${CC} --version | head -n1)/' conf.h + @sed -i 's/@CC@/${${ARCH}_CCID}/' conf.h -- cgit v1.2.1