summaryrefslogtreecommitdiff
path: root/src/arch/esp8266/Makefile.inc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-01-12 14:40:30 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-01-12 14:40:30 +0100
commit3875f37b2ce1d020aaf5174ea2a885bfdb98db98 (patch)
tree8815e77b3407ea45209bb03147dd08be82b8e539 /src/arch/esp8266/Makefile.inc
parentc00a200c508e18c41b6c55506ee35a2f21a6fa57 (diff)
add stdin for esp8266 and msp430 as well as preliminary shell app
Diffstat (limited to 'src/arch/esp8266/Makefile.inc')
-rw-r--r--src/arch/esp8266/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/esp8266/Makefile.inc b/src/arch/esp8266/Makefile.inc
index 69a96f1..82755ce 100644
--- a/src/arch/esp8266/Makefile.inc
+++ b/src/arch/esp8266/Makefile.inc
@@ -29,6 +29,10 @@ ifeq (${esp8266_led2}, 1)
COMMON_FLAGS += -DLED_ON_GPIO16
endif
+ifneq ($(findstring stdin,${arch_drivers}), )
+ TARGETS += src/arch/esp8266/driver/stdin.cc
+endif
+
.cc.o:
${CXX} ${INCLUDES} ${COMMON_FLAGS} ${CXXFLAGS} -c -o $@ ${@:.o=.cc}
${OBJCOPY} --rename-section .text=.irom0.text --rename-section .literal=.irom0.literal $@