6e7b8f9412
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>
23 lines
624 B
Makefile
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))
|