golang: split src into separate packages
authorGeorge Sapkin <redacted>
Thu, 29 Jan 2026 00:17:26 +0000 (02:17 +0200)
committerGeorge Sapkin <redacted>
Mon, 2 Feb 2026 08:10:03 +0000 (10:10 +0200)
commit5657eb0e2efb64e3f1001dd900310fbf0b488c20
tree55e68ccc5834c669c13db3eaed11b89b03b99b95
parent6f4155c0a06facf4f0a1ab2050da986bb908167d
golang: split src into separate packages

Split misc sources and test data into separate packages. Reduces target
src package size by a third.

Move architecture-dependent generated source from src to the main
package.

Mark doc, misc, src and tests packages with PKGARCH:=all as they don't
have any architecture-specific files.

Fix stripping and strip compiler only.

Fixes: c137c382 ("golang: new packages")
Link: https://github.com/openwrt/packages/pull/28445
Suggested-by: Jeffery To <redacted>
Signed-off-by: George Sapkin <redacted>
lang/golang/go-strip-helper [new file with mode: 0755]
lang/golang/golang-bootstrap/Makefile
lang/golang/golang-compiler.mk
lang/golang/golang-values.mk
lang/golang/golang-version.mk
lang/golang/golang1.25/Makefile
lang/golang/golang1.25/test.sh [changed mode: 0644->0755]
git clone https://git.99rst.org/PROJECT