servo/controller/fw/bootloader/gen_compile_commands.py

9 lines
189 B
Python
Raw Normal View History

2025-05-22 18:03:43 +03:00
import os
Import("env")
# include toolchain paths
env.Replace(COMPILATIONDB_INCLUDE_TOOLCHAIN=True)
# override compilation DB path
env.Replace(COMPILATIONDB_PATH="compile_commands.json")