refactor: bootloader & cmake cleanup (#5232)
This commit is contained in:
@@ -19,20 +19,30 @@ set(GUI_SRC
|
||||
radio_calibration.cpp
|
||||
view_main.cpp
|
||||
view_statistics.cpp
|
||||
)
|
||||
)
|
||||
|
||||
if(FLIGHT_MODES)
|
||||
set(GUI_SRC
|
||||
${GUI_SRC}
|
||||
set(GUI_SRC ${GUI_SRC}
|
||||
model_flightmodes.cpp
|
||||
)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(GVARS)
|
||||
set(GUI_SRC ${GUI_SRC}
|
||||
model_gvars.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if(LUA_MIXER)
|
||||
set(GUI_SRC
|
||||
${GUI_SRC}
|
||||
set(GUI_SRC ${GUI_SRC}
|
||||
model_custom_scripts.cpp
|
||||
)
|
||||
)
|
||||
endif()
|
||||
|
||||
include(gui/common/stdlcd/CMakeLists.txt)
|
||||
|
||||
set(BOOTLOADER_SRC ${BOOTLOADER_SRC}
|
||||
${RADIO_SRC_DIR}/gui/128x64/lcd.cpp
|
||||
${RADIO_SRC_DIR}/gui/common/stdlcd/fonts.cpp
|
||||
${RADIO_SRC_DIR}/gui/common/stdlcd/utf8.cpp
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user