From d96e6b14c94716ea261c25c57ed4cd14a686ce5b Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 28 Nov 2014 18:05:25 +0000 Subject: [PATCH] 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. --- esp8266/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)