[make] define and undefine some make variables
Based on building with --warn-undefined-variables, find a few places in the build system where undefined variables were used incorrectly, or never set due to unused code.
This commit is contained in:
@@ -38,9 +38,6 @@ ifeq ($(RISCV_MODE),supervisor)
|
||||
KERNEL_LOAD_OFFSET ?= 0x00200000 # kernel load offset
|
||||
endif
|
||||
|
||||
# sifive_e or _u?
|
||||
GLOBAL_DEFINES += PLATFORM_${VARIANT}=1
|
||||
|
||||
# set some global defines based on capability
|
||||
GLOBAL_DEFINES += ARCH_RISCV_CLINT_BASE=0x02000000
|
||||
GLOBAL_DEFINES += ARCH_RISCV_MTIME_RATE=10000000
|
||||
|
||||
Reference in New Issue
Block a user