From b1355998c859cf4a1531b1035ca0ccb4a9e97409 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 13 Apr 2021 09:04:40 +0200 Subject: prepare for switch to config.h instead of CFLAGS defines --- src/arch/esp8266/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/esp8266/Makefile.inc') diff --git a/src/arch/esp8266/Makefile.inc b/src/arch/esp8266/Makefile.inc index 18877ee..7bbc2f1 100644 --- a/src/arch/esp8266/Makefile.inc +++ b/src/arch/esp8266/Makefile.inc @@ -64,11 +64,11 @@ ifdef CONFIG_arch_esp8266_driver_uptime CXX_TARGETS += src/arch/esp8266/driver/uptime.cc endif -.cc.o: +%.o : %.cc | include/config.h ${QUIET}${CXX} ${INCLUDES} ${COMMON_FLAGS} ${CXXFLAGS} -c -o $@ ${@:.o=.cc} ${QUIET}${OBJCOPY} --rename-section .text=.irom0.text --rename-section .literal=.irom0.literal $@ -.c.o: +%.o : %.c | include/config.h ${QUIET}${CC} ${INCLUDES} ${COMMON_FLAGS} ${CFLAGS} -c -o $@ ${@:.o=.c} ${QUIET}${OBJCOPY} --rename-section .text=.irom0.text --rename-section .literal=.irom0.literal $@ -- cgit v1.2.3