update buildroot to 2017.02.11
This commit is contained in:
10
bsp/buildroot-2017.02.11/package/sam-ba/Config.in.host
Normal file
10
bsp/buildroot-2017.02.11/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" || BR2_HOSTARCH = "x86"
|
||||
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
||||
help
|
||||
Atmel SAM-BA software provides an open set of tools for
|
||||
programming the Atmel SAM3, SAM7 and SAM9 ARM-based
|
||||
microcontrollers.
|
||||
|
||||
http://www.at91.com/linux4sam/bin/view/Linux4SAM/SoftwareTools
|
||||
2
bsp/buildroot-2017.02.11/package/sam-ba/sam-ba.hash
Normal file
2
bsp/buildroot-2017.02.11/package/sam-ba/sam-ba.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 302734f53e471b5d1a292c9af937262f4fd766ec47ebfea62439761e7c1cd9d7 sam-ba_2.16_linux.zip
|
||||
32
bsp/buildroot-2017.02.11/package/sam-ba/sam-ba.mk
Normal file
32
bsp/buildroot-2017.02.11/package/sam-ba/sam-ba.mk
Normal file
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# sam-ba
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SAM_BA_SITE = http://www.atmel.com/dyn/resources/prod_documents
|
||||
SAM_BA_VERSION = 2.16
|
||||
SAM_BA_SOURCE = sam-ba_$(SAM_BA_VERSION)_linux.zip
|
||||
SAM_BA_LICENSE = SAM-BA license (sam-ba executable), \
|
||||
BSD-2c like, BSD-4c (TCL and applets code)
|
||||
SAM_BA_LICENSE_FILES = doc/license.txt tcl_lib/boards.tcl \
|
||||
applets/sam4c/libraries/libchip_sam4c/include/sam4c/sam4c32e-1.h
|
||||
|
||||
define HOST_SAM_BA_EXTRACT_CMDS
|
||||
$(UNZIP) -d $(BUILD_DIR) $(DL_DIR)/$(SAM_BA_SOURCE)
|
||||
mv $(BUILD_DIR)/sam-ba_cdc_linux/* $(@D)
|
||||
rmdir $(BUILD_DIR)/sam-ba_cdc_linux/
|
||||
endef
|
||||
|
||||
# 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)/usr/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/
|
||||
ln -sf ../../opt/sam-ba/sam-ba $(HOST_DIR)/usr/bin/sam-ba
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user