Skip to content

Commit

Permalink
sys/vfs*: move dependency resolution in its own Makefile.dep
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Jun 15, 2023
1 parent c8d4256 commit c164007
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
12 changes: 0 additions & 12 deletions sys/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -439,18 +439,6 @@ endif

ifneq (,$(filter vfs_default,$(USEMODULE)))
USEMODULE += vfs
DEFAULT_MODULE += vfs_auto_mount
endif

ifneq (,$(filter vfs_util,$(USEMODULE)))
USEMODULE += vfs
endif

ifneq (,$(filter vfs,$(USEMODULE)))
USEMODULE += posix_headers
ifeq (native, $(BOARD))
USEMODULE += native_vfs
endif
endif

ifneq (,$(filter sock_async_event,$(USEMODULE)))
Expand Down
9 changes: 9 additions & 0 deletions sys/vfs/Makefile.dep
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
USEMODULE += posix_headers

ifneq (,$(filter vfs_default,$(USEMODULE)))
DEFAULT_MODULE += vfs_auto_mount
endif

ifeq (native, $(BOARD))
USEMODULE += native_vfs
endif
1 change: 1 addition & 0 deletions sys/vfs_util/Makefile.dep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
USEMODULE += vfs

0 comments on commit c164007

Please sign in to comment.