From e423d00b0099101a338d02ecc2fbdb9d8d73d484 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Sun, 7 Feb 2021 19:43:44 +0800 Subject: [PATCH] gotop: fix build err GO_PKG_BUILD_PKG seems to be wrong, so just drop it here. Signed-off-by: CN_SZTL --- package/ctcgfw/gotop/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/package/ctcgfw/gotop/Makefile b/package/ctcgfw/gotop/Makefile index 463d6dcb31..149290092c 100644 --- a/package/ctcgfw/gotop/Makefile +++ b/package/ctcgfw/gotop/Makefile @@ -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)) \ No newline at end of file +$(eval $(call BuildPackage,gotop))