Align all TAB=8 in app/Makefile, make sure it fit for github display.
This commit is contained in:
parent
af56aea1e8
commit
98a2c9fdb6
100
app/Makefile
100
app/Makefile
|
@ -21,24 +21,24 @@ ifndef PDIR # {
|
||||||
GEN_IMAGES= eagle.app.v6.out
|
GEN_IMAGES= eagle.app.v6.out
|
||||||
GEN_BINS= eagle.app.v6.bin
|
GEN_BINS= eagle.app.v6.bin
|
||||||
SPECIAL_MKTARGETS=$(APP_MKTARGETS)
|
SPECIAL_MKTARGETS=$(APP_MKTARGETS)
|
||||||
SUBDIRS= \
|
SUBDIRS= \
|
||||||
user \
|
user \
|
||||||
driver \
|
driver \
|
||||||
lwip \
|
lwip \
|
||||||
json \
|
json \
|
||||||
upgrade \
|
upgrade \
|
||||||
platform \
|
platform \
|
||||||
libc \
|
libc \
|
||||||
lua \
|
lua \
|
||||||
coap \
|
coap \
|
||||||
mqtt \
|
mqtt \
|
||||||
u8glib \
|
u8glib \
|
||||||
smart \
|
smart \
|
||||||
wofs \
|
wofs \
|
||||||
modules \
|
modules \
|
||||||
spiffs \
|
spiffs \
|
||||||
cjson \
|
cjson \
|
||||||
crypto \
|
crypto \
|
||||||
dhtlib
|
dhtlib
|
||||||
|
|
||||||
endif # } PDIR
|
endif # } PDIR
|
||||||
|
@ -48,10 +48,10 @@ LDDIR = ../ld
|
||||||
|
|
||||||
CCFLAGS += -Os
|
CCFLAGS += -Os
|
||||||
|
|
||||||
TARGET_LDFLAGS = \
|
TARGET_LDFLAGS = \
|
||||||
-nostdlib \
|
-nostdlib \
|
||||||
-Wl,-EL \
|
-Wl,-EL \
|
||||||
--longcalls \
|
--longcalls \
|
||||||
--text-section-literals
|
--text-section-literals
|
||||||
|
|
||||||
ifeq ($(FLAVOR),debug)
|
ifeq ($(FLAVOR),debug)
|
||||||
|
@ -72,13 +72,13 @@ ifeq ($(APP), 2)
|
||||||
LD_FILE = $(LDDIR)/eagle.app.v6.app2.ld
|
LD_FILE = $(LDDIR)/eagle.app.v6.app2.ld
|
||||||
endif
|
endif
|
||||||
|
|
||||||
COMPONENTS_eagle.app.v6 = \
|
COMPONENTS_eagle.app.v6 = \
|
||||||
user/libuser.a \
|
user/libuser.a \
|
||||||
driver/libdriver.a \
|
driver/libdriver.a \
|
||||||
lwip/liblwip.a \
|
lwip/liblwip.a \
|
||||||
json/libjson.a \
|
json/libjson.a \
|
||||||
upgrade/libupgrade.a \
|
upgrade/libupgrade.a \
|
||||||
platform/libplatform.a \
|
platform/libplatform.a \
|
||||||
libc/liblibc.a \
|
libc/liblibc.a \
|
||||||
lua/liblua.a \
|
lua/liblua.a \
|
||||||
coap/coap.a \
|
coap/coap.a \
|
||||||
|
@ -92,33 +92,33 @@ COMPONENTS_eagle.app.v6 = \
|
||||||
dhtlib/libdhtlib.a \
|
dhtlib/libdhtlib.a \
|
||||||
modules/libmodules.a
|
modules/libmodules.a
|
||||||
|
|
||||||
LINKFLAGS_eagle.app.v6 = \
|
LINKFLAGS_eagle.app.v6 = \
|
||||||
-L../lib \
|
-L../lib \
|
||||||
-Wl,--gc-sections \
|
-Wl,--gc-sections \
|
||||||
-Xlinker -Map=mapfile \
|
-Xlinker -Map=mapfile \
|
||||||
-nostdlib \
|
-nostdlib \
|
||||||
-T$(LD_FILE) \
|
-T$(LD_FILE) \
|
||||||
-Wl,--no-check-sections \
|
-Wl,--no-check-sections \
|
||||||
-u call_user_start \
|
-u call_user_start \
|
||||||
-Wl,-static \
|
-Wl,-static \
|
||||||
-Wl,--start-group \
|
-Wl,--start-group \
|
||||||
-lc \
|
-lc \
|
||||||
-lgcc \
|
-lgcc \
|
||||||
-lhal \
|
-lhal \
|
||||||
-lphy \
|
-lphy \
|
||||||
-lpp \
|
-lpp \
|
||||||
-lnet80211 \
|
-lnet80211 \
|
||||||
-lwpa \
|
-lwpa \
|
||||||
-lmain \
|
-lmain \
|
||||||
-ljson \
|
-ljson \
|
||||||
-lsmartconfig \
|
-lsmartconfig \
|
||||||
-lssl \
|
-lssl \
|
||||||
$(DEP_LIBS_eagle.app.v6) \
|
$(DEP_LIBS_eagle.app.v6) \
|
||||||
-Wl,--end-group \
|
-Wl,--end-group \
|
||||||
-lm
|
-lm
|
||||||
|
|
||||||
DEPENDS_eagle.app.v6 = \
|
DEPENDS_eagle.app.v6 = \
|
||||||
$(LD_FILE) \
|
$(LD_FILE) \
|
||||||
$(LDDIR)/eagle.rom.addr.v6.ld
|
$(LDDIR)/eagle.rom.addr.v6.ld
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
|
@ -129,24 +129,24 @@ DEPENDS_eagle.app.v6 = \
|
||||||
# for a subtree within the makefile rooted therein
|
# for a subtree within the makefile rooted therein
|
||||||
#
|
#
|
||||||
|
|
||||||
#UNIVERSAL_TARGET_DEFINES = \
|
#UNIVERSAL_TARGET_DEFINES = \
|
||||||
|
|
||||||
# Other potential configuration flags include:
|
# Other potential configuration flags include:
|
||||||
# -DTXRX_TXBUF_DEBUG
|
# -DTXRX_TXBUF_DEBUG
|
||||||
# -DTXRX_RXBUF_DEBUG
|
# -DTXRX_RXBUF_DEBUG
|
||||||
# -DWLAN_CONFIG_CCX
|
# -DWLAN_CONFIG_CCX
|
||||||
CONFIGURATION_DEFINES = -D__ets__ \
|
CONFIGURATION_DEFINES = -D__ets__ \
|
||||||
-DICACHE_FLASH \
|
-DICACHE_FLASH \
|
||||||
-DLWIP_OPEN_SRC \
|
-DLWIP_OPEN_SRC \
|
||||||
-DPBUF_RSV_FOR_WLAN \
|
-DPBUF_RSV_FOR_WLAN \
|
||||||
-DEBUF_LWIP
|
-DEBUF_LWIP
|
||||||
|
|
||||||
DEFINES += \
|
DEFINES += \
|
||||||
$(UNIVERSAL_TARGET_DEFINES) \
|
$(UNIVERSAL_TARGET_DEFINES) \
|
||||||
$(CONFIGURATION_DEFINES)
|
$(CONFIGURATION_DEFINES)
|
||||||
|
|
||||||
DDEFINES += \
|
DDEFINES += \
|
||||||
$(UNIVERSAL_TARGET_DEFINES) \
|
$(UNIVERSAL_TARGET_DEFINES) \
|
||||||
$(CONFIGURATION_DEFINES)
|
$(CONFIGURATION_DEFINES)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue