pkg-download.mk: Add missing argument when downloading from primary mirror
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 25 Apr 2012 01:45:16 +0000 (01:45 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 5 May 2012 21:55:42 +0000 (23:55 +0200)
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/pkg-download.mk

index ccf819e3ddb19c641b70490ed1a4be99227450f4..b833de9e0e4a7090402281bbec7dc6ef5c572dd0 100644 (file)
@@ -207,7 +207,7 @@ define DOWNLOAD_INNER
        $(Q)if test -n "$(call qstrip,$(BR2_PRIMARY_SITE))" ; then \
                case "$(call geturischeme,$(BR2_PRIMARY_SITE))" in \
                        scp) $(call $(DL_MODE)_SCP,$(BR2_PRIMARY_SITE),$(2)) && exit ;; \
-                       *) $(call $(DL_MODE)_WGET,$(BR2_PRIMARY_SITE),$(2)) && exit ;; \
+                       *) $(call $(DL_MODE)_WGET,$(BR2_PRIMARY_SITE)/$(2),$(2)) && exit ;; \
                esac ; \
        fi ; \
        if test -n "$(1)" ; then \