1. Remove the debugging information to reduce the size of the bin package

2. The compilation option optimization level is increased to 1
This commit is contained in:
wgzAIIT
2023-07-20 17:25:17 +08:00
parent 27e9613dcf
commit 616332962b
5 changed files with 13 additions and 10 deletions
+7 -4
View File
@@ -62,10 +62,6 @@ PART += COMPILE_KERNEL
else ifeq ($(CONFIG_COMPILER_APP)_$(CONFIG_COMPILER_KERNEL),y_y)
PART := COMPILE_APP COMPILE_KERNEL
else ifeq ($(CONFIG_MCUBOOT_BOOTLOADER), y)
PART := COMPILE_BOOTLOADER
else ifeq ($(CONFIG_MCUBOOT_APPLICATION), y)
PART := COMPILE_APPLICATION
else
PART :=
@@ -77,9 +73,16 @@ ifeq ($(CONFIG_RESOURCES_LWIP), y)
PART += COMPILE_LWIP
endif
ifeq ($(CONFIG_MCUBOOT_BOOTLOADER), y)
PART += COMPILE_BOOTLOADER
else ifeq ($(CONFIG_MCUBOOT_APPLICATION), y)
PART += COMPILE_APPLICATION
else
PART += COMPILE_ALL
endif
endif
all: $(PART)