arc/xtensa: store the Xtensa overlay in the per-package DL_DIR
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 2 Apr 2018 13:09:25 +0000 (15:09 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 2 Apr 2018 13:59:30 +0000 (15:59 +0200)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arch/arch.mk.xtensa

index 2b6cd26d03de55dee0cccde2efe2cb49d8b98717..fd410f6bface2627c57a0121070ef138d5ce637d 100644 (file)
@@ -12,7 +12,7 @@
 BR_ARCH_XTENSA_OVERLAY_FILE = $(call qstrip,$(BR2_XTENSA_OVERLAY_FILE))
 ifneq ($(filter http://% https://% ftp://% scp://%,$(BR_ARCH_XTENSA_OVERLAY_FILE)),)
 ARCH_XTENSA_OVERLAY_URL = $(BR_ARCH_XTENSA_OVERLAY_FILE)
-ARCH_XTENSA_OVERLAY_FILE = $(DL_DIR)/$(notdir $(BR_ARCH_XTENSA_OVERLAY_FILE))
+ARCH_XTENSA_OVERLAY_FILE = $($(PKG)_DL_DIR)/$(notdir $(BR_ARCH_XTENSA_OVERLAY_FILE))
 # Do not check that file, we can't know its hash
 BR_NO_CHECK_HASH_FOR += $(notdir $(ARCH_XTENSA_OVERLAY_URL))
 else