forked from xuos/xiuos
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user