diff --git a/pkg/fatfs/Makefile.dep b/pkg/fatfs/Makefile.dep index 390a17cb59..77d06329e0 100644 --- a/pkg/fatfs/Makefile.dep +++ b/pkg/fatfs/Makefile.dep @@ -10,7 +10,7 @@ include $(RIOTBASE)/boards/$(BOARD)/Makefile.features #if periph_rtc is available use it. Otherwise use static timestamps ifneq (, $(filter periph_rtc, $(FEATURES_PROVIDED))) - export CFLAGS+= -DFATFS_FFCONF_OPT_FS_NORTC=0 + CFLAGS += -DFATFS_FFCONF_OPT_FS_NORTC=0 else - export CFLAGS+= -DFATFS_FFCONF_OPT_FS_NORTC=1 + CFLAGS += -DFATFS_FFCONF_OPT_FS_NORTC=1 endif