mirror of https://github.com/jetkvm/kvm.git
docs: document JetKVM ARMv7 architecture and lint requirements
Added documentation to .golangci.yml explaining: - JetKVM uses ARMv7 (Rockchip RK3308, Cortex-A7) not ARM64 - golangci-lint should be run via 'make lint-go' not directly - Audio CGO code requires cross-compilation environment from Makefile The build-tags are explicitly listed to match the actual build configuration used in the Makefile (netgo, timetzdata, nomsgpack). Running 'make lint' or 'make lint-go' works correctly as it sets up the full ARM cross-compilation environment with audio library dependencies.
This commit is contained in:
parent
b092ea19f2
commit
a3ed215e13
|
|
@ -1,4 +1,12 @@
|
||||||
version: "2"
|
version: "2"
|
||||||
|
run:
|
||||||
|
# JetKVM target: ARMv7 (Rockchip RK3308, Cortex-A7)
|
||||||
|
# NOTE: Run 'make lint-go' instead of 'golangci-lint run' directly
|
||||||
|
# Audio CGO code requires cross-compilation environment from Makefile
|
||||||
|
build-tags:
|
||||||
|
- netgo
|
||||||
|
- timetzdata
|
||||||
|
- nomsgpack
|
||||||
linters:
|
linters:
|
||||||
enable:
|
enable:
|
||||||
- forbidigo
|
- forbidigo
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue