# Enable this to use the uClibc daily snapshot instead of a released
# version. Daily snapshots may contain new features and bugfixes. Or
# they may not even compile at all, depending on what Erik is doing...
-USE_UCLIBC_SNAPSHOT:=false
+USE_UCLIBC_SNAPSHOT:=true
# Enable this to use the busybox daily snapshot instead of a released
# version. Daily snapshots may contain new features and bugfixes. Or
# Enable large file (files > 2 GB) support
BUILD_WITH_LARGEFILE:=false
+# Command used to download source code
+WGET:=wget --passive-ftp
+
#############################################################
#
# The list of stuff to build for the target filesystem
BASH_TARGET_BINARY:=bin/bash
$(DL_DIR)/$(BASH_SOURCE):
- wget -P $(DL_DIR) $(BASH_SITE)/$(BASH_SOURCE)
+ $(WGET) -P $(DL_DIR) $(BASH_SITE)/$(BASH_SOURCE)
bash-source: $(DL_DIR)/$(BASH_SOURCE)
$(DL_DIR)/$(DB_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(DB_SITE)/$(DB_SOURCE)
+ $(WGET) -P $(DL_DIR) $(DB_SITE)/$(DB_SOURCE)
db-source: $(DL_DIR)/$(DB_SOURCE)
BOA_WORKDIR=$(BUILD_DIR)/boa_workdir
$(DL_DIR)/$(BOA_SOURCE):
- wget -P $(DL_DIR) $(BOA_SITE)/$(BOA_SOURCE)
+ $(WGET) -P $(DL_DIR) $(BOA_SITE)/$(BOA_SOURCE)
$(BOA_DIR)/.unpacked: $(DL_DIR)/$(BOA_SOURCE)
gzip -d -c $(DL_DIR)/$(BOA_SOURCE) | tar -C $(BUILD_DIR) -xvf -
endif
$(DL_DIR)/$(BUSYBOX_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(BUSYBOX_SITE)/$(BUSYBOX_SOURCE)
+ $(WGET) -P $(DL_DIR) $(BUSYBOX_SITE)/$(BUSYBOX_SOURCE)
busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_PATCH)
mknod mv pwd rm rmdir vdir sleep stty sync touch true uname
$(DL_DIR)/$(COREUTILS_SOURCE):
- wget -P $(DL_DIR) $(COREUTILS_SITE)/$(COREUTILS_SOURCE)
+ $(WGET) -P $(DL_DIR) $(COREUTILS_SITE)/$(COREUTILS_SOURCE)
coreutils-source: $(DL_DIR)/$(COREUTILS_SOURCE)
GENEXT2_PATCH=$(SOURCE_DIR)/genext2fs.patch
$(DL_DIR)/$(GENEXT2_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(GENEXT2_SITE)/$(GENEXT2_SOURCE)
+ $(WGET) -P $(DL_DIR) $(GENEXT2_SITE)/$(GENEXT2_SOURCE)
$(GENEXT2_DIR): $(DL_DIR)/$(GENEXT2_SOURCE) $(GENEXT2_PATCH)
zcat $(DL_DIR)/$(GENEXT2_SOURCE) | tar -C $(BUILD_DIR) -xvf -
FINDUTILS_TARGET_BINARY:=usr/bin/find
$(DL_DIR)/$(FINDUTILS_SOURCE):
- wget -P $(DL_DIR) $(FINDUTILS_SITE)/$(FINDUTILS_SOURCE)
+ $(WGET) -P $(DL_DIR) $(FINDUTILS_SITE)/$(FINDUTILS_SOURCE)
findutils-source: $(DL_DIR)/$(FINDUTILS_SOURCE)
GAWK_TARGET_BINARY:=usr/bin/gawk
$(DL_DIR)/$(GAWK_SOURCE):
- wget -P $(DL_DIR) $(GAWK_SITE)/$(GAWK_SOURCE)
+ $(WGET) -P $(DL_DIR) $(GAWK_SITE)/$(GAWK_SOURCE)
gawk-source: $(DL_DIR)/$(GAWK_SOURCE)
GDB_SOURCE:=gdb-5.2.tar.gz
$(DL_DIR)/$(GDB_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(GDB_SITE)/$(GDB_SOURCE)
+ $(WGET) -P $(DL_DIR) $(GDB_SITE)/$(GDB_SOURCE)
$(GDB_DIR)/.unpacked: $(DL_DIR)/$(GDB_SOURCE)
gunzip -c $(DL_DIR)/$(GDB_SOURCE) | tar -C $(BUILD_DIR) -xvf -
LIBGLIB12_BINARY:=libglib-1.2.so.0.0.10
$(DL_DIR)/$(LIBGLIB12_SOURCE):
- wget -P $(DL_DIR) $(LIBGLIB12_SITE)/$(LIBGLIB12_SOURCE)
+ $(WGET) -P $(DL_DIR) $(LIBGLIB12_SITE)/$(LIBGLIB12_SOURCE)
libglib12-source: $(DL_DIR)/$(LIBGLIB12_SOURCE)
LINKS_DIR:=$(BUILD_DIR)/links-0.97pre9-no-ssl
$(DL_DIR)/$(LINKS_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(LINKS_SITE)/$(LINKS_SOURCE)
+ $(WGET) -P $(DL_DIR) $(LINKS_SITE)/$(LINKS_SOURCE)
links-source: $(DL_DIR)/$(LINKS_SOURCE)
GNUMAKE_TARGET_BINARY:=usr/bin/make
$(DL_DIR)/$(GNUMAKE_SOURCE):
- wget -P $(DL_DIR) $(GNUMAKE_SITE)/$(GNUMAKE_SOURCE)
+ $(WGET) -P $(DL_DIR) $(GNUMAKE_SITE)/$(GNUMAKE_SOURCE)
make-source: $(DL_DIR)/$(GNUMAKE_SOURCE)
#
#############################################################
# Copyright (C) 2002 by Ken Restivo <ken@246gt.com>
-# $Id: ncurses.mk,v 1.8 2002/07/23 23:51:46 andersen Exp $
+# $Id: ncurses.mk,v 1.9 2002/11/20 23:16:08 andersen Exp $
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Library General Public License as
NCURSES_SOURCE:=ncurses-5.2.tar.gz
$(DL_DIR)/$(NCURSES_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(NCURSES_SITE)/$(NCURSES_SOURCE)
+ $(WGET) -P $(DL_DIR) $(NCURSES_SITE)/$(NCURSES_SOURCE)
$(NCURSES_DIR)/.dist: $(DL_DIR)/$(NCURSES_SOURCE)
gunzip -c $(DL_DIR)/$(NCURSES_SOURCE) | tar -C $(BUILD_DIR) -xvf -
endif
$(DL_DIR)/$(NEWT_SOURCE):
- wget -P $(DL_DIR) $(NEWT_SITE)/$(NEWT_SOURCE)
+ $(WGET) -P $(DL_DIR) $(NEWT_SITE)/$(NEWT_SOURCE)
$(NEWT_DIR)/.source: $(DL_DIR)/$(NEWT_SOURCE) $(NEWT_PATCH)
zcat $(DL_DIR)/$(NEWT_SOURCE) | tar -C $(BUILD_DIR) -xvf -
OPENSSH_PATCH:=$(SOURCE_DIR)/openssh_3.4p1-4.diff.gz
$(DL_DIR)/$(OPENSSH_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(OPENSSH_SITE)/$(OPENSSH_SOURCE)
+ $(WGET) -P $(DL_DIR) $(OPENSSH_SITE)/$(OPENSSH_SOURCE)
$(OPENSSH_DIR)/.unpacked: $(DL_DIR)/$(OPENSSH_SOURCE)
zcat $(DL_DIR)/$(OPENSSH_SOURCE) | tar -C $(BUILD_DIR) -xvf -
$(DL_DIR)/$(OPENSSL_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(OPENSSL_SITE)/$(OPENSSL_SOURCE)
+ $(WGET) -P $(DL_DIR) $(OPENSSL_SITE)/$(OPENSSL_SOURCE)
$(OPENSSL_DIR)/.unpacked: $(DL_DIR)/$(OPENSSL_SOURCE)
gunzip -c $(DL_DIR)/$(OPENSSL_SOURCE) | tar -C $(BUILD_DIR) -xvf -
SED_TARGET_BINARY:=bin/sed
$(DL_DIR)/$(SED_SOURCE):
- wget -P $(DL_DIR) $(SED_SITE)/$(SED_SOURCE)
+ $(WGET) -P $(DL_DIR) $(SED_SITE)/$(SED_SOURCE)
sed-source: $(DL_DIR)/$(SED_SOURCE)
endif
$(DL_DIR)/$(SLANG_SOURCE):
- wget -P $(DL_DIR) $(SLANG_SITE)/$(SLANG_SOURCE)
+ $(WGET) -P $(DL_DIR) $(SLANG_SITE)/$(SLANG_SOURCE)
$(SLANG_DIR): $(DL_DIR)/$(SLANG_SOURCE)
zcat $(DL_DIR)/$(SLANG_SOURCE) | tar -C $(BUILD_DIR) -xvf -
SOCAT_WORKDIR=$(SOCAT_DIR)
$(DL_DIR)/$(SOCAT_SOURCE):
- wget -P $(DL_DIR) $(SOCAT_SITE)/$(SOCAT_SOURCE)
+ $(WGET) -P $(DL_DIR) $(SOCAT_SITE)/$(SOCAT_SOURCE)
$(SOCAT_DIR)/.unpacked: $(DL_DIR)/$(SOCAT_SOURCE)
bzip2 -d -c $(DL_DIR)/$(SOCAT_SOURCE) | tar -C $(BUILD_DIR) -xvf -
STLPORT_PATCH=$(SOURCE_DIR)/STLport-4.5.3.patch
$(DL_DIR)/$(STLPORT_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(STLPORT_SITE)/$(STLPORT_SOURCE)
+ $(WGET) -P $(DL_DIR) $(STLPORT_SITE)/$(STLPORT_SOURCE)
stlport-source: $(DL_DIR)/$(STLPORT_SOURCE) $(STLPORT_PATCH)
# Maintainer: Ken Restivo <ken@246gt.com>
#
#############################################################
-#$Id: strace.mk,v 1.2 2002/05/31 10:43:51 andersen Exp $
+#$Id: strace.mk,v 1.3 2002/11/20 23:16:09 andersen Exp $
# TARGETS
STRACE_SITE:=http://telia.dl.sourceforge.net/sourceforge/strace
STRACE_DIR:=$(BUILD_DIR)/strace-4.4
$(DL_DIR)/$(STRACE_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(STRACE_SITE)/$(STRACE_SOURCE)
+ $(WGET) -P $(DL_DIR) $(STRACE_SITE)/$(STRACE_SOURCE)
strace-source: $(DL_DIR)/$(STRACE_SOURCE)
TINYLOGIN_SITE:=http://tinylogin.busybox.net/downloads
$(DL_DIR)/$(TINYLOGIN_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(TINYLOGIN_SITE)/$(TINYLOGIN_SOURCE)
+ $(WGET) -P $(DL_DIR) $(TINYLOGIN_SITE)/$(TINYLOGIN_SOURCE)
tinylogin-source: $(DL_DIR)/$(TINYLOGIN_SOURCE)
endif
$(DL_DIR)/$(UCLIBC_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(UCLIBC_SITE)/$(UCLIBC_SOURCE)
+ $(WGET) -P $(DL_DIR) $(UCLIBC_SITE)/$(UCLIBC_SOURCE)
uclibc-source: $(DL_DIR)/$(UCLIBC_SOURCE) #$(UCLIBC_PATCH)
#
#############################################################
$(DL_DIR)/$(BINUTILS_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(BINUTILS_SITE)/$(BINUTILS_SOURCE)
+ $(WGET) -P $(DL_DIR) $(BINUTILS_SITE)/$(BINUTILS_SOURCE)
$(BINUTILS_DIR)/.unpacked: $(BUILD_DIR)/.setup $(DL_DIR)/$(BINUTILS_SOURCE)
bzcat $(DL_DIR)/$(BINUTILS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
#
#############################################################
$(DL_DIR)/$(GCC_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(GCC_SITE)/$(GCC_SOURCE)
+ $(WGET) -P $(DL_DIR) $(GCC_SITE)/$(GCC_SOURCE)
$(GCC_DIR)/.unpacked: $(BUILD_DIR)/.setup $(DL_DIR)/$(GCC_SOURCE)
zcat $(DL_DIR)/$(GCC_SOURCE) | tar -C $(BUILD_DIR) -xvf -
#
#############################################################
$(DL_DIR)/$(UCLIBC_SOURCE):
- wget -P $(DL_DIR) $(UCLIBC_SITE)/$(UCLIBC_SOURCE)
+ $(WGET) -P $(DL_DIR) $(UCLIBC_SITE)/$(UCLIBC_SOURCE)
$(UCLIBC_DIR)/.unpacked: $(BUILD_DIR)/.setup $(DL_DIR)/$(UCLIBC_SOURCE)
bzcat $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(BUILD_DIR) -xvf -
UDHCP_DIR:=$(BUILD_DIR)/udhcp-0.9.8
$(DL_DIR)/$(UDHCP_SOURCE):
- wget -P $(DL_DIR) $(UDHCP_SITE)/$(UDHCP_SOURCE)
+ $(WGET) -P $(DL_DIR) $(UDHCP_SITE)/$(UDHCP_SOURCE)
udhcp-source: $(DL_DIR)/$(UDHCP_SOURCE)
UMLINUX_KCONFIG=$(SOURCE_DIR)/linux-uml.config
$(DL_DIR)/$(UMLINUX_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(UMLINUX_SITE)/$(UMLINUX_SOURCE)
+ $(WGET) -P $(DL_DIR) $(UMLINUX_SITE)/$(UMLINUX_SOURCE)
$(DL_DIR)/$(UMLINUX_PATCH_1):
- wget -P $(DL_DIR) --passive-ftp $(UMLINUX_PATCH_1_SITE)/$(UMLINUX_PATCH_1)
+ $(WGET) -P $(DL_DIR) $(UMLINUX_PATCH_1_SITE)/$(UMLINUX_PATCH_1)
user-mode-linux-source: $(DL_DIR)/$(UMLINUX_SOURCE) $(DL_DIR)/$(UMLINUX_PATCH_1)
VALGRIND_PATCH:=$(SOURCE_DIR)/valgrind.patch
$(DL_DIR)/$(VALGRIND_SOURCE):
- wget -P $(DL_DIR) --passive-ftp $(VALGRIND_SITE)/$(VALGRIND_SOURCE)
+ $(WGET) -P $(DL_DIR) $(VALGRIND_SITE)/$(VALGRIND_SOURCE)
$(VALGRIND_DIR)/.unpacked: $(DL_DIR)/$(VALGRIND_SOURCE)
bzcat $(DL_DIR)/$(VALGRIND_SOURCE) | tar -C $(BUILD_DIR) -xvf -
endif
$(DL_DIR)/$(ZLIB_SOURCE):
- wget -P $(DL_DIR) $(ZLIB_SITE)/$(ZLIB_SOURCE)
+ $(WGET) -P $(DL_DIR) $(ZLIB_SITE)/$(ZLIB_SOURCE)
$(ZLIB_DIR)/.source: $(DL_DIR)/$(ZLIB_SOURCE)
bzcat $(DL_DIR)/$(ZLIB_SOURCE) | tar -C $(BUILD_DIR) -xvf -