mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
use curl instead of wget (which isnt included on mac by default)
This commit is contained in:
parent
351a921bfb
commit
764c25a2d1
1 changed files with 2 additions and 4 deletions
|
@ -39,7 +39,7 @@ arm_sdk_install: | $(DL_DIR) $(TOOLS_DIR)
|
||||||
arm_sdk_install: arm_sdk_clean
|
arm_sdk_install: arm_sdk_clean
|
||||||
ifneq ($(OSFAMILY), windows)
|
ifneq ($(OSFAMILY), windows)
|
||||||
# download the source only if it's newer than what we already have
|
# download the source only if it's newer than what we already have
|
||||||
$(V1) wget --no-check-certificate -N -P "$(DL_DIR)" "$(ARM_SDK_URL)"
|
$(V1) curl -L -k -o "$(DL_DIR)/$(ARM_SDK_FILE)" "$(ARM_SDK_URL)"
|
||||||
|
|
||||||
# binary only release so just extract it
|
# binary only release so just extract it
|
||||||
$(V1) tar -C $(TOOLS_DIR) -xjf "$(DL_DIR)/$(ARM_SDK_FILE)"
|
$(V1) tar -C $(TOOLS_DIR) -xjf "$(DL_DIR)/$(ARM_SDK_FILE)"
|
||||||
|
@ -185,7 +185,7 @@ dfuutil_install: | $(DL_DIR) $(TOOLS_DIR)
|
||||||
dfuutil_install: dfuutil_clean
|
dfuutil_install: dfuutil_clean
|
||||||
# download the source
|
# download the source
|
||||||
$(V0) @echo " DOWNLOAD $(DFUUTIL_URL)"
|
$(V0) @echo " DOWNLOAD $(DFUUTIL_URL)"
|
||||||
$(V1) wget -N -P "$(DL_DIR)" "$(DFUUTIL_URL)"
|
$(V1) curl -L -k -o "$(DL_DIR)/$(DFUUTIL_FILE)" "$(DFUUTIL_URL)"
|
||||||
|
|
||||||
# extract the source
|
# extract the source
|
||||||
$(V0) @echo " EXTRACT $(DFUUTIL_FILE)"
|
$(V0) @echo " EXTRACT $(DFUUTIL_FILE)"
|
||||||
|
@ -220,8 +220,6 @@ uncrustify_install: UNCRUSTIFY_OPTIONS := prefix=$(UNCRUSTIFY_DIR)
|
||||||
uncrustify_install: uncrustify_clean
|
uncrustify_install: uncrustify_clean
|
||||||
ifneq ($(OSFAMILY), windows)
|
ifneq ($(OSFAMILY), windows)
|
||||||
$(V0) @echo " DOWNLOAD $(UNCRUSTIFY_URL)"
|
$(V0) @echo " DOWNLOAD $(UNCRUSTIFY_URL)"
|
||||||
$(V1) wget --no-check-certificate -N -P "$(DL_DIR)" "$(UNCRUSTIFY_URL)"
|
|
||||||
else
|
|
||||||
$(V1) curl -L -k -o "$(DL_DIR)/$(UNCRUSTIFY_FILE)" "$(UNCRUSTIFY_URL)"
|
$(V1) curl -L -k -o "$(DL_DIR)/$(UNCRUSTIFY_FILE)" "$(UNCRUSTIFY_URL)"
|
||||||
endif
|
endif
|
||||||
# extract the src
|
# extract the src
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue