Cleaned up some more superfluous makefile cruft

pull/30/head
Jeroen Domburg 9 years ago
parent f25557b9cf
commit 95ac5cd948
  1. 9
      Makefile

@ -15,10 +15,6 @@ FW_BASE = firmware
# the PATH. # the PATH.
XTENSA_TOOLS_ROOT ?= XTENSA_TOOLS_ROOT ?=
#Extra Tensilica includes from the ESS VM
SDK_EXTRA_INCLUDES ?= /opt/Espressif/include
SDK_EXTRA_LIBS ?= /opt/Espressif/arch/lib
# base directory of the ESP8266 SDK package, absolute # base directory of the ESP8266 SDK package, absolute
SDK_BASE ?= /opt/Espressif/ESP8266_SDK SDK_BASE ?= /opt/Espressif/ESP8266_SDK
@ -37,8 +33,7 @@ TARGET = httpd
MODULES = driver user MODULES = driver user
EXTRA_INCDIR = include \ EXTRA_INCDIR = include \
. \ . \
lib/heatshrink/ \ lib/heatshrink/
$(SDK_EXTRA_INCLUDES)
# libraries used in this project, mainly provided by the SDK # libraries used in this project, mainly provided by the SDK
LIBS = c gcc hal phy pp net80211 wpa main lwip LIBS = c gcc hal phy pp net80211 wpa main lwip
@ -49,7 +44,7 @@ CFLAGS = -Os -ggdb -std=c99 -Werror -Wpointer-arith -Wundef -Wall -Wl,-EL -fno-
-Wno-address -Wno-address
# linker flags used to generate the main object file # linker flags used to generate the main object file
LDFLAGS = -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static -L$(SDK_EXTRA_LIBS) LDFLAGS = -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static
# linker script used for the above linkier step # linker script used for the above linkier step
LD_SCRIPT = eagle.app.v6.ld LD_SCRIPT = eagle.app.v6.ld

Loading…
Cancel
Save