@ -23,6 +23,13 @@ GO_PKG:=github.com/syncthing/syncthing/
GO_PKG_BUILD_PKG := github.com/syncthing/syncthing/cmd/syncthing/
GO_PKG_BUILD_PKG := github.com/syncthing/syncthing/cmd/syncthing/
GO_PKG_INSTALL_EXTRA := ^gui/
GO_PKG_INSTALL_EXTRA := ^gui/
GO_PKG_LDFLAGS_X := \
github.com/syncthing/syncthing/lib/build.Version= v$( PKG_VERSION) \
github.com/syncthing/syncthing/lib/build.Stamp= $( SOURCE_DATE_EPOCH) \
github.com/syncthing/syncthing/lib/build.User= openwrt \
github.com/syncthing/syncthing/lib/build.Host= openwrt \
github.com/syncthing/syncthing/lib/build.Program= syncthing
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e . . / . . / l a n g / g o l a n g / g o l a n g - p a c k a g e . m k
i n c l u d e . . / . . / l a n g / g o l a n g / g o l a n g - p a c k a g e . m k
@ -35,13 +42,6 @@ define Package/syncthing
USERID:= syncthing:syncthing
USERID:= syncthing:syncthing
e n d e f
e n d e f
GO_PKG_LDFLAGS_X := \
github.com/syncthing/syncthing/lib/build.Version= v$( PKG_VERSION) \
github.com/syncthing/syncthing/lib/build.Stamp= $( SOURCE_DATE_EPOCH) \
github.com/syncthing/syncthing/lib/build.User= openwrt \
github.com/syncthing/syncthing/lib/build.Host= openwrt \
github.com/syncthing/syncthing/lib/build.Program= syncthing
d e f i n e B u i l d / C o m p i l e
d e f i n e B u i l d / C o m p i l e
$( call GoPackage/Build/Compile,-tags noupgrade)
$( call GoPackage/Build/Compile,-tags noupgrade)
e n d e f
e n d e f