diff options
| author | Christian Lindeberg <christian.lindeberg@axis.com> | 2025-01-09 08:26:51 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-10 09:33:51 -0800 |
| commit | 8d635b0510c86a80261a461f833142d2bdfad0f0 (patch) | |
| tree | 02020a3443ba87745dc41fea4ebf7f834adb4223 /meta-oe/recipes-support/crucible/crucible_2023.11.02.bb | |
| parent | ef917bce9a0a6a1fb35de527327d9f6811af7a63 (diff) | |
| download | meta-openembedded-8d635b0510c86a80261a461f833142d2bdfad0f0.tar.gz | |
crucible: Use go module fetcher
Use the go module fetcher instead of allowing network access during the
compile task.
Reorder variables according to the recipe style guide.
Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/crucible/crucible_2023.11.02.bb')
| -rw-r--r-- | meta-oe/recipes-support/crucible/crucible_2023.11.02.bb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/meta-oe/recipes-support/crucible/crucible_2023.11.02.bb b/meta-oe/recipes-support/crucible/crucible_2023.11.02.bb index 4247263b5a..8966194704 100644 --- a/meta-oe/recipes-support/crucible/crucible_2023.11.02.bb +++ b/meta-oe/recipes-support/crucible/crucible_2023.11.02.bb | |||
| @@ -1,20 +1,20 @@ | |||
| 1 | SUMMARY = "Utility that provides userspace support for reading and writing to the i.MX fuses" | 1 | SUMMARY = "Utility that provides userspace support for reading and writing to the i.MX fuses" |
| 2 | LICENSE = "BSD-3-Clause" | 2 | |
| 3 | LICENSE = "BSD-3-Clause & ${GO_MOD_LICENSES}" | ||
| 3 | LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=201414b6610203caed355323b1ab3116" | 4 | LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=201414b6610203caed355323b1ab3116" |
| 5 | require ${BPN}-licenses.inc | ||
| 4 | 6 | ||
| 5 | GO_IMPORT = "github.com/usbarmory/crucible" | ||
| 6 | SRC_URI = "git://${GO_IMPORT}.git;protocol=https;branch=master;destsuffix=${GO_SRCURI_DESTSUFFIX}" | 7 | SRC_URI = "git://${GO_IMPORT}.git;protocol=https;branch=master;destsuffix=${GO_SRCURI_DESTSUFFIX}" |
| 8 | require ${BPN}-go-mods.inc | ||
| 9 | |||
| 10 | SRCREV = "dec27cd4e0e0db106c0a21d429c04ca8d36bbdd5" | ||
| 7 | 11 | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | GO_IMPORT = "github.com/usbarmory/crucible" | ||
| 8 | GO_INSTALL = "\ | 15 | GO_INSTALL = "\ |
| 9 | ${GO_IMPORT}/cmd/crucible \ | 16 | ${GO_IMPORT}/cmd/crucible \ |
| 10 | ${GO_IMPORT}/cmd/habtool \ | 17 | ${GO_IMPORT}/cmd/habtool \ |
| 11 | " | 18 | " |
| 12 | SRCREV = "dec27cd4e0e0db106c0a21d429c04ca8d36bbdd5" | ||
| 13 | |||
| 14 | export GOPROXY = "https://proxy.golang.org,direct" | ||
| 15 | # Workaround for network access issue during compile step. | ||
| 16 | # This needs to be fixed in the recipes buildsystem so that | ||
| 17 | # it can be accomplished during do_fetch task. | ||
| 18 | do_compile[network] = "1" | ||
| 19 | 19 | ||
| 20 | inherit go-mod | 20 | inherit go-mod |
