forked from Archive/PX4-Autopilot
Switch to optimising some things for size rather than speed.
This commit is contained in:
parent
b80575fcff
commit
2ebcd0fdcc
|
@ -64,6 +64,8 @@ ROOTDEPPATH = --dep-path .
|
|||
|
||||
VPATH =
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
||||
all: .built
|
||||
.PHONY: clean depend distclean
|
||||
|
||||
|
|
|
@ -107,6 +107,8 @@ endif
|
|||
ROOTDEPPATH = --dep-path .
|
||||
VPATH =
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
||||
# Build targets
|
||||
|
||||
all: .built
|
||||
|
|
|
@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
|
|||
STACKSIZE = 12000
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
|
@ -64,8 +64,9 @@ VPATH =
|
|||
APPNAME = i2c
|
||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||
STACKSIZE = 2048
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
||||
# Build targets
|
||||
# Build Targets
|
||||
|
||||
all: .built
|
||||
.PHONY: context .depend depend clean distclean
|
||||
|
|
|
@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
|
|||
STACKSIZE = 4096
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
|
|
@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
|
|||
STACKSIZE = 2048
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
|
|
@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_MAX - 1
|
|||
STACKSIZE = 4096
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
|
|
@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
|
|||
STACKSIZE = 2048
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
|
|
@ -38,5 +38,8 @@
|
|||
APPNAME = eeprom
|
||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||
STACKSIZE = 4096
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
|
|
@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
|
|||
STACKSIZE = 4096
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
|
|
@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
|
|||
STACKSIZE = 4096
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
|
|
@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
|
|||
STACKSIZE = 2048
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
|
|
@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
|
|||
STACKSIZE = 2048
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
|
|
@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
|
|||
STACKSIZE = 2048
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
|
|
@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT - 10
|
|||
STACKSIZE = 3000
|
||||
|
||||
include $(APPDIR)/mk/app.mk
|
||||
|
||||
MAXOPTIMIZATION = -Os
|
||||
|
|
Loading…
Reference in New Issue