refactor: refactor Makefiles and related scripts for improved readability and consistency

- Adjusted variable alignment in Makefiles for better readability.
- Ensured consistent formatting across various Makefiles and scripts.
- Added a new .bake.toml file to define project formatting policies for mbake.
- Updated paths and variable definitions in multiple configuration files to enhance clarity.
- Removed unnecessary comments and whitespace for cleaner code.
This commit is contained in:
maksyuki committed 2026-07-21 11:21:39 +08:00
1 parent f5b373fd65
commit 7418acfe42
3 files changed
+5 -3

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
# Project formatting policy for mbake.
[formatter]
# Align adjacent assignments, but start a new alignment group at comments.
align_variable_assignments = true
align_across_comments = false
-1
View File
@@ -86,7 +86,6 @@ wave: DIR := $(SIM_BUILD_ROOT)/behv
netwave: DIR := $(SIM_BUILD_ROOT)/netl
postwave: DIR := $(SIM_BUILD_ROOT)/post
comp: $(VCS_BEHV_SIMV)
netcomp: $(VCS_NETL_SIMV)
postcomp: $(VCS_POST_SIMV)
-2
View File
@@ -9,8 +9,6 @@ SOC_VSRC_TOP := retrosoc_top
SOC_VSRC_HOME += $(RTL_PATH)/dv/verilator/rtl
SOC_COMPILE_HOME := $(BUILD_DIR)/emu_compile
SOC_VXXFILES := $(RTL_FLIST)
SOC_VXXFILES += $(RTL_PATH)/dv/model/ESP_PSRAM64H.sv
SOC_VXXFILES += $(RTL_PATH)/dv/verilator/rtl/flash_read_binder.sv