]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/dahdi-linux: use package's DL_DIR
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 11 May 2018 16:29:57 +0000 (18:29 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 11 May 2018 19:59:10 +0000 (21:59 +0200)
Since we reworked the download infra, the location for packages to look
for their files has moved to a per-package directory.

For systems where a download of the dahdi firmware files was already
done in a version prior to the rework, all was working fine so far,
because the files were indeed in the main DL directory.

But for systems where the download is first attempted after the rework,
the files are not found (even though they are properly downloaded).

Fix the location where dahdi-linux looks for its extra files.

Reported-by: ***** ***** <zyama.abel@mail.ru>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: ***** ***** <zyama.abel@mail.ru>
Cc: Carlos Santos <casantos@datacom.ind.br>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/dahdi-linux/dahdi-linux.mk

index c042a14e53046105b44194911a2952ae37ee44be..6ac1e88943502dcde215591daa699fc5b0e6b08f 100644 (file)
@@ -56,7 +56,7 @@ DAHDI_LINUX_MODULE_MAKE_OPTS = \
 
 define DAHDI_LINUX_EXTRACT_FW
        $(foreach f,$(DAHDI_LINUX_FW_FILES),\
-               cp $(BR2_DL_DIR)/$(f) $(@D)/drivers/dahdi/firmware/$(f)$(sep))
+               cp $(DAHDI_LINUX_DL_DIR)/$(f) $(@D)/drivers/dahdi/firmware/$(f)$(sep))
 endef
 DAHDI_LINUX_POST_EXTRACT_HOOKS += DAHDI_LINUX_EXTRACT_FW