message: Makefile formatting
diff: -
  -
  TARGET_ARCH :=
  ifeq ($(TARGET_ARCH), )
  $(error TARGET_ARCH must be specified on the command line)
  -endif# Create a cflag based on the specified TARGET_ARCH. For example:
  +endif
  +# Create a cflag based on the specified TARGET_ARCH. For example:
  # TARGET_ARCH=CEVA_BX1 --> -DCEVA_BX1
  # TARGET_ARCH=CEVA_SP500 --> -DCEVA_SP500
  TARGET_ARCH_DEFINES := -D$(shell echo $(TARGET_ARCH) | tr [a-z] [A-Z])
  @@ -18,7 +17,7 @@ TARGET_ARCH_DEFINES := -D$(shell echo $(TARGET_ARCH) | tr [a-z] [A-Z])
  PLATFORM_ARGS += \
  $(TARGET_ARCH_DEFINES) \
  - -c \
  + c \
  -fmessage-length=0 \
  -fpermissive \
  -Os \
  @@ -29,13 +28,10 @@ TARGET_ARCH_DEFINES := -D$(shell echo $(TARGET_ARCH) | tr [a-z] [A-Z])
  -D_LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY=""
  -
  -ifeq ($(TARGET_ARCH), CEVA_BX1)
  - #TARGET_ARCH :=
  CXXFLAGS := -std=c++11 -DTF_LITE_STATIC_MEMORY
  CCFLAGS := -std=c11 -DTF_LITE_STATIC_MEMORY
  -
  +ifeq ($(TARGET_ARCH), CEVA_BX1)
  PLATFORM_ARGS += \
  --target=cevabx1-elf \
  -mcpu=cevabx1v1.0.0 \
  @@ -46,8 +42,6 @@ CCFLAGS := -std=c11 -DTF_LITE_STATIC_MEMORY
  -mdpfp=1
  - CXXFLAGS += $(PLATFORM_ARGS)
  - CCFLAGS += $(PLATFORM_ARGS)
  LDFLAGS += \
  -T \
  CEVA_TFLM.ld \
  @@ -58,12 +52,9 @@ CCFLAGS := -std=c11 -DTF_LITE_STATIC_MEMORY
  -defsym \
  __internal_code_size=256k \
  -
  -
  endif
  ifeq ($(TARGET_ARCH), CEVA_SP500)
  -#stuff for SP
  PLATFORM_ARGS = \
  -pedantic \
  -Wa,--no-rstr-check \
  @@ -78,10 +69,6 @@ PLATFORM_ARGS = \
  -mdpfp=2 \
  -mvfp=1
  -
  -
  - CXXFLAGS += $(PLATFORM_ARGS)
  - CCFLAGS += $(PLATFORM_ARGS)
  LDFLAGS += \
  --no-relax --no-gc-sections \
  -defsym __internal_code_size=0k \
  @@ -89,6 +76,8 @@ PLATFORM_ARGS = \
  endif
  +CXXFLAGS += $(PLATFORM_ARGS)
  +CCFLAGS += $(PLATFORM_ARGS)
  MICROLITE_CC_HDRS += \
  tensorflow/lite/micro/kernels/ceva/ceva_tflm_lib.h \
  @@ -98,5 +87,3 @@ MICROLITE_CC_HDRS += \
  MICROLITE_CC_SRCS += \
  tensorflow/lite/micro/kernels/ceva/ceva_common.cc
  -
  -
  