On 12/14/2008 07:13 PM, Florian Fainelli wrote:

> You should specify the protocol to use, you can have a look at 
> include/Download.mk starting at line 116.
> 
> Something like this should be working :
> 
> define Download/firmware
>   PROTO:=git
>   URL:=git://..../...
> endef

Thanks a lot, this works just fine in the Makefile:

...
FW_SUBDIR:=linux-firmware
FW_ARCHIVE:=linux-firmware.tar.gz
define Download/firmware
# that's the archive file name created in trunk/dl/ from
# this download containing the whole git snapshot
   FILE:=$(FW_ARCHIVE)
   PROTO:=git
   SUBDIR:=$(FW_SUBDIR)
   VERSION:=b66ece11531cc7043bd25dd963c8a58d8d5da2f5
# use http: instead of git: for all users behind restrictive
# firewalls ...
URL:=http://www.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git
endef
$(eval $(call Download,firmware))

Regards,
Jörg.
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to