The sam-ba binary is distributed under a proprietary license. TCL and some
applets code is under a BSD-2c like license, while some other applets are
under BSD-4c.
Also correct license files.
Cc: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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 = BSD-like (partly binary-only)
-SAM_BA_LICENSE_FILES = doc/readme.txt
+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)