Bringing WiFi to the Cidco Mailstation
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

esp8266: Only hard-code paths on OpenBSD

makeEspArduino can find things in their usual places on other
platforms

+10 -6
+10 -6
esp8266/GNUmakefile
··· 9 9 BUILD_ROOT = $(CURDIR)/obj 10 10 EXCLUDE_DIRS = $(BUILD_ROOT) 11 11 12 - ESP_ROOT = /usr/local/share/arduino/hardware/espressif/esp8266 13 - ARDUINO_ROOT = /usr/local/share/arduino 14 - ARDUINO_LIBS = ${ESP_ROOT}/libraries 15 - 16 - UPLOAD_PORT?= /dev/cuaU0 12 + UNAME_S := $(shell uname -s) 13 + ifeq ($(UNAME_S),OpenBSD) 14 + ESP_ROOT = /usr/local/share/arduino/hardware/espressif/esp8266 15 + ARDUINO_ROOT = /usr/local/share/arduino 16 + ARDUINO_LIBS = ${ESP_ROOT}/libraries 17 17 18 - include /usr/local/share/makeEspArduino/makeEspArduino.mk 18 + UPLOAD_PORT?= /dev/cuaU0 19 + include /usr/local/share/makeEspArduino/makeEspArduino.mk 20 + else 21 + include ../../makeEspArduino/makeEspArduino.mk 22 + endif