mirror of
https://github.com/openwrt/packages.git
synced 2026-02-04 12:06:29 +08:00
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 <jeffery.to@gmail.com>
Signed-off-by: George Sapkin <george@sapk.in>
10 lines
169 B
Bash
Executable File
10 lines
169 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
case "$1" in
|
|
golang*doc|golang*misc|golang*src|golang*tests) exit ;;
|
|
esac
|
|
|
|
go version | grep -F " go$PKG_VERSION "
|