Skip to content

Commit b0f6467

Browse files
committed
add fallback repo URL for ethtool
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
1 parent 5f55a77 commit b0f6467

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ endif
127127
ETHTOOL_VERSION := "v6.5"
128128
ethtool:
129129
ifeq ("$(wildcard ethtool)","")
130-
git clone https://git.kernel.org/pub/scm/network/ethtool/ethtool.git
130+
git clone https://git.kernel.org/pub/scm/network/ethtool/ethtool.git || \
131+
git clone https://kernel.googlesource.com/pub/scm/network/ethtool/ethtool
131132
else
132133
cd ethtool && git checkout master && git pull
133134
endif
@@ -139,7 +140,8 @@ endif
139140

140141
ethtool-aarch64:
141142
ifeq ("$(wildcard ethtool-aarch64)","")
142-
git clone https://git.kernel.org/pub/scm/network/ethtool/ethtool.git ethtool-aarch64
143+
git clone https://git.kernel.org/pub/scm/network/ethtool/ethtool.git ethtool-aarch64 || \
144+
git clone https://kernel.googlesource.com/pub/scm/network/ethtool/ethtool ethtool-aarch64
143145
else
144146
cd ethtool-aarch64 && git checkout master && git pull
145147
endif

0 commit comments

Comments
 (0)