tools: scripts: remove Make build system#3216
Open
buha wants to merge 1 commit into
Open
Conversation
buha
requested review from
CiprianRegus,
RaduSabau1,
SRaus,
amiclaus,
cristina-suteu,
danmois,
dbogdan,
liviutomoiaga,
raezt,
ralucabozdog,
ranechita,
rbolboac,
rbudai98 and
stefpopa
as code owners
July 15, 2026 13:41
Contributor
Author
|
buha
marked this pull request as draft
July 15, 2026 13:43
Contributor
Author
|
Converted to draft because i'm not entirely sure about deleting the vsc_* files, they might need to stay |
no-OS builds are now driven by the unified CMake/Kconfig system
(no_os_build.py + CMakePresets + per-project CMakeLists). Purge the
legacy per-project Make stack and every artifact tied to it, keeping
only the CMake tooling and standalone utilities.
Deleted:
- All tools/scripts/*.mk (generic, generic_variables, src_model, the
per-platform makefiles maxim/stm32/xilinx/altera/lattice/linux/mac/
win, and the feature includes libraries/examples/freertos/lwip/lvgl/
ftd2xx/esh/iio_srcs/mqtt_srcs/azure_sdk_for_c/vsc_*).
- Platform .mk fragments: platform/altera/bsp.mk and
platform/lattice/{bitstream,sys_env_parse}.mk.
- Make-only tooling and IDE generation: download_files.py (scanned only
builds.json), git-bash.sh and git-bash-paths.sh (Make-on-Windows
helpers), platform/{mac,win,linux}/config_build.py and their .vscode
templates, platform/template_*.json, and the Make-only Xilinx TCL
build_project.tcl/create_fsbl_project.tcl/generate_vitis_launch.py.
- Orphaned altera/lattice env and template files.
- Library build glue libraries/{fatfs,mqtt,tmc}/Makefile.
Rewrote build_projects.py to drop the "make -C" path: removed the
BuildConfig class, get_hardware, re_run_stm32, the cloudsmith hardware
download and the builds.json legacy loop, leaving a CMake-only driver.
Fixed stale comments in iio/CMakeLists.txt and
cmake/stm32/stm32_patch_cubemx.cmake that pointed at deleted .mk files.
Kept the CMake tooling (no_os_build.py, generate_config.py, jlink.py),
BSP/debug helpers reused by CMake (aducm3029 startup patch, stm32
exti_script.py, the Xilinx util.tcl/util.py + flash/debug utils) and
standalone utilities (config_ftd2xx.py, mcufla.sh).
Assisted-by: Claude Opus 4.8
Signed-off-by: Darius Berghe <darius.berghe@analog.com>
amiclaus
reviewed
Jul 16, 2026
amiclaus
left a comment
Contributor
There was a problem hiding this comment.
shouldn't we also remove Makefiles includes from projects tools/scripts/generic.mk / generic_variables.mk etc ?
buha
marked this pull request as ready for review
July 16, 2026 16:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
no-OS builds are now driven by the unified CMake/Kconfig system (no_os_build.py + CMakePresets + per-project CMakeLists). Purge the legacy per-project Make stack and every artifact tied to it, keeping only the CMake tooling and standalone utilities.
Deleted:
Rewrote build_projects.py to drop the "make -C" path: removed the BuildConfig class, get_hardware, re_run_stm32, the cloudsmith hardware download and the builds.json legacy loop, leaving a CMake-only driver.
Fixed stale comments in iio/CMakeLists.txt and
cmake/stm32/stm32_patch_cubemx.cmake that pointed at deleted .mk files.
Kept the CMake tooling (no_os_build.py, generate_config.py, jlink.py), BSP/debug helpers reused by CMake (aducm3029 startup patch, stm32 exti_script.py, the Xilinx util.tcl/util.py + flash/debug utils) and standalone utilities (config_ftd2xx.py, mcufla.sh).
PR Type
PR Checklist