package/moby-buildkit: support building as host package
Users may want to use buildkitd and buildkitctl to build images on the host. Adds package host-moby-buildkit and BR2_PACKAGE_HOST_MOBY_BUILDKIT. Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
94ab3132cc
commit
cda5dff3c1
@ -55,6 +55,7 @@ menu "Host utilities"
|
||||
source "package/meson-tools/Config.in.host"
|
||||
source "package/mfgtools/Config.in.host"
|
||||
source "package/mkpasswd/Config.in.host"
|
||||
source "package/moby-buildkit/Config.in.host"
|
||||
source "package/mtd/Config.in.host"
|
||||
source "package/mtools/Config.in.host"
|
||||
source "package/mxsldr/Config.in.host"
|
||||
|
8
package/moby-buildkit/Config.in.host
Normal file
8
package/moby-buildkit/Config.in.host
Normal file
@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_HOST_MOBY_BUILDKIT
|
||||
bool "host moby-buildkit"
|
||||
depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS
|
||||
help
|
||||
BuildKit is a toolkit for converting source code to build
|
||||
artifacts in an efficient expressive and repeatable manner.
|
||||
|
||||
https://github.com/moby/buildkit
|
@ -19,4 +19,10 @@ MOBY_BUILDKIT_LDFLAGS = \
|
||||
|
||||
MOBY_BUILDKIT_INSTALL_BINS = $(notdir $(MOBY_BUILDKIT_BUILD_TARGETS))
|
||||
|
||||
HOST_MOBY_BUILDKIT_TAGS = cgo
|
||||
HOST_MOBY_BUILDKIT_BUILD_TARGETS = cmd/buildctl cmd/buildkitd
|
||||
|
||||
HOST_MOBY_BUILDKIT_INSTALL_BINS = $(notdir $(HOST_MOBY_BUILDKIT_BUILD_TARGETS))
|
||||
|
||||
$(eval $(golang-package))
|
||||
$(eval $(host-golang-package))
|
||||
|
Loading…
Reference in New Issue
Block a user