|
@ -16,12 +16,12 @@ KERNEL_DIR=$(BASE_DIR)/linux-$(VERSION) |
|
|
KERNEL_SOURCE=linux-$(VERSION).tar.bz2 |
|
|
KERNEL_SOURCE=linux-$(VERSION).tar.bz2 |
|
|
KERNEL_1_SITE=http://www.uk.kernel.org/pub/linux/kernel/v2.4 http://www.us.kernel.org/pub/linux/kernel/v2.4 http://www.au.kernel.org/pub/linux/kernel/v2.4 http://www.at.kernel.org/pub/linux/kernel/v2.4 http://www.br.kernel.org/pub/linux/kernel/v2.4 http://www.hr.kernel.org/pub/linux/kernel/v2.4 http://www.fr.kernel.org/pub/linux/kernel/v2.4 http://www.de.kernel.org/pub/linux/kernel/v2.4 http://www.il.kernel.org/pub/linux/kernel/v2.4 http://www.kr.kernel.org/pub/linux/kernel/v2.4 |
|
|
KERNEL_1_SITE=http://www.uk.kernel.org/pub/linux/kernel/v2.4 http://www.us.kernel.org/pub/linux/kernel/v2.4 http://www.au.kernel.org/pub/linux/kernel/v2.4 http://www.at.kernel.org/pub/linux/kernel/v2.4 http://www.br.kernel.org/pub/linux/kernel/v2.4 http://www.hr.kernel.org/pub/linux/kernel/v2.4 http://www.fr.kernel.org/pub/linux/kernel/v2.4 http://www.de.kernel.org/pub/linux/kernel/v2.4 http://www.il.kernel.org/pub/linux/kernel/v2.4 http://www.kr.kernel.org/pub/linux/kernel/v2.4 |
|
|
|
|
|
|
|
|
PATCH_1_SITE=http://uml.stearns.org/mirror http://uml-pub.ists.dartmouth.edu/uml http://ftp.nl.linux.org/pub/uml http://mirror.math.leidenuniv.nl/uml-pub.ists.dartmouth.edu |
|
|
PATCH_1_SITE=http://jdike.stearns.org/mirror http://uml-pub.ists.dartmouth.edu/uml http://ftp.nl.linux.org/pub/uml http://mirror.math.leidenuniv.nl/uml-pub.ists.dartmouth.edu |
|
|
PATCH_1=uml-patch-$(VERSION)-$(PATCH_VERSION).bz2 |
|
|
PATCH_1=uml-patch-$(VERSION)-$(PATCH_VERSION).bz2 |
|
|
PATCH_2=$(BASE_DIR)/user-mode-linux/usr/lib/uml/cramfs-vfs-order.patch |
|
|
PATCH_2=$(BASE_DIR)/user-mode-linux/usr/lib/uml/cramfs-vfs-order.patch |
|
|
MODE=tt |
|
|
#MODE=tt
|
|
|
KCONFIG_FILE=config |
|
|
KCONFIG_FILE=config |
|
|
KCONFIG=$(BASE_DIR)/user-mode-linux/usr/lib/uml/${KCONFIG_FILE} |
|
|
KCONFIG=$(BASE_DIR)/user-mode-linux/usr/lib/uml/$(KCONFIG_FILE) |
|
|
|
|
|
|
|
|
# Genext2fs
|
|
|
# Genext2fs
|
|
|
GENEXT2_DIR=$(BASE_DIR)/genext2fs |
|
|
GENEXT2_DIR=$(BASE_DIR)/genext2fs |
|
@ -39,7 +39,8 @@ sources: |
|
|
@if [ ! -e $(SOURCE_DIR)/$(KERNEL_SOURCE) ] ; then \
|
|
|
@if [ ! -e $(SOURCE_DIR)/$(KERNEL_SOURCE) ] ; then \
|
|
|
while [ ! -f $(SOURCE_DIR)/$(KERNEL_SOURCE) ] ; do \
|
|
|
while [ ! -f $(SOURCE_DIR)/$(KERNEL_SOURCE) ] ; do \
|
|
|
for URL in $(KERNEL_1_SITE) ; do \
|
|
|
for URL in $(KERNEL_1_SITE) ; do \
|
|
|
if [ ! -f $(SOURCE_DIR)/$(KERNEL_SOURCE) ] ; then \ wget -t1 -P $(SOURCE_DIR) --passive $$URL/$(KERNEL_1_SITE) ; \
|
|
|
if [ ! -f $(SOURCE_DIR)/$(KERNEL_SOURCE) ] ; then \
|
|
|
|
|
|
wget -t1 -P $(SOURCE_DIR) --passive $$URL/$(KERNEL_SOURCE) ; \
|
|
|
fi; \
|
|
|
fi; \
|
|
|
done; \
|
|
|
done; \
|
|
|
done; \
|
|
|
done; \
|
|
@ -47,7 +48,8 @@ sources: |
|
|
@if [ ! -e $(SOURCE_DIR)/$(UTILITIES) ] ; then \
|
|
|
@if [ ! -e $(SOURCE_DIR)/$(UTILITIES) ] ; then \
|
|
|
while [ ! -f $(SOURCE_DIR)/$(UTILITIES) ] ; do \
|
|
|
while [ ! -f $(SOURCE_DIR)/$(UTILITIES) ] ; do \
|
|
|
for URL in $(PATCH_1_SITE) ; do \
|
|
|
for URL in $(PATCH_1_SITE) ; do \
|
|
|
if [ ! -f $(SOURCE_DIR)/$(UTILITIES) ] ; then \ wget -t2 -P $(SOURCE_DIR) --passive $$URL/$(UTILITIES) ; \
|
|
|
if [ ! -f $(SOURCE_DIR)/$(UTILITIES) ] ; then \
|
|
|
|
|
|
wget -t2 -P $(SOURCE_DIR) --passive $$URL/$(UTILITIES) ; \
|
|
|
fi; \
|
|
|
fi; \
|
|
|
done; \
|
|
|
done; \
|
|
|
done; \
|
|
|
done; \
|
|
@ -58,7 +60,8 @@ sources: |
|
|
@if [ ! -e $(SOURCE_DIR)/$(PATCH_1) ] ; then \
|
|
|
@if [ ! -e $(SOURCE_DIR)/$(PATCH_1) ] ; then \
|
|
|
while [ ! -f $(SOURCE_DIR)/$(PATCH_1) ] ; do \
|
|
|
while [ ! -f $(SOURCE_DIR)/$(PATCH_1) ] ; do \
|
|
|
for URL in $(PATCH_1_SITE) ; do \
|
|
|
for URL in $(PATCH_1_SITE) ; do \
|
|
|
if [ ! -f $(SOURCE_DIR)/$(PATCH_1) ] ; then \ wget -t2 -P $(SOURCE_DIR) --passive $$URL/$(PATCH_1) ; \
|
|
|
if [ ! -f $(SOURCE_DIR)/$(PATCH_1) ] ; then \
|
|
|
|
|
|
wget -t2 -P $(SOURCE_DIR) --passive $$URL/$(PATCH_1) ; \
|
|
|
fi; \
|
|
|
fi; \
|
|
|
done; \
|
|
|
done; \
|
|
|
done; \
|
|
|
done; \
|
|
|