blob: 4dff340460b1d31ae566b909c1dc00512e52638a [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 -sT "$(@D)" "$(BUILD_DIR)/go_pkgs/src/golang.org/x/net"
endef
GO_NET_POST_PATCH_HOOKS += GO_NET_FIX_PATH
$(eval $(call GENTARGETS))