diff options
author | aqua <aqua@iserlohn-fortress.net> | 2023-02-21 17:54:34 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2023-02-21 17:54:34 +0200 |
commit | 2d16f03ca44269d79a28f04884165bbbb6286ba5 (patch) | |
tree | e65f9b0283564eaa3e8afa496c7c34fe3369c2ab /src/Makefile | |
parent | Move C stdlib to lib/libk (diff) | |
download | kernel-2d16f03ca44269d79a28f04884165bbbb6286ba5.tar.xz |
Rename host and target tool names
- target tool prefix is ${ARCH}_
- host tool prefix is HOST_
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
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 |