mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 06:13:35 +08:00
Remove size optimization for individual modules
It makes more sense to set the optimization flags on a platform basis instead of individually for each module. This allows for different optimization options for SITL, NuttX, Snapdragon, etc.
This commit is contained in:
@@ -30,17 +30,16 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
set(MIXER_CFLAGS -Os)
|
||||
|
||||
px4_add_module(
|
||||
MODULE systemcmds__mixer
|
||||
MAIN mixer
|
||||
STACK_MAIN 4096
|
||||
STACK_MAX 2100
|
||||
COMPILE_FLAGS ${MIXER_CFLAGS}
|
||||
COMPILE_FLAGS
|
||||
SRCS
|
||||
mixer.cpp
|
||||
DEPENDS
|
||||
platforms__common
|
||||
)
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
|
||||
Reference in New Issue
Block a user