diff --git a/package/Config.in.host b/package/Config.in.host index 71f2a9311c..8078a8304d 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -82,6 +82,7 @@ menu "Host utilities" source "package/raspberrypi-usbboot/Config.in.host" source "package/rauc/Config.in.host" source "package/riscv-isa-sim/Config.in.host" + source "package/runc/Config.in.host" source "package/rustc/Config.in.host" source "package/s6-rc/Config.in.host" source "package/sam-ba/Config.in.host" diff --git a/package/runc/Config.in.host b/package/runc/Config.in.host new file mode 100644 index 0000000000..4b2555e029 --- /dev/null +++ b/package/runc/Config.in.host @@ -0,0 +1,8 @@ +config BR2_PACKAGE_HOST_RUNC + bool "host runc" + depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + help + runC is a CLI tool for spawning and running containers + according to the OCI specification. + + https://github.com/opencontainers/runc diff --git a/package/runc/runc.mk b/package/runc/runc.mk index 5faa8b683d..b87d07acca 100644 --- a/package/runc/runc.mk +++ b/package/runc/runc.mk @@ -23,4 +23,8 @@ RUNC_TAGS += seccomp RUNC_DEPENDENCIES += libseccomp host-pkgconf endif +HOST_RUNC_LDFLAGS = $(RUNC_LDFLAGS) +HOST_RUNC_TAGS = cgo static_build + $(eval $(golang-package)) +$(eval $(host-golang-package))