Initial Commit
- initial default booting image
This commit is contained in:
10
package/sam-ba/Config.in.host
Normal file
10
package/sam-ba/Config.in.host
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_HOST_SAM_BA
|
||||
bool "host sam-ba"
|
||||
depends on BR2_HOSTARCH = "x86_64"
|
||||
help
|
||||
Atmel SAM-BA software provides an open set of tools for
|
||||
programming the Atmel SAM3, SAM7 and SAM9 ARM-based
|
||||
microcontrollers.
|
||||
|
||||
https://www.linux4sam.org/bin/view/Linux4SAM/SoftwareTools
|
||||
https://www.microchip.com/en-us/development-tool/SAM-BA-IN-SYSTEM-PROGRAMMER
|
||||
3
package/sam-ba/sam-ba.hash
Normal file
3
package/sam-ba/sam-ba.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# sha256 locally computed
|
||||
sha256 d295567701914e21318f4c48ff3a57374c7c91f65f0814158e84bb07dd4d07c2 sam-ba_v3.7-linux_x86_64.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.txt
|
||||
25
package/sam-ba/sam-ba.mk
Normal file
25
package/sam-ba/sam-ba.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# sam-ba
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SAM_BA_VERSION = 3.7
|
||||
SAM_BA_SITE = https://ww1.microchip.com/downloads/aemDocuments/documents/MPU32/ProductDocuments/SoftwareLibraries/Firmware
|
||||
SAM_BA_SOURCE = sam-ba_v$(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))
|
||||
Reference in New Issue
Block a user