解决makefile 不能编译的问题



CONFIG_CROSS_COMPILE := arm-none-eabi-
CONFIG_STRICT_CFLAGS ?= y
CONFIG_SAVE_TARGET ?= n
CONFIG_FORCE_WIN_SHELL ?= y

export CONFIG_STRICT_CFLAGS CONFIG_SAVE_TARGET CONFIG_FORCE_WIN_SHELL

# ---------------------------------------------------------------------------
# Platform and shell detection

后:
CONFIG_CROSS_COMPILE := arm-none-eabi-
CONFIG_STRICT_CFLAGS ?= y
CONFIG_SAVE_TARGET ?= n
CONFIG_FORCE_WIN_SHELL ?= y

export CONFIG_STRICT_CFLAGS CONFIG_SAVE_TARGET CONFIG_FORCE_WIN_SHELL

T := best2300_tws_anc

# ---------------------------------------------------------------------------
# Platform and shell detection


      cmd_link-IMAGE_FILE = $(LD) -o $@ \
          -T $(LDS_TARGET) \
          $(CFLAGS_IMAGE) \
          -Wl,$(subst $(space),$(comma),$(strip \
          $(LDFLAGS) $(LDFLAGS_IMAGE) \
          -Map=$(IMAGE_MAP) \
          --gc-sections \
          --whole-archive)) \
          $(IMAGE_INIT) $(IMAGE_MAIN) $(IMAGE_VER) \
          -Wl,--no-whole-archive $(LIB_LDFLAGS) $(LIB_LDFLAGS)
quiet_cmd_link-IMAGE_FILE = LINK    $@

      cmd_link-IMAGE_FILE = $(LD) -o $@ \
          -T $(LDS_TARGET) \
          $(CFLAGS_IMAGE) \
          -Wl,$(subst $(space),$(comma),$(strip \
          $(LDFLAGS) $(LDFLAGS_IMAGE) \
          -Map=$(IMAGE_MAP) \
          --gc-sections \
          --whole-archive)) \
          $(IMAGE_INIT) $(IMAGE_MAIN) $(IMAGE_VER) \
          -Wl,--no-whole-archive,--no-enum-size-warning,--no-wchar-size-warning $(LIB_LDFLAGS) $(LIB_LDFLAGS)
quiet_cmd_link-IMAGE_FILE = LINK    $@

你可能感兴趣的:(蓝牙)