Browse Source

Switch to optimising some things for size rather than speed.

sbg
px4dev 12 years ago
parent
commit
2ebcd0fdcc
  1. 2
      apps/examples/nsh/Makefile
  2. 2
      apps/nshlib/Makefile
  3. 2
      apps/px4/tests/Makefile
  4. 3
      apps/system/i2c/Makefile
  5. 2
      apps/systemcmds/bl_update/Makefile
  6. 2
      apps/systemcmds/boardinfo/Makefile
  7. 2
      apps/systemcmds/calibration/Makefile
  8. 2
      apps/systemcmds/delay_test/Makefile
  9. 3
      apps/systemcmds/eeprom/Makefile
  10. 2
      apps/systemcmds/mixer/Makefile
  11. 2
      apps/systemcmds/param/Makefile
  12. 2
      apps/systemcmds/perf/Makefile
  13. 2
      apps/systemcmds/preflight_check/Makefile
  14. 2
      apps/systemcmds/reboot/Makefile
  15. 2
      apps/systemcmds/top/Makefile

2
apps/examples/nsh/Makefile

@ -64,6 +64,8 @@ ROOTDEPPATH = --dep-path . @@ -64,6 +64,8 @@ ROOTDEPPATH = --dep-path .
VPATH =
MAXOPTIMIZATION = -Os
all: .built
.PHONY: clean depend distclean

2
apps/nshlib/Makefile

@ -107,6 +107,8 @@ endif @@ -107,6 +107,8 @@ endif
ROOTDEPPATH = --dep-path .
VPATH =
MAXOPTIMIZATION = -Os
# Build targets
all: .built

2
apps/px4/tests/Makefile

@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT @@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 12000
include $(APPDIR)/mk/app.mk
MAXOPTIMIZATION = -Os

3
apps/system/i2c/Makefile

@ -64,8 +64,9 @@ VPATH = @@ -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

2
apps/systemcmds/bl_update/Makefile

@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT @@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 4096
include $(APPDIR)/mk/app.mk
MAXOPTIMIZATION = -Os

2
apps/systemcmds/boardinfo/Makefile

@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT @@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 2048
include $(APPDIR)/mk/app.mk
MAXOPTIMIZATION = -Os

2
apps/systemcmds/calibration/Makefile

@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_MAX - 1 @@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_MAX - 1
STACKSIZE = 4096
include $(APPDIR)/mk/app.mk
MAXOPTIMIZATION = -Os

2
apps/systemcmds/delay_test/Makefile

@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT @@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 2048
include $(APPDIR)/mk/app.mk
MAXOPTIMIZATION = -Os

3
apps/systemcmds/eeprom/Makefile

@ -38,5 +38,8 @@ @@ -38,5 +38,8 @@
APPNAME = eeprom
PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 4096
MAXOPTIMIZATION = -Os
include $(APPDIR)/mk/app.mk
MAXOPTIMIZATION = -Os

2
apps/systemcmds/mixer/Makefile

@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT @@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 4096
include $(APPDIR)/mk/app.mk
MAXOPTIMIZATION = -Os

2
apps/systemcmds/param/Makefile

@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT @@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 4096
include $(APPDIR)/mk/app.mk
MAXOPTIMIZATION = -Os

2
apps/systemcmds/perf/Makefile

@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT @@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 2048
include $(APPDIR)/mk/app.mk
MAXOPTIMIZATION = -Os

2
apps/systemcmds/preflight_check/Makefile

@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT @@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 2048
include $(APPDIR)/mk/app.mk
MAXOPTIMIZATION = -Os

2
apps/systemcmds/reboot/Makefile

@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT @@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
STACKSIZE = 2048
include $(APPDIR)/mk/app.mk
MAXOPTIMIZATION = -Os

2
apps/systemcmds/top/Makefile

@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT - 10 @@ -40,3 +40,5 @@ PRIORITY = SCHED_PRIORITY_DEFAULT - 10
STACKSIZE = 3000
include $(APPDIR)/mk/app.mk
MAXOPTIMIZATION = -Os

Loading…
Cancel
Save