define LINUX_DOWNLOAD_PATCHES
$(if $(LINUX_PATCHES),
@$(call MESSAGE,"Download additional patches"))
- $(foreach patch,$(filter ftp://% http://%,$(LINUX_PATCHES)),\
+ $(foreach patch,$(filter ftp://% http://% https://%,$(LINUX_PATCHES)),\
$(call DOWNLOAD,$(patch))$(sep))
endef
define LINUX_APPLY_PATCHES
for p in $(LINUX_PATCHES) ; do \
- if echo $$p | grep -q -E "^ftp://|^http://" ; then \
+ if echo $$p | grep -q -E "^ftp://|^http://|^https://" ; then \
$(APPLY_PATCHES) $(@D) $(DL_DIR) `basename $$p` ; \
elif test -d $$p ; then \
$(APPLY_PATCHES) $(@D) $$p linux-\*.patch ; \