|
|
@@ -120,7 +120,12 @@ ifdef USE_GIT_TREE
|
|
|
define Build/Prepare/Default
|
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
|
ln -s $(CURDIR)/git-src $(PKG_BUILD_DIR)/.git
|
|
|
- ( cd $(PKG_BUILD_DIR); git checkout .)
|
|
|
+ ( cd $(PKG_BUILD_DIR); \
|
|
|
+ git checkout .; \
|
|
|
+ git submodule update --recursive; \
|
|
|
+ git submodule foreach git config --unset core.worktree; \
|
|
|
+ git submodule foreach git checkout .; \
|
|
|
+ )
|
|
|
endef
|
|
|
endif
|
|
|
ifdef USE_SOURCE_DIR
|