kumquat-buildroot/package/delve/delve.mk
Christian Stewart 6e7b8f9412 package/delve: support building as host package
Users may want to debug Go programs using dlv on the host machine.

Adds package host-delve and BR2_PACKAGE_HOST_DELVE.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-01-26 22:24:37 +01:00

23 lines
624 B
Makefile

################################################################################
#
# delve
#
################################################################################
DELVE_VERSION = 1.8.0
DELVE_SITE = $(call github,go-delve,delve,v$(DELVE_VERSION))
DELVE_LICENSE = MIT
DELVE_LICENSE_FILES = LICENSE
DELVE_DEPENDENCIES = host-pkgconf
DELVE_TAGS = cgo
DELVE_BUILD_TARGETS = cmd/dlv
DELVE_INSTALL_BINS = $(notdir $(DELVE_BUILD_TARGETS))
HOST_DELVE_TAGS = cgo
HOST_DELVE_BUILD_TARGETS = cmd/dlv
HOST_DELVE_INSTALL_BINS = $(notdir $(HOST_DELVE_BUILD_TARGETS))
$(eval $(golang-package))
$(eval $(host-golang-package))