diff options
| author | Christian Lindeberg <christian.lindeberg@axis.com> | 2025-04-02 08:19:19 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-04-02 07:29:32 -0700 |
| commit | 42a47b364cb58e04629ce3043264813d05285908 (patch) | |
| tree | dca96973e3a953c2db573c989633c7342def6709 /meta-oe/recipes-support/crucible/crucible_2023.11.02.bb | |
| parent | c022f3ec33cb019aa6ac56d84c8cc4713f1ac645 (diff) | |
| download | meta-openembedded-42a47b364cb58e04629ce3043264813d05285908.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 |
