Skip to content

Commit d96e6b1

Browse files
committed
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.
1 parent 722fab7 commit d96e6b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

esp8266/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ include ../py/py.mk
88

99
PORT = /dev/ttyACM0
1010
CROSS_COMPILE = xtensa-lx106-elf-
11-
ESP_SDK = $(shell $(CC) -print-sysroot)/..
11+
ESP_SDK = $(shell $(CC) -print-sysroot)/usr
1212

1313
INC = -I.
1414
INC += -I$(PY_SRC)

0 commit comments

Comments
 (0)