eb007fe2db
Now that the pkg-golang infra automatically sets _INSTALL_BINS by default to the list of notdir of _BUILD_TARGETS, there is no need to do that in packages anymore. Most packages were already using the notdir construct, so those are trivially fixed; a few had a hard-coded list that matched the built targets list, so they too are trivially fixed. host-mender-artifact was slightly different, in that it explicitly set the _BIN_NAME to mender-artifact, which happens to be the default; it also set _INSTALL_BINS to _BIN_NAME, so again using the default. This package can also be fixed easily. Signed-off-by: Yann E. MORIN <yann.morin@orange.com> Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com> Cc: Christian Stewart <christian@aperture.us> Cc: James Hilliard <james.hilliard1@gmail.com> Reviewed-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Romain Naour <romain.naour@smile.fr>
21 lines
507 B
Makefile
21 lines
507 B
Makefile
################################################################################
|
|
#
|
|
# delve
|
|
#
|
|
################################################################################
|
|
|
|
DELVE_VERSION = 1.22.1
|
|
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
|
|
|
|
HOST_DELVE_TAGS = cgo
|
|
HOST_DELVE_BUILD_TARGETS = cmd/dlv
|
|
|
|
$(eval $(golang-package))
|
|
$(eval $(host-golang-package))
|