From ced5b6d504400d94077783390953d8a1e4463bb4 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 8 Oct 2017 09:45:50 -0600 Subject: [PATCH] libc/stdio: Build the lib_noflush() and lib_snoflush() stubs even if CONFIG_FILE_DESCRIPTORS=0. They may still be needed. --- configs/z80sim/src/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/z80sim/src/Makefile b/configs/z80sim/src/Makefile index 0410aedf320..0c5e71b255c 100644 --- a/configs/z80sim/src/Makefile +++ b/configs/z80sim/src/Makefile @@ -36,6 +36,10 @@ -include $(TOPDIR)/Make.defs ASRCS = -CSRCS = z80_irq.c z80_serial.c z80_timerisr.c z80_lowputc.c +CSRCS = z80_irq.c z80_timerisr.c z80_lowputc.c + +ifneq ($(CONFIG_DISABLE_SIGNALS),y) +CSRCS += z80_serial.c +endif include $(TOPDIR)/configs/Board.mk