Skip to content
Snippets Groups Projects
Commit 903f0605 authored by Jeong Han Lee's avatar Jeong Han Lee
Browse files

use the simple version of git update

parent bd36b3f2
No related branches found
No related tags found
No related merge requests found
# Keep always the module up-to-date # Keep always the module up-to-date
define git_update = define git_module_init_update =
git submodule deinit -f $@/ git submodule deinit -f $@/
sed -i '/submodule/,24465d' $(TOP)/.git/config sed -i '/submodule/,24465d' $(TOP)/.git/config
rm -rf $(TOP)/.git/modules/$@ rm -rf $(TOP)/.git/modules/$@
...@@ -8,6 +8,11 @@ git submodule update --init --recursive $@/. ...@@ -8,6 +8,11 @@ git submodule update --init --recursive $@/.
git submodule update --remote --merge $@/ git submodule update --remote --merge $@/
endef endef
define git_update =
git submodule update --init --recursive $@/.
git submodule update --remote --merge $@/
endef
define patch_site define patch_site
for i in $(wildcard $(TOP)/patch/Site/*p0.patch); do\ for i in $(wildcard $(TOP)/patch/Site/*p0.patch); do\
printf "\nPatching %s with the file : %s\n" "$(E3_MODULE_SRC_PATH)" "$$i"; \ printf "\nPatching %s with the file : %s\n" "$(E3_MODULE_SRC_PATH)" "$$i"; \
...@@ -36,6 +41,7 @@ endif ...@@ -36,6 +41,7 @@ endif
### Exclude the following variables to display ### Exclude the following variables to display
VARS_EXCLUDES+=git_update VARS_EXCLUDES+=git_update
VARS_EXCLUDES+=git_module_init_update
VARS_EXCLUDES+=patch_site VARS_EXCLUDES+=patch_site
VARS_EXCLUDES+=patch_revert_site VARS_EXCLUDES+=patch_revert_site
VARS_EXCLUDES+=QUIET VARS_EXCLUDES+=QUIET
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment