1fc322fa5a
Force GIT_VERSION to avoid git version logic that takes the Buildroot git commit id. Update LICENSE hash; copyright year update. Format hashes file with two space delimiters. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
606 B
Makefile
23 lines
606 B
Makefile
################################################################################
|
|
#
|
|
# uhubctl
|
|
#
|
|
################################################################################
|
|
|
|
UHUBCTL_VERSION = 2.2.0
|
|
UHUBCTL_SITE = $(call github,mvp,uhubctl,v$(UHUBCTL_VERSION))
|
|
UHUBCTL_LICENSE = GPL-2.0
|
|
UHUBCTL_LICENSE_FILES = LICENSE
|
|
UHUBCTL_DEPENDENCIES = libusb
|
|
|
|
define UHUBCTL_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) GIT_VERSION=v$(UHUBCTL_VERSION) -C $(@D)
|
|
endef
|
|
|
|
define UHUBCTL_INSTALL_TARGET_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) \
|
|
$(MAKE) -C $(@D) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|