diff --git a/cc3200/application.mk b/cc3200/application.mk index 78c50b4990..77072e5055 100644 --- a/cc3200/application.mk +++ b/cc3200/application.mk @@ -186,6 +186,7 @@ $(BUILD)/hal/%.o: CFLAGS += -Os $(BUILD)/misc/%.o: CFLAGS += -Os $(BUILD)/py/%.o: CFLAGS += -Os $(BUILD)/simplelink/%.o: CFLAGS += -Os +$(BUILD)/drivers/cc3100/%.o: CFLAGS += -Os $(BUILD)/stmhal/%.o: CFLAGS += -Os $(BUILD)/telnet/%.o: CFLAGS += -Os $(BUILD)/util/%.o: CFLAGS += -Os diff --git a/cc3200/bootmgr/bootloader.mk b/cc3200/bootmgr/bootloader.mk index 51eebafad0..b224030039 100644 --- a/cc3200/bootmgr/bootloader.mk +++ b/cc3200/bootmgr/bootloader.mk @@ -89,6 +89,7 @@ CFLAGS += -DDEBUG=DEBUG # Optimize the stable sources only $(BUILD)/hal/%.o: CFLAGS += -Os $(BUILD)/simplelink/%.o: CFLAGS += -Os +$(BUILD)/drivers/cc3100/%.o: CFLAGS += -Os $(BUILD)/py/%.o: CFLAGS += -Os $(BUILD)/stmhal/%.o: CFLAGS += -Os else