kumquat-buildroot/package/sam-ba/sam-ba.mk
Lang Daniel b55e4d9fd9 package/sam-ba: bump version to 3.5
Sadly the most recent version of Microchip's SAM-BA programming tool is no longer hosted
on GitHub. Therefore the package is downloaded from Microchip directly.

Signed-off-by: Daniel Lang <d.lang@abatec.at>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-10-06 21:11:10 +02:00

26 lines
878 B
Makefile

################################################################################
#
# sam-ba
#
################################################################################
SAM_BA_VERSION = 3.5
SAM_BA_SITE = https://www.microchip.com/content/dam/mchp/documents/MPU32/ProductDocuments/SoftwareTools
SAM_BA_SOURCE = sam-ba_$(SAM_BA_VERSION)-linux_x86_64.tar.gz
SAM_BA_LICENSE = GPLv2
SAM_BA_LICENSE_FILES = LICENSE.txt
# Since it's a prebuilt application and it does not conform to the
# usual Unix hierarchy, we install it in $(HOST_DIR)/opt/sam-ba and
# then create a symbolic link from $(HOST_DIR)/bin to the
# application binary, for easier usage.
define HOST_SAM_BA_INSTALL_CMDS
mkdir -p $(HOST_DIR)/opt/sam-ba/
cp -a $(@D)/* $(HOST_DIR)/opt/sam-ba/
mkdir -p $(HOST_DIR)/bin/
ln -sf ../opt/sam-ba/sam-ba $(HOST_DIR)/bin/sam-ba
endef
$(eval $(host-generic-package))