1
0
Fork 0

feat: Added CC option to kconfig

This commit is contained in:
Kevin Alavik 2025-05-26 18:36:00 +02:00
parent e4dc0d0a04
commit 8fac1270b1
No known key found for this signature in database
GPG key ID: 47AAEA397DB76AD0
3 changed files with 12 additions and 3 deletions

View file

@ -22,5 +22,8 @@
"smp.h": "c",
"string_view": "c",
"lapic.h": "c"
}
},
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true
}

View file

@ -15,8 +15,8 @@ ifneq ("$(wildcard $(CONFIG))","")
include $(CONFIG)
endif
CC := gcc
AS := gcc
CC := $(CONFIG_CC)
AS := $(CC)
NASM := nasm
ifeq ($(BUILD_MODE),)

View file

@ -31,3 +31,9 @@ config ENABLE_FLANTERM
bool "Enable Flanterm Support"
help
Includes support for the Flanterm terminal emulator. Useful for debugging real hardware.
config CC
string "C Compiler"
default "gcc"
help
Path to the C compiler to use for building.