diff options
author | Damien George <damien.p.george@gmail.com> | 2014-11-28 18:05:25 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-11-28 18:05:25 +0000 |
commit | d96e6b14c94716ea261c25c57ed4cd14a686ce5b (patch) | |
tree | ce780007edf9d24d2cdc39c76c8a725ba744c9fe | |
parent | 722fab7c2a1aa9e141f4bfc794f705855ef46796 (diff) | |
download | micropython-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/Makefile | 2 |
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) |