mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00

While the insane.bbclass upstream-status check hasn't been made default, users of meta-virtualization may have it enabled in their distros .. so the effect is the same. We must have this tracking tag in out patches. This is a bulk update to add the tag and silence the QA message. As packages get updated, the normal/routine process of checking the patches will continue, and the status fields may (or may not) get more useful. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 4db28c98481056c41097f808335c37e8517fe485 Mon Sep 17 00:00:00 2001
|
|
From: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Date: Fri, 7 Aug 2020 23:39:18 -0400
|
|
Subject: [PATCH] build: use ${GO} instead of 'go'
|
|
|
|
While we can get away with 'go' if the host/target arch match, the
|
|
new go-binary toolchain blows up in a cross compile situation.
|
|
|
|
Upstream-Status: Inappropriate [embedded specific]
|
|
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
---
|
|
gobuild/Makefile | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
Index: git/src/import/gobuild/Makefile
|
|
===================================================================
|
|
--- git.orig/src/import/gobuild/Makefile
|
|
+++ git/src/import/gobuild/Makefile
|
|
@@ -19,10 +19,10 @@
|
|
|
|
${GODEPPATHS}:
|
|
mkdir -p ${GOSRC}
|
|
- GOPATH=${GOPATH} go get -d $(subst ${GOSRC}/,,$@)
|
|
+ GOPATH=${GOPATH} ${GO} get -d $(subst ${GOSRC}/,,$@)
|
|
|
|
${BIN}: ${GODEPPATHS} $(filter %/$@.go, ${MAIN})
|
|
- GOPATH=${GOPATH} ${ARCH} go build $(filter %/$@.go, ${MAIN})
|
|
+ GOPATH=${GOPATH} ${ARCH} ${GO} build -trimpath $(filter %/$@.go, ${MAIN})
|
|
|
|
clean:
|
|
rm -f ${BIN}
|