alist: Makefile: tidy code
This commit is contained in:
parent
9063f7e03c
commit
1e6669495a
@ -30,12 +30,11 @@ PKG_BUILD_DEPENDS:=golang/host
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_USE_MIPS16:=0
|
||||
|
||||
PKG_ALIST:=github.com/alist-org/alist/v3/internal/conf
|
||||
GO_PKG:=github.com/alist-org/alist
|
||||
GO_PKG_LDFLAGS:=-w -s
|
||||
GO_PKG_LDFLAGS_X:= \
|
||||
$(PKG_ALIST).Version=v$(PKG_VERSION)-$(ARCH) \
|
||||
$(PKG_ALIST).WebVersion=$(PKG_WEB_VERSION)
|
||||
$(GO_PKG)/v3/internal/conf.Version=v$(PKG_VERSION)-$(ARCH) \
|
||||
$(GO_PKG)/v3/internal/conf.WebVersion=$(PKG_WEB_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk
|
||||
|
Loading…
Reference in New Issue
Block a user