代码拉取完成,页面将自动刷新
#############################################################
# Required variables for each makefile
# Discard this section from all parent makefiles
# Expected variables (with automatic defaults):
# CSRCS (all "C" files in the dir)
# SUBDIRS (all subdirs with a Makefile)
# GEN_LIBS - list of libs to be generated ()
# GEN_IMAGES - list of object file images to be generated ()
# GEN_BINS - list of binaries to be generated ()
# COMPONENTS_xxx - a list of libs/objs in the form
# subdir/lib to be extracted and rolled up into
# a generated lib/image xxx.a ()
#
TOP_DIR:=./
sinclude $(TOP_DIR)/tools/tool_chain.def
TARGET = w600
USE_LIB=1
#EXTRA_CCFLAGS += -u
ifndef PDIR # {
GEN_IMAGES= $(TARGET).out
GEN_BINS = $(TARGET).bin
SUBDIRS = \
$(TOP_DIR)/app \
$(TOP_DIR)/demo \
$(TOP_DIR)/platform/boot/$(COMPILE)
endif # } PDIR
ifndef PDIR # {
ifeq ($(USE_LIB), 0)
SUBDIRS += \
$(TOP_DIR)/platform/common \
$(TOP_DIR)/platform/drivers \
$(TOP_DIR)/platform/sys \
$(TOP_DIR)/src/network \
$(TOP_DIR)/src/os \
$(TOP_DIR)/src/app
endif
endif
COMPONENTS_$(TARGET) = \
$(TOP_DIR)/platform/boot/$(COMPILE)/startup.o \
$(TOP_DIR)/platform/boot/$(COMPILE)/misc.o \
$(TOP_DIR)/platform/boot/$(COMPILE)/retarget.o \
$(TOP_DIR)/app/libuser$(LIB_EXT) \
$(TOP_DIR)/demo/libdemo$(LIB_EXT)
ifeq ($(USE_LIB), 0)
COMPONENTS_$(TARGET) += \
$(TOP_DIR)/platform/common/libcommon$(LIB_EXT) \
$(TOP_DIR)/platform/drivers/libdrivers$(LIB_EXT) \
$(TOP_DIR)/platform/sys/libsys$(LIB_EXT) \
$(TOP_DIR)/src/network/libnetwork$(LIB_EXT) \
$(TOP_DIR)/src/os/libos$(LIB_EXT) \
$(TOP_DIR)/src/app/libapp$(LIB_EXT)
endif
LINKLIB = \
$(TOP_DIR)/lib/libwlan$(LIB_EXT) \
$(TOP_DIR)/lib/libairkiss_log$(LIB_EXT)
ifeq ($(USE_LIB), 1)
LINKLIB += \
$(TOP_DIR)/lib/libcommon$(LIB_EXT) \
$(TOP_DIR)/lib/libdrivers$(LIB_EXT) \
$(TOP_DIR)/lib/libsys$(LIB_EXT) \
$(TOP_DIR)/lib/libnetwork$(LIB_EXT) \
$(TOP_DIR)/lib/libos$(LIB_EXT) \
$(TOP_DIR)/lib/libapp$(LIB_EXT)
endif
ifeq ($(COMPILE), gcc)
LINKFLAGS_$(TARGET) = \
$(LINKLIB) \
-T$(LD_FILE) \
-Wl,-warn-common
else
LINKFLAGS_$(TARGET) = \
--library_type=microlib \
$(LINKLIB) \
--strict --scatter $(LD_FILE)
endif
#############################################################
# Configuration i.e. compile options etc.
# Target specific stuff (defines etc.) goes in here!
# Generally values applying to a tree are captured in the
# makefile at its root level - these are then overridden
# for a subtree within the makefile rooted therein
#
CONFIGURATION_DEFINES = -DWM_W600
DEFINES += \
$(CONFIGURATION_DEFINES)
DDEFINES += \
$(CONFIGURATION_DEFINES)
#############################################################
# Recursion Magic - Don't touch this!!
#
# Each subtree potentially has an include directory
# corresponding to the common APIs applicable to modules
# rooted at that subtree. Accordingly, the INCLUDE PATH
# of a module can only contain the include directories up
# its parent path, and not its siblings
#
# Required for each makefile to inherit from the parent
#
INCLUDES := $(INCLUDES) -I$(PDIR)include
INCLUDES += -I ./
#PDIR := ../$(PDIR)
#sinclude $(PDIR)Makefile
sinclude $(TOP_DIR)/tools/rules.mk
.PHONY: FORCE
FORCE:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。