Fix 'Unable to establish SSL connection' in make prepare

pull/410/head
Dmitry Ilyin 2022-08-26 11:08:47 +03:00
parent fd484dc774
commit 469853ddd5
1 changed files with 4 additions and 1 deletions

View File

@ -48,7 +48,10 @@ clean:
prepare: $(BR_DIR) prepare: $(BR_DIR)
$(ROOT_DIR)/buildroot-$(BR_VER).tar.gz: $(ROOT_DIR)/buildroot-$(BR_VER).tar.gz:
wget -O $@ --header="Host: buildroot.org" --no-check-certificate https://buildroot.org/downloads/buildroot-$(BR_VER).tar.gz wget -O $@ \
--retry-connrefused --continue --timeout=15 \
https://buildroot.org/downloads/buildroot-$(BR_VER).tar.gz \
2>/dev/null
$(BR_DIR): $(ROOT_DIR)/buildroot-$(BR_VER).tar.gz $(BR_DIR): $(ROOT_DIR)/buildroot-$(BR_VER).tar.gz
tar -C $(ROOT_DIR) -xf buildroot-$(BR_VER).tar.gz tar -C $(ROOT_DIR) -xf buildroot-$(BR_VER).tar.gz