search for: linux_repo_default

Displaying 1 result from an estimated 1 matches for "linux_repo_default".

2006 May 09
0
[PATCH] build: make linux download more flexible
...63 insertions(+), 11 deletions(-) --- x/Config.mk +++ x/Config.mk @@ -69,7 +69,17 @@ LDFLAGS += $(foreach i, $(EXTRA_LIB), -L CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i)) # Choose the best mirror to download linux kernel -KERNEL_REPO = http://www.kernel.org +DOWNLOAD_PATH_DEFAULT := .:.. +LINUX_REPO_DEFAULT := http://www.kernel.org/pub/linux/kernel/ +ifdef LINUX_SRC_PATH +DOWNLOAD_PATH ?= $(LINUX_SRC_PATH) # Compatibility +else +DOWNLOAD_PATH ?= $(DOWNLOAD_PATH_DEFAULT) +endif +DOWNLOAD_DIR := $(firstword $(subst :, ,$(DOWNLOAD_PATH))) +LINUX_REPO ?= $(LINUX_REPO_DEFAULT) +# LINUX_REPO_KERN...