summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-11-28 18:05:25 +0000
committerDamien George <damien.p.george@gmail.com>2014-11-28 18:05:25 +0000
commitd96e6b14c94716ea261c25c57ed4cd14a686ce5b (patch)
treece780007edf9d24d2cdc39c76c8a725ba744c9fe
parent722fab7c2a1aa9e141f4bfc794f705855ef46796 (diff)
downloadmicropython-d96e6b14c94716ea261c25c57ed4cd14a686ce5b.tar.gz
micropython-d96e6b14c94716ea261c25c57ed4cd14a686ce5b.zip
esp8266: Make default ESP_SDK variable work correctly.
When esp-open-sdk is built with STANDALONE=y (the default) then ESP_SDK is set to the correct value, so that "make" just works.
-rw-r--r--esp8266/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/Makefile b/esp8266/Makefile
index 10f6d7e2d2..7efb0ca50d 100644
--- a/esp8266/Makefile
+++ b/esp8266/Makefile
@@ -8,7 +8,7 @@ include ../py/py.mk
PORT = /dev/ttyACM0
CROSS_COMPILE = xtensa-lx106-elf-
-ESP_SDK = $(shell $(CC) -print-sysroot)/..
+ESP_SDK = $(shell $(CC) -print-sysroot)/usr
INC = -I.
INC += -I$(PY_SRC)