From 2887a8325807f65202e7e4b39ff01798f1a348db Mon Sep 17 00:00:00 2001 From: Frank Voorburg Date: Fri, 9 Dec 2016 10:03:33 +0000 Subject: [PATCH] Refs #208. Removed "-D inline=" from GCC makefiles to resolve warnings generated by newer versions of GCC. git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@190 5dc33758-31d5-4daf-9ae8-b24bf3d40d73 --- .../Demo/ARMCM3_EFM32_Olimex_EM32G880F128STK_GCC/Boot/makefile | 2 +- .../Demo/ARMCM3_EFM32_Olimex_EM32G880F128STK_GCC/Prog/makefile | 2 +- Target/Demo/ARMCM3_LM3S_EK_LM3S6965_GCC/Boot/makefile | 2 +- Target/Demo/ARMCM3_LM3S_EK_LM3S6965_GCC/Prog/makefile | 2 +- Target/Demo/ARMCM3_LM3S_EK_LM3S8962_GCC/Boot/makefile | 2 +- Target/Demo/ARMCM3_LM3S_EK_LM3S8962_GCC/Prog/makefile | 2 +- Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Boot/makefile | 2 +- Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/makefile | 2 +- Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Boot/makefile | 2 +- Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Prog/makefile | 2 +- Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Boot/makefile | 2 +- Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Prog/makefile | 2 +- Target/Demo/ARMCM4_STM32F4_Olimex_STM32E407_GCC/Boot/makefile | 2 +- Target/Demo/ARMCM4_STM32F4_Olimex_STM32E407_GCC/Prog/makefile | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Target/Demo/ARMCM3_EFM32_Olimex_EM32G880F128STK_GCC/Boot/makefile b/Target/Demo/ARMCM3_EFM32_Olimex_EM32G880F128STK_GCC/Boot/makefile index 0159fa9c..30c0a57e 100644 --- a/Target/Demo/ARMCM3_EFM32_Olimex_EM32G880F128STK_GCC/Boot/makefile +++ b/Target/Demo/ARMCM3_EFM32_Olimex_EM32G880F128STK_GCC/Boot/makefile @@ -171,7 +171,7 @@ LIB_PATH = -L../../../Source/ARMCM3_EFM32/GCC/ #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m3 -Os -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m3 -Os -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) -Wno-attributes CFLAGS += -ffunction-sections -fdata-sections $(INC_PATH) -D EFM32G880F128 diff --git a/Target/Demo/ARMCM3_EFM32_Olimex_EM32G880F128STK_GCC/Prog/makefile b/Target/Demo/ARMCM3_EFM32_Olimex_EM32G880F128STK_GCC/Prog/makefile index 93fad66b..6905c452 100644 --- a/Target/Demo/ARMCM3_EFM32_Olimex_EM32G880F128STK_GCC/Prog/makefile +++ b/Target/Demo/ARMCM3_EFM32_Olimex_EM32G880F128STK_GCC/Prog/makefile @@ -154,7 +154,7 @@ LIB_PATH = #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m3 -mlong-calls -O1 -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m3 -mlong-calls -O1 -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -D sprintf=usprintf -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) -D snprintf=usnprintf CFLAGS += -D printf=uipprintf -ffunction-sections -fdata-sections $(INC_PATH) diff --git a/Target/Demo/ARMCM3_LM3S_EK_LM3S6965_GCC/Boot/makefile b/Target/Demo/ARMCM3_LM3S_EK_LM3S6965_GCC/Boot/makefile index b20258de..dfb4196e 100644 --- a/Target/Demo/ARMCM3_LM3S_EK_LM3S6965_GCC/Boot/makefile +++ b/Target/Demo/ARMCM3_LM3S_EK_LM3S6965_GCC/Boot/makefile @@ -164,7 +164,7 @@ LIB_PATH = -L../../../Source/ARMCM3_LM3S/GCC/ #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m3 -Os -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m3 -Os -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) CFLAGS += -ffunction-sections -fdata-sections $(INC_PATH) -D DEBUG -D gcc diff --git a/Target/Demo/ARMCM3_LM3S_EK_LM3S6965_GCC/Prog/makefile b/Target/Demo/ARMCM3_LM3S_EK_LM3S6965_GCC/Prog/makefile index 447288bc..d7a4ab00 100644 --- a/Target/Demo/ARMCM3_LM3S_EK_LM3S6965_GCC/Prog/makefile +++ b/Target/Demo/ARMCM3_LM3S_EK_LM3S6965_GCC/Prog/makefile @@ -180,7 +180,7 @@ LIB_PATH = #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m3 -mlong-calls -O1 -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m3 -mlong-calls -O1 -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -D sprintf=usprintf -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) -D snprintf=usnprintf CFLAGS += -D printf=uipprintf -ffunction-sections -fdata-sections $(INC_PATH) diff --git a/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_GCC/Boot/makefile b/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_GCC/Boot/makefile index d94e8158..4a72e8e2 100644 --- a/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_GCC/Boot/makefile +++ b/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_GCC/Boot/makefile @@ -128,7 +128,7 @@ LIB_PATH = -L../../../Source/ARMCM3_LM3S/GCC/ #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m3 -Os -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m3 -Os -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) CFLAGS += -ffunction-sections -fdata-sections $(INC_PATH) -D DEBUG -D gcc diff --git a/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_GCC/Prog/makefile b/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_GCC/Prog/makefile index 967c85fc..ef3066db 100644 --- a/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_GCC/Prog/makefile +++ b/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_GCC/Prog/makefile @@ -157,7 +157,7 @@ LIB_PATH = #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m3 -mlong-calls -O1 -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m3 -mlong-calls -O1 -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -D sprintf=usprintf -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) -D snprintf=usnprintf CFLAGS += -D printf=uipprintf -ffunction-sections -fdata-sections $(INC_PATH) diff --git a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Boot/makefile b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Boot/makefile index 4fa6c5e7..f97a5e76 100644 --- a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Boot/makefile +++ b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Boot/makefile @@ -127,7 +127,7 @@ LIB_PATH = -L../../../Source/ARMCM3_STM32F1/GCC/ #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m3 -O1 -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m3 -O1 -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) CFLAGS += -ffunction-sections -fdata-sections $(INC_PATH) -D STM32F10X_MD -D GCC_ARMCM3 diff --git a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/makefile b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/makefile index c1bab865..11370186 100644 --- a/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/makefile +++ b/Target/Demo/ARMCM3_STM32F1_Nucleo_F103RB_GCC/Prog/makefile @@ -134,7 +134,7 @@ LIB_PATH = #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m3 -mlong-calls -O1 -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m3 -mlong-calls -O1 -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -D sprintf=usprintf -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) -D snprintf=usnprintf CFLAGS += -D printf=uipprintf -ffunction-sections -fdata-sections $(INC_PATH) diff --git a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Boot/makefile b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Boot/makefile index 8795a576..414ea5b4 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Boot/makefile +++ b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Boot/makefile @@ -136,7 +136,7 @@ LIB_PATH = -L../../../Source/ARMCM3_STM32F1/GCC/ #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m3 -O1 -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m3 -O1 -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) CFLAGS += -ffunction-sections -fdata-sections $(INC_PATH) -D STM32F10X_MD -D GCC_ARMCM3 diff --git a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Prog/makefile b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Prog/makefile index 4c985302..32c072a0 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Prog/makefile +++ b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32H103_GCC/Prog/makefile @@ -132,7 +132,7 @@ LIB_PATH = #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m3 -mlong-calls -O1 -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m3 -mlong-calls -O1 -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -D sprintf=usprintf -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) -D snprintf=usnprintf CFLAGS += -D printf=uipprintf -ffunction-sections -fdata-sections $(INC_PATH) diff --git a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Boot/makefile b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Boot/makefile index c942aa64..00dc3ffe 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Boot/makefile +++ b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Boot/makefile @@ -127,7 +127,7 @@ LIB_PATH = -L../../../Source/ARMCM3_STM32F1/GCC/ #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m3 -O1 -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m3 -O1 -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) CFLAGS += -ffunction-sections -fdata-sections $(INC_PATH) -D STM32F10X_MD -D GCC_ARMCM3 diff --git a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Prog/makefile b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Prog/makefile index 74c7d755..6b0b2c9c 100644 --- a/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Prog/makefile +++ b/Target/Demo/ARMCM3_STM32F1_Olimex_STM32P103_GCC/Prog/makefile @@ -134,7 +134,7 @@ LIB_PATH = #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m3 -mlong-calls -O1 -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m3 -mlong-calls -O1 -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -D sprintf=usprintf -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) -D snprintf=usnprintf CFLAGS += -D printf=uipprintf -ffunction-sections -fdata-sections $(INC_PATH) diff --git a/Target/Demo/ARMCM4_STM32F4_Olimex_STM32E407_GCC/Boot/makefile b/Target/Demo/ARMCM4_STM32F4_Olimex_STM32E407_GCC/Boot/makefile index 68be8e7c..fab8918e 100644 --- a/Target/Demo/ARMCM4_STM32F4_Olimex_STM32E407_GCC/Boot/makefile +++ b/Target/Demo/ARMCM4_STM32F4_Olimex_STM32E407_GCC/Boot/makefile @@ -232,7 +232,7 @@ LIB_PATH = -L../../../Source/ARMCM4_STM32F4/GCC/ #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m4 -O1 -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m4 -O1 -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) CFLAGS += -ffunction-sections -fdata-sections $(INC_PATH) -D STM32F4XX -D GCC_ARMCM3 diff --git a/Target/Demo/ARMCM4_STM32F4_Olimex_STM32E407_GCC/Prog/makefile b/Target/Demo/ARMCM4_STM32F4_Olimex_STM32E407_GCC/Prog/makefile index f533bace..199ac8a1 100644 --- a/Target/Demo/ARMCM4_STM32F4_Olimex_STM32E407_GCC/Prog/makefile +++ b/Target/Demo/ARMCM4_STM32F4_Olimex_STM32E407_GCC/Prog/makefile @@ -176,7 +176,7 @@ LIB_PATH = #|---------------------------------------------------------------------------------------| #| Options for compiler binaries | #|---------------------------------------------------------------------------------------| -CFLAGS = -g -D inline= -mthumb -mcpu=cortex-m4 -mlong-calls -O1 -T memory.x +CFLAGS = -g -mthumb -mcpu=cortex-m4 -mlong-calls -O1 -T memory.x CFLAGS += -D PACK_STRUCT_END=__attribute\(\(packed\)\) -D sprintf=usprintf -Wno-main CFLAGS += -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) -D snprintf=usnprintf CFLAGS += -D printf=uipprintf -ffunction-sections -fdata-sections $(INC_PATH)