summaryrefslogtreecommitdiffstats
path: root/meta/classes/goarch.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-10 18:21:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-12 11:58:01 +0100
commit971d5f7b81d535b2da0ae51a54f9ba6641f18304 (patch)
tree3b904c5e123c5534afb479a08c40cd5d951048ab /meta/classes/goarch.bbclass
parent7bd328f9d24b4fb23c7d5de50bddbb60828c9ffc (diff)
downloadpoky-971d5f7b81d535b2da0ae51a54f9ba6641f18304.tar.gz
classes: Add copyright statements to files without one
Where there isn't a copyright statement, add one to make it explicit. Also drop editor config lines where they were present. (From OE-Core rev: 880c1ea3edc8edef974e65b2d424fc36809ea034) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/goarch.bbclass')
-rw-r--r--meta/classes/goarch.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/goarch.bbclass b/meta/classes/goarch.bbclass
index 92fec16b82..0bfc1c1e0d 100644
--- a/meta/classes/goarch.bbclass
+++ b/meta/classes/goarch.bbclass
@@ -1,3 +1,7 @@
1#
2# Copyright OpenEmbedded Contributors
3#
4
1BUILD_GOOS = "${@go_map_os(d.getVar('BUILD_OS'), d)}" 5BUILD_GOOS = "${@go_map_os(d.getVar('BUILD_OS'), d)}"
2BUILD_GOARCH = "${@go_map_arch(d.getVar('BUILD_ARCH'), d)}" 6BUILD_GOARCH = "${@go_map_arch(d.getVar('BUILD_ARCH'), d)}"
3BUILD_GOTUPLE = "${BUILD_GOOS}_${BUILD_GOARCH}" 7BUILD_GOTUPLE = "${BUILD_GOOS}_${BUILD_GOARCH}"