From 93cd0bcc5765cee00ccf7fe16e01435f7e42298c Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 14 Feb 2022 12:44:07 +0100 Subject: [PATCH] pkg/fatfs: add config path to NATIVEINCLUDES Since `ffconf.h` gets included by `vfs.h` which gets included by `native` code, this header needs to be available to the `native` cpu module too. --- pkg/fatfs/Makefile.include | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/fatfs/Makefile.include b/pkg/fatfs/Makefile.include index 347e5747b4..5b75304591 100644 --- a/pkg/fatfs/Makefile.include +++ b/pkg/fatfs/Makefile.include @@ -1,6 +1,8 @@ INCLUDES += -I$(PKGDIRBASE) INCLUDES += -I$(RIOTPKG)/fatfs/fatfs_diskio/mtd/include INCLUDES += -I$(RIOTPKG)/fatfs/vendor/include +# native overwrites all INCLUDES +NATIVEINCLUDES += -I$(RIOTPKG)/fatfs/vendor/include DIRS += $(RIOTBASE)/pkg/fatfs/fatfs_diskio/mtd