feat: Added CC option to kconfig
This commit is contained in:
parent
e4dc0d0a04
commit
8fac1270b1
3 changed files with 12 additions and 3 deletions
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
|
@ -22,5 +22,8 @@
|
||||||
"smp.h": "c",
|
"smp.h": "c",
|
||||||
"string_view": "c",
|
"string_view": "c",
|
||||||
"lapic.h": "c"
|
"lapic.h": "c"
|
||||||
}
|
},
|
||||||
|
"editor.formatOnPaste": true,
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.formatOnType": true
|
||||||
}
|
}
|
|
@ -15,8 +15,8 @@ ifneq ("$(wildcard $(CONFIG))","")
|
||||||
include $(CONFIG)
|
include $(CONFIG)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CC := gcc
|
CC := $(CONFIG_CC)
|
||||||
AS := gcc
|
AS := $(CC)
|
||||||
NASM := nasm
|
NASM := nasm
|
||||||
|
|
||||||
ifeq ($(BUILD_MODE),)
|
ifeq ($(BUILD_MODE),)
|
||||||
|
|
|
@ -31,3 +31,9 @@ config ENABLE_FLANTERM
|
||||||
bool "Enable Flanterm Support"
|
bool "Enable Flanterm Support"
|
||||||
help
|
help
|
||||||
Includes support for the Flanterm terminal emulator. Useful for debugging real hardware.
|
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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue