sam-ba: use HOST_SAM_BA_DL_DIR instead of SAM_BA_DL_DIR
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 2 Apr 2018 18:00:25 +0000 (20:00 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 2 Apr 2018 18:00:25 +0000 (20:00 +0200)
The infrastructure only provides HOST_SAM_BA_DL_DIR, because this
package is host only. Ideally the infra should provide SAM_BA_DL_DIR,
but it doesn't currently, and that requires more significant changes.

Fixes:

  http://autobuild.buildroot.net/results/a7c76138a1cf068868904acb6678403e3b25fcb3/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/sam-ba/sam-ba.mk

index acc03a3b6b0834c4d3c828df8de4bdce2b5d1431..11dbb7eef0a41c5be168d9d56c23a46f61b29e27 100644 (file)
@@ -13,7 +13,7 @@ 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) $(SAM_BA_DL_DIR)/$(SAM_BA_SOURCE)
+       $(UNZIP) -d $(BUILD_DIR) $(HOST_SAM_BA_DL_DIR)/$(SAM_BA_SOURCE)
        mv $(BUILD_DIR)/sam-ba_cdc_linux/* $(@D)
        rmdir $(BUILD_DIR)/sam-ba_cdc_linux/
 endef