Browse Source

now that we require obj dir, we need to cd into CURDIR for these commands..

main
John-Mark Gurney 1 year ago
parent
commit
ed2c137d8c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile View File

@@ -132,11 +132,11 @@ LORAMAC_BRANCH = master
.for module in STROBE LORAMAC
.PHONY: init-$($(module)_NAME)
init-$($(module)_NAME):
git subtree add -P $($(module)_NAME) --squash $($(module)_REPO) $($(module)_BRANCH)
cd $(.CURDIR) && git subtree add -P $($(module)_NAME) --squash $($(module)_REPO) $($(module)_BRANCH)

.PHONY: update-$($(module)_NAME)
update-$($(module)_NAME):
git subtree pull -P $($(module)_NAME) --squash $($(module)_REPO) $($(module)_BRANCH)
cd $(.CURDIR) && git subtree pull -P $($(module)_NAME) --squash $($(module)_REPO) $($(module)_BRANCH)
.endfor

########################################################


Loading…
Cancel
Save