gotop: fix build err

GO_PKG_BUILD_PKG seems to be wrong, so just drop it here.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
CN_SZTL 2021-02-07 19:43:44 +08:00
parent e08fedf627
commit e423d00b00
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gotop
PKG_VERSION:=4.1.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/xxxserxxx/gotop/tar.gz/v$(PKG_VERSION)?
@ -29,10 +29,8 @@ PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
GO_PKG:=github.com/xxxserxxx/gotop
GO_PKG_BUILD_PKG:=github.com/xxxserxxx/gotop/cmd/gotop
GO_PKG_LDFLAGS:=-s -w
GO_PKG_LDFLAGS_X:= \
main.Version=$(PKG_VERSION)
GO_PKG_LDFLAGS_X:=main.Version=$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk
@ -73,4 +71,4 @@ endif
endef
$(eval $(call GoBinPackage,gotop))
$(eval $(call BuildPackage,gotop))
$(eval $(call BuildPackage,gotop))