Skip to content

Commit 04e918d

Browse files
committed
Another attempt at overriding the stock ffconf.h.
1 parent d531493 commit 04e918d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

dep/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,14 +931,15 @@
931931
hdrs={
932932
"ff.h": "dep/r/fatfs/source/ff.h",
933933
"ffconf.h": "dep/ffconf.h",
934+
"ffconf_override.h": "dep/ffconf_override.h",
934935
"diskio.h": "dep/r/fatfs/source/diskio.h",
935936
},
936937
cflags=[
937938
"-Wno-pointer-sign",
938939
# Forces our own customised ffconf.h to be read in instead of the one
939940
# in the fatfs source code.
940941
"-include",
941-
".obj/unix/dep/+fatfs_lib_hdr/ffconf.h",
942+
"ffconf_override.h"
942943
],
943944
deps=[
944945
git_repository(

dep/ffconf_override.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#include <ffconf.h>
2+

0 commit comments

Comments
 (0)