chore: do not ignore .gitmodules.d.mk

This commit is contained in:
mzz2017 2023-06-17 14:32:29 +08:00
parent 4fa582e079
commit b61db9bfd7
3 changed files with 2 additions and 2 deletions

1
.gitignore vendored
View File

@ -8,4 +8,3 @@ dae
outline.json
go-mod/
node_modules/
.gitmodules.d.mk

1
.gitmodules.d.mk Normal file
View File

@ -0,0 +1 @@
submodule_paths=control/kern/headers

View File

@ -47,7 +47,7 @@ dae: ebpf
## Begin Git Submodules
.gitmodules.d.mk: .gitmodules
@set -e && \
submodules=$$(grep '\[submodule "' .gitmodules | cut -d'"' -f2 | tr '\n' ' ') && \
submodules=$$(grep '\[submodule "' .gitmodules | cut -d'"' -f2 | tr '\n' ' ' | tr ' \n' '\n') && \
echo "submodule_paths=$${submodules}" > $@
-include .gitmodules.d.mk