blob: 0e3ef154399bddf88443f51bc69b918736339aa2 [file] [log] [blame]
#############################################################
#
# go_net
#
#############################################################
GO_NET_VERSION = 4876518f9e71663000c348837735820161a42df7
GO_NET_SITE = https://go.googlesource.com/net
GO_NET_SITE_METHOD = git
GO_NET_DEPENDENCIES = host-golang
define GO_NET_FIX_PATH
mkdir -p "$(BUILD_DIR)/go_pkgs/src/golang.org/x"
ln -sfT "$(@D)" "$(BUILD_DIR)/go_pkgs/src/golang.org/x/net"
endef
GO_NET_POST_PATCH_HOOKS += GO_NET_FIX_PATH
$(eval $(call GENTARGETS))