Skip to content

Commit

Permalink
golang: Remove deprecated variables in golang-package.mk
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffery To <[email protected]>
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
jefferyto authored and 1715173329 committed Sep 15, 2021
1 parent 01991ef commit e8c834d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lang/golang/golang-package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -314,14 +314,3 @@ define GoSrcPackage
Package/$(1)/install=$$(call GoPackage/Package/Install/Src,$$(1))
endif
endef


# Deprecated variables - these will be removed after the next OpenWrt release
GO_PKG_PATH=$(GO_PKG_BUILD_DEPENDS_PATH)
GO_PKG_WORK_DIR=$(PKG_BUILD_DIR)/$(GO_PKG_WORK_DIR_NAME)
GO_PKG_CACHE_DIR=$(GO_BUILD_CACHE_DIR)
GO_PKG_DEFAULT_VARS=$(GO_PKG_VARS)
GoPackage/Environment=$(GO_PKG_VARS)
GoPackage/is_dir_not_empty=$$$$($(FIND) "$(1)" -maxdepth 0 -type d \! -empty 2>/dev/null)
GoPackage/has_binaries=$(call GoPackage/is_dir_not_empty,$(GO_PKG_BUILD_BIN_DIR))
# End of deprecated variables

0 comments on commit e8c834d

Please sign in to comment.