summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2003-10-26 20:39:11 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2003-10-26 20:39:11 +0000
commit91bb744295d8752686c9afc58e8d234749214593 (patch)
tree0b48d89ad142056cd2964c2c5fbab1f0add31674
parent18238577cb5c92a946c311358bb6bd91ea2bc2a4 (diff)
downloadptxdist-91bb744295d8752686c9afc58e8d234749214593.tar.gz
ptxdist-91bb744295d8752686c9afc58e8d234749214593.tar.xz
* moved configuration....
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunk@660 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r--config/Config.in1431
-rw-r--r--rules/bash.in115
-rw-r--r--rules/busybox.in9
-rw-r--r--rules/cramfs.in3
-rw-r--r--rules/cross-toolchain.in35
-rw-r--r--rules/debug.in35
-rw-r--r--rules/dropbear.in2
-rw-r--r--rules/e2fsprogs.in17
-rw-r--r--rules/experimental.in9
-rw-r--r--rules/flash.in7
-rw-r--r--rules/gdb.in1
-rw-r--r--rules/genext2fs.in1
-rw-r--r--rules/grub.in53
-rw-r--r--rules/inetutils.in7
-rw-r--r--rules/kaffe.in228
-rw-r--r--rules/kernel.in332
-rw-r--r--rules/libc.in55
-rw-r--r--rules/lilo.in3
-rw-r--r--rules/lsh.in42
-rw-r--r--rules/mtd.in103
-rw-r--r--rules/net-sec.in13
-rw-r--r--rules/netcat.in7
-rw-r--r--rules/nfs-utils.in92
-rw-r--r--rules/nmap.in7
-rw-r--r--rules/openssh.in18
-rw-r--r--rules/openssl.in11
-rw-r--r--rules/pdksh.in42
-rw-r--r--rules/portmap.in12
-rw-r--r--rules/ppp.in32
-rw-r--r--rules/proftpd.in27
-rw-r--r--rules/rootfs.in47
-rw-r--r--rules/rtai.in327
-rw-r--r--rules/shorewall.in7
-rw-r--r--rules/target.in291
-rw-r--r--rules/tcpwrapper.in12
-rw-r--r--rules/uclibc.in51
-rw-r--r--rules/utelnetd.in7
37 files changed, 1720 insertions, 1771 deletions
diff --git a/config/Config.in b/config/Config.in
index ec6738893..fcaf0f569 100644
--- a/config/Config.in
+++ b/config/Config.in
@@ -12,1441 +12,97 @@ config PTXCONF
This is the Pengutronix Distribution Build System. A better name
for the Projest still has to be found.
-menu "Code maturity "
-
- config EXP
- bool "Support experimental Stuff"
-
- config EXP_M
- bool "Support even more experimental Suff"
- depends on EXP
-endmenu
+source "rules/experimental.in"
##############################################################################
comment "General Options --- "
##############################################################################
-menu "Target Options "
-
-choice
- prompt "CPU Architecture "
-
- config ARCH_ARM
- bool "ARM"
- help
- This is support for the ARM processor architecture.
-
- config ARCH_ARM_NOMMU
- bool "ARM-nommu"
- depends on EXP_M
- help
- This is support for the ARM processor architecture w/o MMU.
-
- config ARCH_X86
- bool "X86"
- help
- This is support for the Intel x86 architecture.
-
- config ARCH_PPC
- bool "PPC"
-
- config ARCH_SPARC
- bool "SPARC"
- depends on EXP
-
- config ARCH_MIPS
- bool "MIPS"
- depends on EXP
-
- config ARCH_CRIS
- depends on EXP_M
- bool "CRIS"
-
- config ARCH_PARISC
- depends on EXP_M
- bool "PARISC"
-
- config ARCH_SH
- depends on EXP_M
- bool "SuperH"
-endchoice
-
-choice
- prompt "ARM architecture"
- depends on ARCH_ARM || ARCH_ARM_NOMMU
-
- config ARM_ARCH_PXA
- bool "pxa (little endian)"
- depends on ARCH_ARM
-
- config ARM_ARCH_EPXA
- bool "Excalibur (little endian)"
- depends on ARCH_ARM
-
- config ARM_ARCH_SA1100
- bool "sa1100 (little endian)"
- depends on ARCH_ARM
-
- config ARM_ARCH_IXP2000
- bool "ixp2000 (big endian)"
- depends on ARCH_ARM && EXP_M
-
- config ARM_ARCH_NETARM
- bool "net+arm (little endian)"
- depends on ARCH_ARM_NOMMU
-
- config ARM_ARCH_ATMEL
- bool "atmel (little endian)"
- depends on ARCH_ARM_NOMMU
-
-endchoice
-
-config ARM_ARCH
- string
- default "pxa" if ARM_ARCH_PXA
- default "sa1100" if ARM_ARCH_SA1100
- default "netarm" if ARM_ARCH_NETARM
- default "atmel" if ARM_ARCH_ATMEL
- default "ixp2000" if ARM_ARCH_IXP2000
- default "epxa" if ARM_ARCH_EPXA
-
-config ARM_ARCH_BE
- bool
- default y if ARM_ARCH_IXP2000
-
-config ARM_ARCH_LE
- bool
- default y if ARM_ARCH_PXA || ARM_ARCH_SA1100 || ARM_ARCH_NETARM || ARM_ARCH_ATMEL
-
-choice
- prompt "MIPS architecture"
- depends on ARCH_MIPS
-
- config MIPS_ARCH_BE
- bool "mips (big endian)"
-
- config MIPS_ARCH_LE
- bool "mipsel (little endian)"
-endchoice
-
-choice
- prompt "SuperH architecture"
- depends on ARCH_SH
-
- config SH_ARCH_SH3
- bool "SH3"
-
- config SH_ARCH_SH4
- bool "SH4"
-endchoice
-
-choice
- prompt "Code Optimization"
-
- config OPT_ARM
- bool "generic arm"
- depends on ARCH_ARM
- config OPT_ARM_NOMMU
- bool "generic arm (w/o MMU)"
- depends on ARCH_ARM_NOMMU
-
- config OPT_I386
- bool "386"
- depends on ARCH_X86
- config OPT_I486
- bool "486"
- depends on ARCH_X86
- config OPT_I586
- bool "586"
- depends on ARCH_X86
- config OPT_I686
- bool "686"
- depends on ARCH_X86
-
- config OPT_PPC
- bool "generic PPC"
- depends on ARCH_PPC
- config OPT_PPC405
- bool "PPC 405"
- depends on ARCH_PPC
- config OPT_PPC750
- bool "PPC 750"
- depends on ARCH_PPC
- config OPT_PPC7450
- bool "PPC 7450"
- depends on ARCH_PPC
-
- config OPT_SPARC
- bool "generic sparc"
- depends on ARCH_SPARC
-
- config OPT_MIPS
- bool "generic mips (big endian)"
- depends on MIPS_ARCH_BE
- config OPT_MIPSEL
- bool "generic mipsel (little endian)"
- depends on MIPS_ARCH_LE
-
- config OPT_CRIS
- bool "generic cris"
- depends on ARCH_CRIS
-
- config OPT_PARISC
- bool "generic parisc"
- depends on ARCH_PARISC
-
- config OPT_SH3
- bool "generic SH3"
- depends on SH_ARCH_SH3
-
- config OPT_SH4
- bool "generic SH4"
- depends on SH_ARCH_SH4
-endchoice
-
-comment "---"
-
-config TARGET_EXTRA_CFLAGS
- string
- prompt "Extra CFLAGS (c)"
-
-config TARGET_EXTRA_CXXFLAGS
- string
- prompt "Extra CXXFLAGS (c++)"
-
-config TARGET_CONFIG_FILE
- string
- prompt "Name of architecture config file in $PTXDIST/config/arch"
- default "arm.dat" if ARCH_ARM
- default "ix86.dat" if ARCH_X86
- default "powerpc.dat" if OPT_PPC
- default "powerpc-405.dat" if OPT_PPC405
- default "powerpc-750.dat" if OPT_PPC750
- default "powerpc-7450.dat" if OPT_PPC7450
- default "sparc.dat" if ARCH_SPARC
- default "mips.dat" if MIPS_ARCH_BE
- default "mipsel.dat" if MIPS_ARCH_LE
- default "cris.dat" if ARCH_CRIS
- default "hppa.dat" if ARCH_PARISC
- default "sh3.dat" if SH_ARCH_SH3
- default "sh4.dat" if SH_ARCH_SH4
-
-comment "---"
-
-config ARCH_NOMMU
- bool
- default y if ARCH_ARM_NOMMU
-
-config ARCH
- string
- default "arm" if ARCH_ARM
- default "armnommu" if ARCH_ARM_NOMMU
- default "i386" if ARCH_X86
- default "ppc" if ARCH_PPC
- default "sparc" if ARCH_SPARC
- default "mips" if ARCH_MIPS
- default "mips" if ARCH_MIPSEL
- default "cris" if ARCH_CRIS
- default "parisc" if ARCH_PARISC
- default "sh" if ARCH_SH
-
-config ARCH_USERSPACE
- string
- default "arm" if ARCH_ARM
- default "arm" if ARCH_ARM_NOMMU
- default "i386" if ARCH_X86
- default "powerpc" if ARCH_PPC
- default "sparc" if ARCH_SPARC
- default "mips" if ARCH_MIPS
- default "mips" if ARCH_MIPSEL
- default "cris" if ARCH_CRIS
- default "hppa" if ARCH_PARISC
- default "sh" if ARCH_SH
-
-config ARM_PROC
- string
- default "armv" if ARCH_ARM || ARCH_ARM_NOMMU
-
-config GNU_TARGET
- string
- default "arm-linux" if ARM_ARCH_LE && GLIBC
- default "armb-unknown-linux-gnu" if ARM_ARCH_BE && GLIBC
- default "arm-elf" if ARCH_ARM_NOMMU && GLIBC
- default "i386-linux" if OPT_I386 && GLIBC
- default "i486-linux" if OPT_I486 && GLIBC
- default "i586-linux" if OPT_I586 && GLIBC
- default "i686-linux" if OPT_I686 && GLIBC
- default "powerpc-linux" if OPT_PPC && GLIBC
- default "powerpc-405-linux-gnu" if OPT_PPC405 && GLIBC
- default "powerpc-750-linux-gnu" if OPT_PPC750 && GLIBC
- default "powerpc-7450-linux-gnu" if OPT_PPC4750 && GLIBC
- default "sparc-linux" if OPT_SPARC && GLIBC
- default "mips-linux" if MIPS_ARCH_BE && GLIBC
- default "mipsel-linux" if MIPS_ARCH_LE && GLIBC
- default "cris-linux" if ARCH_CRIS && GLIBC
- default "hppa-linux" if ARCH_PARISC && GLIBC
- default "sh3-linux" if SH_ARCH_SH3 && GLIBC
- default "sh4-linux" if SH_ARCH_SH4 && GLIBC
-
- default "arm-uclibc-linux-gnu" if ARM_ARCH_LE && UCLIBC
- default "armb-uclibc-linux-gnu" if ARM_ARCH_BE && UCLIBC
- default "arm-elf" if ARCH_ARM_NOMMU && UCLIBC
- default "i386-uclibc-linux-gnu" if OPT_I386 && UCLIBC
- default "i486-uclibc-linux-gnu" if OPT_I486 && UCLIBC
- default "i586-uclibc-linux-gnu" if OPT_I586 && UCLIBC
- default "i686-uclibc-linux-gnu" if OPT_I686 && UCLIBC
- default "powerpc-uclibc-linux-gnu" if OPT_PPC && UCLIBC
- default "powerpc-405_uclibc-linux-gnu" if OPT_PPC405 && UCLIBC
- default "powerpc-750_uclibc-linux-gnu" if OPT_PPC750 && UCLIBC
- default "powerpc-7450_uclibc-linux-gnu" if OPT_PPC7450 && UCLIBC
- default "sparc-uclibc-linux-gnu" if OPT_SPARC && UCLIBC
- default "mips-uclibc-linux-gnu" if MIPS_ARCH_BE && UCLIBC
- default "mipsel-uclibc-linux-gnu" if MIPS_ARCH_LE && UCLIBC
- default "cris-uclibc-linux-gnu" if ARCH_CRIS && UCLIBC
- default "hppa-uclibc-linux-gnu" if ARCH_PARISC && UCLIBC
- default "sh3-uclibc-linux-gnu" if SH_ARCH_SH3 && UCLIBC
- default "sh4-uclibc-linux-gnu" if SH_ARCH_SH4 && UCLIBC
-
-config PREFIX
- prompt "Prefix for development environment"
- string
- default "/tmp/ptxdist-local"
-
-config ROOT
- prompt "Prefix for root filesystem"
- string
-
-endmenu
-
-# ----------------------------------------------------------------------------
-
-menu "Cross Toolchain "
-
-config BUILD_CROSSCHAIN
- bool
- prompt "Build Cross Toolchain"
- default y
-
-choice
- prompt "GCC (GNU Compiler Collection) Version"
- default GCC_3_2_3 if ARCH_X86
- depends on BUILD_CROSSCHAIN
-
- config GCC_2_95_3
- bool
- prompt "2.95.3"
- depends on ARCH_X86 || ARCH_ARM || ARCH_ARM_NOMMU || ARCH_SPARC
-
- config GCC_3_2_3
- bool
- prompt "3.2.3"
- depends on ARCH_X86 || ARCH_PPC || ARCH_SPARC || ARCH_MIPS || ARCH_CRIS || ARCH_PARISC || ARCH_SH
-endchoice
-
-config NASM
- bool
- prompt "x86 NASM"
- depends on ARCH_X86
-
-config XCHAIN-SCONS
- bool
- prompt "Build scons"
- default n
-
-endmenu
-
-# ----------------------------------------------------------------------------
-
-menu "Root Filesystem "
-
-config ROOTFS_PROC
- bool
- prompt "Create /proc"
- default y
-
-config ROOTFS_DEV
- bool
- prompt "Create /dev"
- default y
-
-config ROOTFS_MNT
- bool
- prompt "Create /mnt"
- default y
-
-config ROOTFS_FLOPPY
- bool
- prompt "Create /floppy"
- default y
-
-config ROOTFS_TMP
- bool
- prompt "Create /tmp"
- default y
-
-config ROOTFS_HOME
- bool
- prompt "Create /home"
- default y
-
-config ROOTFS_VAR
- bool
- prompt "Create /var"
- default y
-
-config VENDORTWEAKS
- string
- prompt "Run vendor Makefile at the end of build"
- help
- At the end of the build the target vendor-tweaks.targetinstall
- is run from the Makefile you specify here. The name you give
- here is searched in rules/vendor-tweaks; this is normally a
- *.make file.
-
-endmenu
-
-# ----------------------------------------------------------------------------
-
-menu "Debugging Tools "
-
-# gdb
-source "rules/gdb.in"
-
-config KSYMOOPS
- bool
- prompt "ksymoops"
- default n
-
-config LTT
- bool
- prompt "Linux Trace Toolkit (LTT)"
- default n
-
-config LIBBFD
- bool
- prompt "libbfd on target (needed for profiling)"
- default n
-
-config OPROFILE
- bool
- prompt "oprofile"
- default n
-
-config STRACE
- bool
- prompt "strace"
- default n
-
-config STRACE_SHARED
- bool "build shared"
- default y
- depends on STRACE
-
-endmenu
-
+source "rules/target.in"
+source "rules/cross-toolchain.in"
+source "rules/rootfs.in"
+source "rules/debug.in"
##############################################################################
comment "Core System --- "
##############################################################################
-menu "Kernel "
-
source "rules/kernel.in"
-
-endmenu
-
-# ----------------------------------------------------------------------------
-
-menu "C Library "
-
source "rules/libc.in"
-endmenu
-
##############################################################################
comment "Core Tools --- "
##############################################################################
-menu "Pdksh "
-
-config PDKSH
- bool
- prompt "Pdksh"
-
-config PDKSH_SHLIKE
- bool
- prompt "Enable minimal sh like configuration"
- depends on PDKSH
-
-config PDKSH_POSIX
- bool
- prompt "Enable POSIX behaviour"
- depends on PDKSH
-
-config PDKSH_EMACS
- bool
- prompt "Enable emacs style line editing"
- depends on PDKSH
-
-config PDKSH_VI
- bool
- prompt "Enable vi style line editing"
- depends on PDKSH
-
-config PDKSH_CMDHISTORY
- bool
- prompt "Turn on command history"
- depends on PDKSH
-
-config PDKSH_JOBS
- bool
- prompt "Enable job control features"
- depends on PDKSH
-
-config PDKSH_BRACE_EXPAND
- bool
- prompt "Enable ksh brace expansion"
- depends on PDKSH
-
-endmenu
-
-menu "Bash "
-
-config BASH
- bool
- prompt "Bash"
-
-config BASH_SHLIKE
- bool
- prompt "Enable minimal sh like configuration"
- depends on BASH
-
-config BASH_ALIASES
- bool
- prompt "Enable aliases"
- depends on BASH
-
-#config BASH_ARITHMETIC_FOR
-# bool
-# prompt "Enable arithmetic for command"
-# depends on BASH
-# help "This does currently (bash-2.05b) not work properly and is deactivated in bash.make!"
-
-config BASH_ARRAY
- bool
- prompt "Include shell array variables"
- depends on BASH
-
-config BASH_HISTORY
- bool
- prompt "Turn on csh-style history substitution"
- depends on BASH
-
-config BASH_BRACE
- bool
- prompt "Include brace expansion"
- depends on BASH
-
-#config BASH_CONDITIONAL
-# bool
-# prompt "Enable the conditional command"
-# depends on BASH
-# help "This does currently (bash-2.05b) not work properly and is deactivated in bash.make!"
-
-config BASH_DIRSTACK
- bool
- prompt "Enable builtins pushd/popd/dirs"
- depends on BASH
-
-#config BASH_EXTPATTERN
-# bool
-# prompt "Include ksh-style extended pattern matching"
-# depends on BASH
-# help "This does currently (bash-2.05b) not work properly and is deactivated in bash.make!"
-
-config BASH_HELP
- bool
- prompt "Include the help builtin"
- depends on BASH
-
-config BASH_CMDHISTORY
- bool
- prompt "Turn on command history"
- depends on BASH
-
-config BASH_JOBS
- bool
- prompt "Enable job control features"
- depends on BASH
-
-config BASH_LARGEFILES
- bool
- prompt "Enable support for large files"
- depends on BASH
-
-config BASH_PROCSUBST
- bool
- prompt "Enable process substitution"
- depends on BASH
-
-config BASH_COMPLETION
- bool
- prompt "Enable programmable completion"
- depends on BASH
-
-config BASH_ESC
- bool
- prompt "Turn on escape character decoding in prompts"
- depends on BASH
-
-config BASH_EDIT
- bool
- prompt "Turn on command line editing"
- depends on BASH
-
-config BASH_RESTRICTED
- bool
- prompt "Enable a restricted shell"
- depends on BASH
-
-config BASH_SELECT
- bool
- prompt "Include select command"
- depends on BASH
-
-config BASH_GPROF
- bool
- prompt "Allow profiling with gprof"
- depends on BASH
-
-config BASH_STATIC
- bool
- prompt "Link bash statically"
- depends on BASH
-
-endmenu
-
-# ----------------------------------------------------------------------------
-
-menu "BusyBox "
-
-config BUSYBOX
- bool
- prompt "Compile Busybox"
-
-source "config/busybox-1.0.0-pre3/sysdeps/linux/Config.in"
-
-endmenu
-
-# ----------------------------------------------------------------------------
-
-#menu "TinyLogin "
-
-#config TINYLOGIN
-# bool
-# prompt "Compile Tinylogin"
-#endmenu
-
-# ----------------------------------------------------------------------------
-
-menu "MTD Tools "
-
-config MTD_XCHAIN
- bool "Compile MTD Utilities (for host)"
-
-config MTD_XCHAIN_MKJFFS
- bool "mkfs.jffs"
- depends on MTD_XCHAIN
-
-config MTD_XCHAIN_MKJFFS2
- bool "mkfs.jffs2"
- depends on MTD_XCHAIN
-
-config MTD_UTILS
- bool
- prompt "Compile MTD Utilities (for target)"
-
-config MTD_EINFO
- bool
- prompt "einfo"
- depends on MTD_UTILS
-
-config MTD_ERASE
- bool
- prompt "erase"
- depends on MTD_UTILS
-
-config MTD_ERASEALL
- bool
- prompt "eraseall"
- depends on MTD_UTILS
-
-config MTD_FCP
- bool
- prompt "fcp"
- depends on MTD_UTILS
-
-config MTD_FTL_CHECK
- bool
- prompt "ftl_check"
- depends on MTD_UTILS
-
-config MTD_FTL_FORMAT
- bool
- prompt "ftl_format"
- depends on MTD_UTILS
-
-config MTD_JFFS2READER
- bool
- prompt "jffs2reader"
- depends on MTD_UTILS
-
-config MTD_LOCK
- bool
- prompt "lock"
- depends on MTD_UTILS
-
-config MTD_MTDDEBUG
- bool
- prompt "mtd_debug"
- depends on MTD_UTILS
-
-config MTD_NANDDUMP
- bool
- prompt "nanddump"
- depends on MTD_UTILS
-
-config MTD_NANDTEST
- bool
- prompt "nandtest"
- depends on MTD_UTILS
-
-config MTD_NANDWRITE
- bool
- prompt "nandwrite"
- depends on MTD_UTILS
-
-config MTD_NFTL_FORMAT
- bool
- prompt "nftl_format"
- depends on MTD_UTILS
-
-config MTD_NFTLDUMP
- bool
- prompt "nftldump"
- depends on MTD_UTILS
-
-config MTD_UNLOCK
- bool
- prompt "unlock"
- depends on MTD_UTILS
-
-config MTD_MKJFFS
- bool
- prompt "mkfs.jffs"
- depends on MTD_UTILS
-
-config MTD_MKJFFS2
- bool
- prompt "mkfs.jffs2"
- depends on MTD_UTILS
-
-endmenu
-
-# ----------------------------------------------------------------------------
-
+source "rules/pdksh.in"
+source "rules/bash.in"
+source "rules/busybox.in"
+source "rules/mtd.in"
source "rules/coreutils.in"
-
source "rules/util-linux.in"
-
source "rules/procps.in"
-
source "rules/vhll.in"
-
source "rules/pcmcia-cs.in"
##############################################################################
comment "Network Tools --- "
##############################################################################
-menu "ppp "
-
-config PPP
- bool
- prompt "Compile ppp"
-
-config PPP_MS_CHAP
- bool
- prompt "support Micro$oft's MS-CHAP authentication protocol"
- depends on PPP
-
-config PPP_SHADOW
- bool
- prompt "ppp server: support for shadow passwords"
- depends on PPP
-
-config PPP_PLUGINS
- bool
- prompt "support plugins"
- depends on PPP
-
-config PPP_IPX
- bool
- prompt "support IPX protocol"
- depends on PPP
-
-config PPP_MULTILINK
- bool
- prompt "support multilink"
- depends on PPP
-
-endmenu
-
-# ----------------------------------------------------------------------------
-
-menu "udhcp "
-
-config UDHCP
- bool
- prompt "udhcp"
-
-config UDHCP_C
- bool
- prompt "Compile udhcp client (udhcpc)"
- depends on UDHCP
-
-config UDHCP_D
- bool
- prompt "Compile udhcp daemon (udhcpd)"
- depends on UDHCP
-
-config UDHCP_DUMPLEASES
- bool
- prompt "Compile dumpleases"
- depends on UDHCP
-
-endmenu
-# ----------------------------------------------------------------------------
-
-menu "nmap "
-
-config NMAP
- bool
- prompt "Compile nmap"
-
-endmenu
-
-# ----------------------------------------------------------------------------
-
-menu "utelnetd "
-
-config UTELNETD
- bool
- prompt "Compile utelnetd"
-
-endmenu
-
-# ----------------------------------------------------------------------------
-
-menu "inetutils "
-
-config INETUTILS
- bool
- prompt "Compile inetutils"
-
-source rules/inetutils.in
-endmenu
-
-# ----------------------------------------------------------------------------
-
-menu "Network Security "
-
-config SHOREWALL
- bool
- prompt "shorewall firewall scripts"
-
-config LSH
- bool
- prompt "LSH"
-
-config LSH_EXECUV
- bool
- prompt "Install lsh-execuf"
- depends on LSH
-
-config LSH_PROXY
- bool
- prompt "Install lsh_proxy"
- depends on LSH
-
-config LSH_LSHD
- bool
- prompt "Install lshd"
- depends on LSH
-
-config LSH_SFTPD
- bool
- prompt "Install sftp-server"
- depends on LSH
-
-config LSH_MAKESEED
- bool
- prompt "Install lsh-make-seed"
- depends on LSH
-
-config LSH_KEYGEN
- bool
- prompt "Install lsh-keygen"
- depends on LSH
-
-config LSH_WRITEKEY
- bool
- prompt "Install lsh-writekey"
- depends on LSH
-
-config OPENSSH
- bool
- prompt "OpenSSH"
-
-config OPENSSL
- bool "OpenSSL support in various tools"
-
-config OPENSSL_SHARED
- bool "build shared lib"
- default y
- depends on OPENSSL
-
-# ----------------------------------------------------------------------------
+menu "Network Security "
+source "rules/shorewall.in"
+source "rules/lsh.in"
+source "rules/openssl.in"
+source "rules/openssh.in"
source "rules/dropbear.in"
-# ----------------------------------------------------------------------------
-
-endmenu
-# ----------------------------------------------------------------------------
-
-menu "netcat "
-
-config NETCAT
- bool
- prompt "Compile netcat"
-
-endmenu
-
-# ----------------------------------------------------------------------------
-
-menu "proftpd "
-
-config PROFTPD
- bool
- prompt "proftpd"
-
-config PROFTPD_PAM
- bool
- prompt "PAM support"
- depends on PROFTPD
-
-config PROFTPD_SENDFILE
- bool
- prompt "sendfile support"
- depends on PROFTPD
-
-config PROFTPD_SHADOW
- bool
- prompt "shadow support"
- depends on PROFTPD
-
-config PROFTPD_AUTOSHADOW
- bool
- prompt "autoshadow support"
- depends on PROFTPD_SHADOW
-
-endmenu
-
-# ----------------------------------------------------------------------------
-
-menu "nfs-utils "
-
-config NFSUTILS
- bool
- prompt "Compile nfs-utils"
-
-config NFSUTILS_V3
- bool
- prompt "Enable support for NFSv3"
- depends on NFSUTILS
-
-config NFSUTILS_SECURE_STATD
- bool
- prompt "Only lockd can use statd (security)"
- depends on NFSUTILS
-
-config NFSUTILS_RQUOTAD
- bool
- prompt "Enable rquotad"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_CLIENTSCRIPT
- bool
- prompt "Install /etc/init.d/nfs-client"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_FUNCTIONSSCRIPT
- bool
- prompt "Install /etc/init.d/nfs-functions"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_SERVERSCRIPT
- bool
- prompt "Install /etc/init.d/nfs-server"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_EXPORTFS
- bool
- prompt "Install /sbin/exportfs"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_LOCKD
- bool
- prompt "Install /sbin/lockd"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_MOUNTD
- bool
- prompt "Install /sbin/mountd"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_NFSD
- bool
- prompt "Install /sbin/nfsd"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_NFSSTAT
- bool
- prompt "Install /sbin/nfsstat"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_NHFSGRAPH
- bool
- prompt "Install /sbin/nhfsgraph"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_NHFSNUMS
- bool
- prompt "Install /sbin/nhfsnums"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_NHFSRUN
- bool
- prompt "Install /sbin/nhfsrun"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_NHFSSTONE
- bool
- prompt "Install /sbin/nhfsstone"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_SHOWMOUNT
- bool
- prompt "Install /sbin/showmount"
- depends on NFSUTILS
-
-config NFSUTILS_INSTALL_STATD
- bool
- prompt "Install /sbin/statd"
- depends on NFSUTILS
-
endmenu
-# ----------------------------------------------------------------------------
-
-menu "Portmapper "
-
-config PORTMAP
- bool
- prompt "Compile Portmapper"
-
-config PORTMAP_INSTALL_PORTMAPPER
- bool
- prompt "Install /sbin/portmap"
- depends on PORTMAP
-
-endmenu
-
-# ----------------------------------------------------------------------------
-menu "tcpwrapper "
-
-config TCPWRAPPER
- bool
- prompt "Compile tcpwrapper"
-
-config TCPWRAPPER_INSTALL_TCPD
- bool
- prompt "Install /usr/sbin/tcpd"
- depends on TCPWRAPPER
-
-endmenu
-
-# ----------------------------------------------------------------------------
-
+source "rules/ppp.in"
+source "rules/nmap.in"
+source "rules/utelnetd.in"
+source "rules/inetutils.in"
+source "rules/netcat.in"
+source "rules/proftpd.in"
+source "rules/nfs-utils.in"
+source "rules/portmap.in"
+source "rules/tcpwrapper.in"
source "rules/wireless.in"
-
-# ----------------------------------------------------------------------------
-
source "rules/zebra.in"
-
-# ----------------------------------------------------------------------------
-
source "rules/libnet.in"
-
-# ----------------------------------------------------------------------------
-
source "rules/libpcap.in"
-
-# ----------------------------------------------------------------------------
-
source "rules/rsync.in"
-# ----------------------------------------------------------------------------
-
##############################################################################
comment "Disk and file --- "
##############################################################################
menu "Disk and file utils "
-config E2FSPROGS
- bool
- prompt "e2fsprogs"
-
-config E2FSPROGS_MKFS
- bool
- prompt "Install mke2fs"
- depends on E2FSPROGS
-
-config E2FSPROGS_E2FSCK
- bool
- prompt "Install e2fsck"
- depends on E2FSPROGS
-
-config CRAMFS
- bool
- prompt "cramfs tools"
-
-config GRUB
- bool
- prompt "GRUB"
- depends on ARCH_X86
-
-config GRUB_MD5
- bool
- prompt "md5 passwords"
- depends on GRUB
-
-config GRUB_FFS
- bool
- prompt "ffs filesystem"
- depends on GRUB
-
-config GRUB_MINIXFS
- bool
- prompt "minix filesystem"
- depends on GRUB
-
-config GRUB_REISERFS
- bool
- prompt "reiser filesystem"
- depends on GRUB
-
-config GRUB_VSTAFS
- bool
- prompt "vstafs filesystem"
- depends on GRUB
-
-config GRUB_JFS
- bool
- prompt "jfs filesystem"
- depends on GRUB
-
-config GRUB_XFS
- bool
- prompt "xfs filesystem"
- depends on GRUB
-
-config GRUB_CS89X0
- bool
- prompt "cs89x0 network driver"
- depends on GRUB
-
-config GRUB_BOOTDISK
- bool
- prompt "make bootdisk in $PTXDIST/bootdisk"
- depends on GRUB
-
-config LILO
- bool "LILO"
- depends on ARCH_X86
-
-config PTXFLASH
- bool
- prompt "Install ptxflash utility"
+source "rules/e2fsprogs.in"
+source "rules/grub.in"
+source "rules/lilo.in"
+source "rules/cramfs.in"
+source "rules/genext2fs.in"
-source rules/genext2fs.in
endmenu
-
-
##############################################################################
comment "Applications --- "
##############################################################################
-menu "Flash "
-
-config FLASH
- bool
- prompt "flash"
-
-endmenu
-
-# -----
-
-menu "Kaffe "
-
-config KAFFE
- bool
- prompt "Compile Kaffe"
-
-comment "Target Options"
- depends on KAFFE
-
- choice
- prompt "Engine"
- default KAFFE_ENG_JIT3
- depends on KAFFE
-
- config KAFFE_ENG_INTRP
- bool Interpreter
-
- config KAFFE_ENG_JIT
- bool JIT
- depends on ARCH_ARM || ARCH_X86 || ARCH_SPARC || ARCH_ARM || ARCH_ALPHA || ARCH_MIPS
-
- config KAFFE_ENG_JIT3
- bool JITv3
- depends on ARCH_ARM || ARCH_X86 || ARCH_SPARC || ARCH_ARM || ARCH_ALPHA || ARCH_MIPS
- endchoice
-
- choice
- prompt "Threading System"
- default KAFFE_THREAD_J
- depends on KAFFE
-
- config KAFFE_THREAD_P
- bool unix-pthreads
-
- config KAFFE_THREAD_J
- bool unix-jthreads
- endchoice
-
- choice
- prompt "API"
- default KAFFE_API_SE
- depends on KAFFE
-
- config KAFFE_API_CLDC
- bool CLDC
-
- config KAFFE_API_SE
- bool J2SE
- endchoice
-
- config KAFFE_ENABLE_JIKES
- bool
- default n
- prompt "Use Jikes or other Java compiler"
- depends on KAFFE_API_SE
- depends on KAFFE
-
- config KAFFE_JIKES
- string
- default "jikes" if KAFFE_API_SE
- default "javac" if KAFFE_API_CLDC
- prompt "java compiler (see help)"
- depends on KAFFE_API_SE && KAFFE_ENABLE_JIKES || KAFFE_API_CLDC
- depends on KAFFE
- help
- The compiler must be in the $PATH or an absoloute path to the compiler must be supplied.
- If compiling the CLDC API jikes is not working, please use Sun's javac.
-
- config KAFFE_JIKES_WO_DEBUG
- bool
- default n
- prompt "Compile Java Class Libs without debugging symbols (see help)"
- depends on KAFFE_API_SE && KAFFE_ENABLE_JIKES || KAFFE_API_CLDC
- depends on KAFFE
- help
- Works only with Sun's javac.
-#############################################################################
-comment "Debugging Options"
- depends on KAFFE
-
- config KAFFE_DEB_DEB
- bool
- default n
- prompt "Enable run-time debugging machinery"
- depends on KAFFE
-
- config KAFFE_DEB_X
- bool
- default n
- prompt "Enable debugging symbol generation for jitted code (xdebugging)"
- depends on KAFFE
+source "rules/flash.in"
+source "rules/kaffe.in"
- config KAFFE_DEB_PROFILING
- bool
- default n
- prompt "Compile with gprof(1) profiling support"
- depends on KAFFE
-
- config KAFFE_DEB_XPROFILING
- bool
- default n
- prompt "Enable profiling for C and jitted code (xprofiling)"
- depends on KAFFE
-
- config KAFFE_DEB_STATS
- bool
- default n
- prompt "Gather statistics on vm execution"
- depends on KAFFE
-##############################################################################
-comment "Features"
- depends on KAFFE
-
- config KAFFE_FEAT_GCJ
- bool
- default n
- prompt "Enable GCJ support"
- depends on KAFFE
-
- choice
- prompt "AWT Engine"
- default KAFFE_AWT_X
- depends on KAFFE_API_SE
- depends on KAFFE
-
- config KAFFE_AWT_NO
- bool none
-
- config KAFFE_AWT_X
- bool XFree
-
- config KAFFE_AWT_QT
- bool QT
- endchoice
-
- config KAFFE_FEAT_FEEDBACK
- bool
- default n
- prompt "Enable generation of feedback data"
- depends on KAFFE
-
- config KAFFE_FEAT_JAVAMATH
- bool
- default n
- prompt "Enable pure java java.math.* package"
- depends on KAFFE_API_SE
- depends on KAFFE
-
- config KAFFE_FEAT_DISABLE_SOUND
- bool
- default n
- prompt "Disable javax.sound support"
- depends on KAFFE_API_SE
- depends on KAFFE
-
- config KAFFE_FEAT_DISABLE_ALSA
- bool
- default n
- prompt "Don't use ALSA for sound"
- depends on KAFFE_API_SE && !KAFFE_FEAT_DISABLE_SOUND
- depends on KAFFE
-
- config KAFFE_FEAT_DISABLE_ESD
- bool
- default n
- prompt "Don't use esd for sound"
- depends on KAFFE_API_SE && !KAFFE_FEAT_DISABLE_SOUND
- depends on KAFFE
-
- config KAFFE_FEAT_DISABLE_SUNCOMPAT
- bool
- default n
- prompt "Don't include Sun compatibility scripts"
- depends on KAFFE
-
- config KAFFE_FEAT_CLDC_GMP
- bool
- default n
- prompt "Enable native java/math/BigInteger in CLDC (see help)"
- depends on KAFFE_API_CLDC
- depends on KAFFE
- help
- Note:
- This is not tested!
- Use on your own risk!
-
- config KAFFE_FEAT_CLDC_COMM
- bool
- default y
- prompt "Enable javax.microedition.io.CommConnection (access to serial ports)"
- depends on KAFFE_API_CLDC
- depends on KAFFE
-
-##############################################################################
-comment "Linking options"
- depends on KAFFE
-
- config KAFFE_LINK_VM
- bool
- prompt "Force the creation of a static virtual machine (staticvm)"
- depends on !KAFFE_LINK_LIB && !KAFFE_LINK_BIN
- depends on KAFFE
-
- config KAFFE_LINK_LIB
- bool
- prompt "Force the use of static libraries rather than shared (staticlib)"
- depends on !KAFFE_LINK_BIN
- depends on KAFFE
-
- config KAFFE_LINK_GMP
- bool
- prompt "Link libgmp static into kaffe-bin"
- depends on KAFFE_FEAT_CLDC_GMP || \
- KAFFE_API_SE && !KAFFE_FEAT_JAVAMATH
- depends on KAFFE
-
- config KAFFE_LINK_BIN
- bool
- prompt "Force the creation of a static virtual machine binary (staticbin)"
- depends on KAFFE
-
-
- config KAFFE_TARGETINSTALL_GMP
- bool
- default y if KAFFE_API_SE && !KAFFE_FEAT_JAVAMATH || \
- KAFFE_FEAT_CLDC_GMP && !(KAFFE_LINK_GMP || KAFFE_LINK_BIN)
- depends on KAFFE
-endmenu
##############################################################################
menu "System Libraries "
-source rules/gettext.in
-source rules/popt.in
-source rules/zlib.in
-source rules/ncurses.in
-source rules/db41.in
+source "rules/gettext.in"
+source "rules/popt.in"
+source "rules/zlib.in"
+source "rules/ncurses.in"
+source "rules/db41.in"
endmenu
@@ -1454,11 +110,11 @@ endmenu
menu "Graphics Libraries "
-#source rules/gtk22.in
-source rules/xfree430.in
-source rules/clementine.in
-source rules/fltk.in
-source rules/wxWindows.in
+#source "rules/gtk22.in"
+source "rules/xfree430.in"
+source "rules/clementine.in"
+source "rules/fltk.in"
+source "rules/wxWindows.in"
endmenu
@@ -1466,10 +122,7 @@ endmenu
menu "Web Applications "
-source rules/mfirebird.in
-source rules/penguzilla.in
+source "rules/mfirebird.in"
+source "rules/penguzilla.in"
endmenu
-
-
-
diff --git a/rules/bash.in b/rules/bash.in
new file mode 100644
index 000000000..81c2d6e36
--- /dev/null
+++ b/rules/bash.in
@@ -0,0 +1,115 @@
+menu "Bash "
+
+config BASH
+ bool
+ prompt "Bash"
+
+config BASH_SHLIKE
+ bool
+ prompt "Enable minimal sh like configuration"
+ depends on BASH
+
+config BASH_ALIASES
+ bool
+ prompt "Enable aliases"
+ depends on BASH
+
+#config BASH_ARITHMETIC_FOR
+# bool
+# prompt "Enable arithmetic for command"
+# depends on BASH
+# help "This does currently (bash-2.05b) not work properly and is deactivated in bash.make!"
+
+config BASH_ARRAY
+ bool
+ prompt "Include shell array variables"
+ depends on BASH
+
+config BASH_HISTORY
+ bool
+ prompt "Turn on csh-style history substitution"
+ depends on BASH
+
+config BASH_BRACE
+ bool
+ prompt "Include brace expansion"
+ depends on BASH
+
+#config BASH_CONDITIONAL
+# bool
+# prompt "Enable the conditional command"
+# depends on BASH
+# help "This does currently (bash-2.05b) not work properly and is deactivated in bash.make!"
+
+config BASH_DIRSTACK
+ bool
+ prompt "Enable builtins pushd/popd/dirs"
+ depends on BASH
+
+#config BASH_EXTPATTERN
+# bool
+# prompt "Include ksh-style extended pattern matching"
+# depends on BASH
+# help "This does currently (bash-2.05b) not work properly and is deactivated in bash.make!"
+
+config BASH_HELP
+ bool
+ prompt "Include the help builtin"
+ depends on BASH
+
+config BASH_CMDHISTORY
+ bool
+ prompt "Turn on command history"
+ depends on BASH
+
+config BASH_JOBS
+ bool
+ prompt "Enable job control features"
+ depends on BASH
+
+config BASH_LARGEFILES
+ bool
+ prompt "Enable support for large files"
+ depends on BASH
+
+config BASH_PROCSUBST
+ bool
+ prompt "Enable process substitution"
+ depends on BASH
+
+config BASH_COMPLETION
+ bool
+ prompt "Enable programmable completion"
+ depends on BASH
+
+config BASH_ESC
+ bool
+ prompt "Turn on escape character decoding in prompts"
+ depends on BASH
+
+config BASH_EDIT
+ bool
+ prompt "Turn on command line editing"
+ depends on BASH
+
+config BASH_RESTRICTED
+ bool
+ prompt "Enable a restricted shell"
+ depends on BASH
+
+config BASH_SELECT
+ bool
+ prompt "Include select command"
+ depends on BASH
+
+config BASH_GPROF
+ bool
+ prompt "Allow profiling with gprof"
+ depends on BASH
+
+config BASH_STATIC
+ bool
+ prompt "Link bash statically"
+ depends on BASH
+
+endmenu
diff --git a/rules/busybox.in b/rules/busybox.in
new file mode 100644
index 000000000..73ce1da10
--- /dev/null
+++ b/rules/busybox.in
@@ -0,0 +1,9 @@
+menu "BusyBox "
+
+config BUSYBOX
+ bool
+ prompt "Compile Busybox"
+
+source "config/busybox-1.0.0-pre3/sysdeps/linux/Config.in"
+
+endmenu
diff --git a/rules/cramfs.in b/rules/cramfs.in
new file mode 100644
index 000000000..5997b67fe
--- /dev/null
+++ b/rules/cramfs.in
@@ -0,0 +1,3 @@
+config CRAMFS
+ bool
+ prompt "cramfs tools"
diff --git a/rules/cross-toolchain.in b/rules/cross-toolchain.in
new file mode 100644
index 000000000..f9effd9a1
--- /dev/null
+++ b/rules/cross-toolchain.in
@@ -0,0 +1,35 @@
+menu "Cross Toolchain "
+
+config BUILD_CROSSCHAIN
+ bool
+ prompt "Build Cross Toolchain"
+ default y
+
+choice
+ prompt "GCC (GNU Compiler Collection) Version"
+ default GCC_3_2_3 if ARCH_X86
+ depends on BUILD_CROSSCHAIN
+
+ config GCC_2_95_3
+ bool
+ prompt "2.95.3"
+ depends on ARCH_X86 || ARCH_ARM || ARCH_ARM_NOMMU || ARCH_SPARC
+
+ config GCC_3_2_3
+ bool
+ prompt "3.2.3"
+ depends on ARCH_X86 || ARCH_PPC || ARCH_SPARC || ARCH_MIPS || ARCH_CRIS || ARCH_PARISC || ARCH_SH
+endchoice
+
+config NASM
+ bool
+ prompt "x86 NASM"
+ depends on ARCH_X86
+
+config XCHAIN-SCONS
+ bool
+ prompt "Build scons (see help)"
+ help
+ Requires Python-1.6 or later and Python distutils on the Host,
+ these tools are not (yet) part of ptxdist
+endmenu
diff --git a/rules/debug.in b/rules/debug.in
new file mode 100644
index 000000000..a21cfff14
--- /dev/null
+++ b/rules/debug.in
@@ -0,0 +1,35 @@
+menu "Debugging Tools "
+
+source "rules/gdb.in"
+
+config KSYMOOPS
+ bool
+ prompt "ksymoops"
+ default n
+
+config LTT
+ bool
+ prompt "Linux Trace Toolkit (LTT)"
+ default n
+
+config LIBBFD
+ bool
+ prompt "libbfd on target (needed for profiling)"
+ default n
+
+config OPROFILE
+ bool
+ prompt "oprofile"
+ default n
+
+config STRACE
+ bool
+ prompt "strace"
+ default n
+
+config STRACE_SHARED
+ bool "build shared"
+ default y
+ depends on STRACE
+
+endmenu
diff --git a/rules/dropbear.in b/rules/dropbear.in
index 87f691f36..7629955ac 100644
--- a/rules/dropbear.in
+++ b/rules/dropbear.in
@@ -1,4 +1,4 @@
-menu "Dropbear SSH-Server"
+menu "Dropbear SSH-Server "
config DROPBEAR
bool
diff --git a/rules/e2fsprogs.in b/rules/e2fsprogs.in
new file mode 100644
index 000000000..766e6d7f8
--- /dev/null
+++ b/rules/e2fsprogs.in
@@ -0,0 +1,17 @@
+menu "e2fsprogs "
+
+config E2FSPROGS
+ bool
+ prompt "e2fsprogs"
+
+config E2FSPROGS_MKFS
+ bool
+ prompt "Install mke2fs"
+ depends on E2FSPROGS
+
+config E2FSPROGS_E2FSCK
+ bool
+ prompt "Install e2fsck"
+ depends on E2FSPROGS
+
+endmenu
diff --git a/rules/experimental.in b/rules/experimental.in
new file mode 100644
index 000000000..b57d45322
--- /dev/null
+++ b/rules/experimental.in
@@ -0,0 +1,9 @@
+menu "Code maturity "
+
+ config EXP
+ bool "Support experimental Stuff"
+
+ config EXP_M
+ bool "Support even more experimental Suff"
+ depends on EXP
+endmenu
diff --git a/rules/flash.in b/rules/flash.in
new file mode 100644
index 000000000..48acc6425
--- /dev/null
+++ b/rules/flash.in
@@ -0,0 +1,7 @@
+menu "Flash "
+
+config FLASH
+ bool
+ prompt "flash"
+
+endmenu
diff --git a/rules/gdb.in b/rules/gdb.in
index 37480b9d3..268a83d4c 100644
--- a/rules/gdb.in
+++ b/rules/gdb.in
@@ -30,4 +30,3 @@ config BUILD_GDB_SHARED
default y
depends on BUILD_GDB
depends on GLIBC_LIBM || UCLIBC_M
-
diff --git a/rules/genext2fs.in b/rules/genext2fs.in
index 143f456af..ecc2f1755 100644
--- a/rules/genext2fs.in
+++ b/rules/genext2fs.in
@@ -1,4 +1,3 @@
config GENEXT2FS
bool
prompt "genext2fs"
-
diff --git a/rules/grub.in b/rules/grub.in
new file mode 100644
index 000000000..b2770154f
--- /dev/null
+++ b/rules/grub.in
@@ -0,0 +1,53 @@
+menu "grub "
+
+config GRUB
+ bool
+ prompt "GRUB"
+ depends on ARCH_X86
+
+config GRUB_MD5
+ bool
+ prompt "md5 passwords"
+ depends on GRUB
+
+config GRUB_FFS
+ bool
+ prompt "ffs filesystem"
+ depends on GRUB
+
+config GRUB_MINIXFS
+ bool
+ prompt "minix filesystem"
+ depends on GRUB
+
+config GRUB_REISERFS
+ bool
+ prompt "reiser filesystem"
+ depends on GRUB
+
+config GRUB_VSTAFS
+ bool
+ prompt "vstafs filesystem"
+ depends on GRUB
+
+config GRUB_JFS
+ bool
+ prompt "jfs filesystem"
+ depends on GRUB
+
+config GRUB_XFS
+ bool
+ prompt "xfs filesystem"
+ depends on GRUB
+
+config GRUB_CS89X0
+ bool
+ prompt "cs89x0 network driver"
+ depends on GRUB
+
+config GRUB_BOOTDISK
+ bool
+ prompt "make bootdisk in $PTXDIST/bootdisk"
+ depends on GRUB
+
+endmenu
diff --git a/rules/inetutils.in b/rules/inetutils.in
index 75dae5e5a..ef566a4be 100644
--- a/rules/inetutils.in
+++ b/rules/inetutils.in
@@ -1,3 +1,9 @@
+menu "inetutils "
+
+config INETUTILS
+ bool
+ prompt "Compile inetutils"
+
config INETUTILS_RCP
bool
prompt "rcp"
@@ -16,3 +22,4 @@ config INETUTILS_RSHD
default y
depends on INETUTILS
+endmenu
diff --git a/rules/kaffe.in b/rules/kaffe.in
new file mode 100644
index 000000000..33ea62f6e
--- /dev/null
+++ b/rules/kaffe.in
@@ -0,0 +1,228 @@
+menu "Kaffe "
+
+config KAFFE
+ bool
+ prompt "Compile Kaffe"
+
+comment "Target Options"
+ depends on KAFFE
+
+ choice
+ prompt "Engine"
+ default KAFFE_ENG_JIT3
+ depends on KAFFE
+
+ config KAFFE_ENG_INTRP
+ bool Interpreter
+
+ config KAFFE_ENG_JIT
+ bool JIT
+ depends on ARCH_ARM || ARCH_X86 || ARCH_SPARC || ARCH_ARM || ARCH_ALPHA || ARCH_MIPS
+
+ config KAFFE_ENG_JIT3
+ bool JITv3
+ depends on ARCH_ARM || ARCH_X86 || ARCH_SPARC || ARCH_ARM || ARCH_ALPHA || ARCH_MIPS
+ endchoice
+
+ choice
+ prompt "Threading System"
+ default KAFFE_THREAD_J
+ depends on KAFFE
+
+ config KAFFE_THREAD_P
+ bool unix-pthreads
+
+ config KAFFE_THREAD_J
+ bool unix-jthreads
+ endchoice
+
+ choice
+ prompt "API"
+ default KAFFE_API_SE
+ depends on KAFFE
+
+ config KAFFE_API_CLDC
+ bool CLDC
+
+ config KAFFE_API_SE
+ bool J2SE
+ endchoice
+
+ config KAFFE_ENABLE_JIKES
+ bool
+ default n
+ prompt "Use Jikes or other Java compiler"
+ depends on KAFFE_API_SE
+ depends on KAFFE
+
+ config KAFFE_JIKES
+ string
+ default "jikes" if KAFFE_API_SE
+ default "javac" if KAFFE_API_CLDC
+ prompt "java compiler (see help)"
+ depends on KAFFE_API_SE && KAFFE_ENABLE_JIKES || KAFFE_API_CLDC
+ depends on KAFFE
+ help
+ The compiler must be in the $PATH or an absoloute path to the compiler must be supplied.
+ If compiling the CLDC API jikes is not working, please use Sun's javac.
+
+ config KAFFE_JIKES_WO_DEBUG
+ bool
+ default n
+ prompt "Compile Java Class Libs without debugging symbols (see help)"
+ depends on KAFFE_API_SE && KAFFE_ENABLE_JIKES || KAFFE_API_CLDC
+ depends on KAFFE
+ help
+ Works only with Sun's javac.
+#############################################################################
+comment "Debugging Options"
+ depends on KAFFE
+
+ config KAFFE_DEB_DEB
+ bool
+ default n
+ prompt "Enable run-time debugging machinery"
+ depends on KAFFE
+
+ config KAFFE_DEB_X
+ bool
+ default n
+ prompt "Enable debugging symbol generation for jitted code (xdebugging)"
+ depends on KAFFE
+
+ config KAFFE_DEB_PROFILING
+ bool
+ default n
+ prompt "Compile with gprof(1) profiling support"
+ depends on KAFFE
+
+ config KAFFE_DEB_XPROFILING
+ bool
+ default n
+ prompt "Enable profiling for C and jitted code (xprofiling)"
+ depends on KAFFE
+
+ config KAFFE_DEB_STATS
+ bool
+ default n
+ prompt "Gather statistics on vm execution"
+ depends on KAFFE
+##############################################################################
+comment "Features"
+ depends on KAFFE
+
+ config KAFFE_FEAT_GCJ
+ bool
+ default n
+ prompt "Enable GCJ support"
+ depends on KAFFE
+
+ choice
+ prompt "AWT Engine"
+ default KAFFE_AWT_X
+ depends on KAFFE_API_SE
+ depends on KAFFE
+
+ config KAFFE_AWT_NO
+ bool none
+
+ config KAFFE_AWT_X
+ bool XFree
+
+ config KAFFE_AWT_QT
+ bool QT
+ endchoice
+
+ config KAFFE_FEAT_FEEDBACK
+ bool
+ default n
+ prompt "Enable generation of feedback data"
+ depends on KAFFE
+
+ config KAFFE_FEAT_JAVAMATH
+ bool
+ default n
+ prompt "Enable pure java java.math.* package"
+ depends on KAFFE_API_SE
+ depends on KAFFE
+
+ config KAFFE_FEAT_DISABLE_SOUND
+ bool
+ default n
+ prompt "Disable javax.sound support"
+ depends on KAFFE_API_SE
+ depends on KAFFE
+
+ config KAFFE_FEAT_DISABLE_ALSA
+ bool
+ default n
+ prompt "Don't use ALSA for sound"
+ depends on KAFFE_API_SE && !KAFFE_FEAT_DISABLE_SOUND
+ depends on KAFFE
+
+ config KAFFE_FEAT_DISABLE_ESD
+ bool
+ default n
+ prompt "Don't use esd for sound"
+ depends on KAFFE_API_SE && !KAFFE_FEAT_DISABLE_SOUND
+ depends on KAFFE
+
+ config KAFFE_FEAT_DISABLE_SUNCOMPAT
+ bool
+ default n
+ prompt "Don't include Sun compatibility scripts"
+ depends on KAFFE
+
+ config KAFFE_FEAT_CLDC_GMP
+ bool
+ default n
+ prompt "Enable native java/math/BigInteger in CLDC (see help)"
+ depends on KAFFE_API_CLDC
+ depends on KAFFE
+ help
+ Note:
+ This is not tested!
+ Use on your own risk!
+
+ config KAFFE_FEAT_CLDC_COMM
+ bool
+ default y
+ prompt "Enable javax.microedition.io.CommConnection (access to serial ports)"
+ depends on KAFFE_API_CLDC
+ depends on KAFFE
+
+##############################################################################
+comment "Linking options"
+ depends on KAFFE
+
+ config KAFFE_LINK_VM
+ bool
+ prompt "Force the creation of a static virtual machine (staticvm)"
+ depends on !KAFFE_LINK_LIB && !KAFFE_LINK_BIN
+ depends on KAFFE
+
+ config KAFFE_LINK_LIB
+ bool
+ prompt "Force the use of static libraries rather than shared (staticlib)"
+ depends on !KAFFE_LINK_BIN
+ depends on KAFFE
+
+ config KAFFE_LINK_GMP
+ bool
+ prompt "Link libgmp static into kaffe-bin"
+ depends on KAFFE_FEAT_CLDC_GMP || \
+ KAFFE_API_SE && !KAFFE_FEAT_JAVAMATH
+ depends on KAFFE
+
+ config KAFFE_LINK_BIN
+ bool
+ prompt "Force the creation of a static virtual machine binary (staticbin)"
+ depends on KAFFE
+
+
+ config KAFFE_TARGETINSTALL_GMP
+ bool
+ default y if KAFFE_API_SE && !KAFFE_FEAT_JAVAMATH || \
+ KAFFE_FEAT_CLDC_GMP && !(KAFFE_LINK_GMP || KAFFE_LINK_BIN)
+ depends on KAFFE
+endmenu
diff --git a/rules/kernel.in b/rules/kernel.in
index e91122fb0..a2436d1e7 100644
--- a/rules/kernel.in
+++ b/rules/kernel.in
@@ -1,3 +1,5 @@
+menu "Kernel "
+
config KERNEL_CONFIG
string
prompt "Name of config in $PTXDIST/config/kernel to be used"
@@ -244,333 +246,7 @@ endchoice
comment "---"
-config RTAI
- bool "Realtime Extension: RTAI"
-
-config RTAI_CONFIG
- string
- depends on RTAI
- prompt "Name of config in $PTXDIST/config/rtai to be used"
- default "rtai-24.1.9-" if RTAI_24_1_9
- default "rtai-24.1.10-" if RTAI_24_1_10
- default "rtai-24.1.11-" if RTAI_24_1_11
- default "rtai-24.1.12-" if RTAI_24_1_12
- default "rtai-stable-" if RTAI_CVS_stable
- default "rtai-testing-" if RTAI_CVS_testing
- default "rtai-unstable-" if RTAI_CVS_unstable
-
-choice
- prompt "RTAI Version"
- depends on RTAI
- default RTAI_24_1_10
-
- config RTAI_24_1_9
- bool "24.1.9 "
-
- config RTAI_24_1_10
- bool "24.1.10"
-
- config RTAI_24_1_11
- bool "24.1.11"
-
- config RTAI_24_1_12
- bool "24.1.12"
-
- config RTAI_CVS_stable
- bool "CVS stable tree"
- depends on EXP_M
-
- config RTAI_CVS_testing
- bool "CVS testing tree"
- depends on EXP_M
-
-# config RTAI_CVS_unstable
-# bool "CVS unstable tree"
-# depends on EXP_M
-endchoice
-
-
-config RTAI_CVS_DATE
- string
- prompt "Date for CVS checkout (blank for HEAD)"
- depends on RTAI_CVS_stable || RTAI_CVS_testing || RTAI_CVS_unstable
-
-choice
- prompt "Select RTAI technology"
- depends on RTAI
-
-#---------------------------------------------------------------------
-#------------------------------- 24.1.9 ------------------------------
-#---------------------------------------------------------------------
-
- config RTAI_24_1_9_2_4_18_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_18
- depends on RTAI_24_1_9
-
-#---------------------------------------------------------------------
-#------------------------------- 24.1.10 -----------------------------
-#---------------------------------------------------------------------
-
-#--------------- 2.4.18
-
- config RTAI_24_1_10_2_4_18_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_18
- depends on RTAI_24_1_10
-
- config RTAI_24_1_10_2_4_18_allsoft
- bool "allsoft"
- depends on KERNEL_2_4_18
- depends on RTAI_24_1_10
-
-#--------------- 2.4.19
-
- config RTAI_24_1_10_2_4_19_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_19
- depends on RTAI_24_1_10
-
- config RTAI_24_1_10_2_4_19_allsoft
- bool "allsoft"
- depends on KERNEL_2_4_19
- depends on RTAI_24_1_10
-
-#---------------------------------------------------------------------
-#------------------------------- 24.1.11 -----------------------------
-#---------------------------------------------------------------------
-
-#--------------- 2.4.18
-
- config RTAI_24_1_11_2_4_18_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_18
- depends on RTAI_24_1_11
-
- config RTAI_24_1_11_2_4_18_allsoft
- bool "allsoft"
- depends on KERNEL_2_4_18
- depends on RTAI_24_1_11
-
-#--------------- 2.4.19
-
- config RTAI_24_1_11_2_4_19_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_19
- depends on RTAI_24_1_11
-
- config RTAI_24_1_11_2_4_19_adeos-r6
- bool "adeos-r6"
- depends on KERNEL_2_4_19
- depends on RTAI_24_1_11
-
- config RTAI_24_1_11_2_4_19_allsoft
- bool "allsoft"
- depends on KERNEL_2_4_19
- depends on RTAI_24_1_11
-
-#--------------- 2.4.20
-
- config RTAI_24_1_11_2_4_20_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_20
- depends on RTAI_24_1_11
-
- config RTAI_24_1_11_2_4_20_adeos-r6
- bool "adeos-r6"
- depends on KERNEL_2_4_20
- depends on RTAI_24_1_11
-
-#---------------------------------------------------------------------
-#------------------------------- 24.1.12 -----------------------------
-#---------------------------------------------------------------------
-
-#--------------- 2.4.18
-
- config RTAI_24_1_12_2_4_18_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_18
- depends on RTAI_24_1_12
-
- config RTAI_24_1_12_2_4_18_allsoft
- bool "allsoft"
- depends on KERNEL_2_4_18
- depends on RTAI_24_1_12
-
-#--------------- 2.4.19
-
- config RTAI_24_1_12_2_4_19_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_19
- depends on RTAI_24_1_12
-
- config RTAI_24_1_12_2_4_19_adeos-r8
- bool "adeos-r8"
- depends on KERNEL_2_4_19
- depends on RTAI_24_1_12
-
- config RTAI_24_1_12_2_4_19_allsoft
- bool "allsoft"
- depends on KERNEL_2_4_19
- depends on RTAI_24_1_12
-
-#--------------- 2.4.20
-
- config RTAI_24_1_12_2_4_20_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_20
- depends on RTAI_24_1_12
-
- config RTAI_24_1_12_2_4_20_adeos-r8
- bool "adeos-r8"
- depends on KERNEL_2_4_20
- depends on RTAI_24_1_12
-
-#--------------- 2.4.21
-
- config RTAI_24_1_12_2_4_21_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_21
- depends on RTAI_24_1_12
-
- config RTAI_24_1_12_2_4_21_adeos-r8
- bool "adeos-r8"
- depends on KERNEL_2_4_21
- depends on RTAI_24_1_12
-
-#--------------- 2.4.22
-
- config RTAI_24_1_12_2_4_22_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_22
- depends on RTAI_24_1_12
-
- config RTAI_24_1_12_2_4_22_adeos-r8
- bool "adeos-r8"
- depends on KERNEL_2_4_22
- depends on RTAI_24_1_12
-
-#---------------------------------------------------------------------
-#------------------------------- CVS/stable --------------------------
-#---------------------------------------------------------------------
-
-#--------------- 2.4.18
-
- config RTAI_CVS_stable_2_4_18_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_18
- depends on RTAI_CVS_stable
-
- config RTAI_CVS_stable_2_4_18_allsoft
- bool "allsoft"
- depends on KERNEL_2_4_18
- depends on RTAI_CVS_stable
-
-#--------------- 2.4.19
-
- config RTAI_CVS_stable_2_4_19_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_19
- depends on RTAI_CVS_stable
-
- config RTAI_CVS_stable_2_4_19_adeos-r8
- bool "adeos-r8"
- depends on KERNEL_2_4_19
- depends on RTAI_CVS_stable
-
- config RTAI_CVS_stable_2_4_19_allsoft
- bool "allsoft"
- depends on KERNEL_2_4_19
- depends on RTAI_CVS_stable
-
-#--------------- 2.4.20
-
- config RTAI_CVS_stable_2_4_20_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_20
- depends on RTAI_CVS_stable
-
- config RTAI_CVS_stable_2_4_20_adeos-r8
- bool "adeos-r8"
- depends on KERNEL_2_4_20
- depends on RTAI_CVS_stable
-
-#--------------- 2.4.21
-
- config RTAI_CVS_stable_2_4_21_adeos-r8
- bool "adeos-r8"
- depends on KERNEL_2_4_21
- depends on RTAI_CVS_stable
-
-#---------------------------------------------------------------------
-#------------------------------- CVS/testing -------------------------
-#---------------------------------------------------------------------
-
-#--------------- 2.4.18
-
- config RTAI_CVS_testing_2_4_18_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_18
- depends on RTAI_CVS_testing
-
- config RTAI_CVS_testing_2_4_18_allsoft
- bool "allsoft"
- depends on KERNEL_2_4_18
- depends on RTAI_CVS_testing
-
-#--------------- 2.4.19
-
- config RTAI_CVS_testing_2_4_19_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_19
- depends on RTAI_CVS_testing
-
- config RTAI_CVS_testing_2_4_19_adeos-r8
- bool "adeos-r8"
- depends on KERNEL_2_4_19
- depends on RTAI_CVS_testing
-
- config RTAI_CVS_testing_2_4_19_allsoft
- bool "allsoft"
- depends on KERNEL_2_4_19
- depends on RTAI_CVS_testing
-
-#--------------- 2.4.20
-
- config RTAI_CVS_testing_2_4_20_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_20
- depends on RTAI_CVS_testing
-
- config RTAI_CVS_testing_2_4_20_adeos-r8
- bool "adeos-r8"
- depends on KERNEL_2_4_20
- depends on RTAI_CVS_testing
-
-#--------------- 2.4.21
-
- config RTAI_CVS_testing_2_4_21_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_21
- depends on RTAI_CVS_testing
-
- config RTAI_CVS_testing_2_4_21_adeos-r8
- bool "adeos-r8"
- depends on KERNEL_2_4_21
- depends on RTAI_CVS_testing
-
-#--------------- 2.4.22
-
- config RTAI_CVS_testing_2_4_22_rthal5g
- bool "rthal5g"
- depends on KERNEL_2_4_22
- depends on RTAI_CVS_testing
-
- config RTAI_CVS_testing_2_4_21_adeos-r9c2
- bool "adeos-r9c2"
- depends on KERNEL_2_4_22
- depends on RTAI_CVS_testing
-endchoice
+source "rules/rtai.in"
comment "---"
@@ -610,3 +286,5 @@ config KERNEL_INSTALL
prompt "Install kernel into /boot on target"
default n
depends on !DONT_COMPILE_KERNEL
+
+endmenu
diff --git a/rules/libc.in b/rules/libc.in
index 7d04c8421..d3d0cac08 100644
--- a/rules/libc.in
+++ b/rules/libc.in
@@ -1,4 +1,4 @@
-# menue to chose C library
+menu "C Library "
choice
prompt "Which C library do you want to use?"
@@ -49,56 +49,7 @@ choice
endchoice
source "rules/glibc.in"
-
-source "config/uClibc/extra/Configs/Config.alpha"
-source "config/uClibc/extra/Configs/Config.arm"
-source "config/uClibc/extra/Configs/Config.cris"
-source "config/uClibc/extra/Configs/Config.h8300"
-source "config/uClibc/extra/Configs/Config.i386"
-source "config/uClibc/extra/Configs/Config.i960"
-source "config/uClibc/extra/Configs/Config.m68k"
-source "config/uClibc/extra/Configs/Config.mips"
-source "config/uClibc/extra/Configs/Config.mipsel"
-source "config/uClibc/extra/Configs/Config.powerpc"
-source "config/uClibc/extra/Configs/Config.sh"
-source "config/uClibc/extra/Configs/Config.sparc"
-source "config/uClibc/extra/Configs/Config.v850"
-comment "Install options"
- depends on UCLIBC
-
-config UCLIBC_CRYPT
- bool
- prompt "Install libcrypt on the target"
- depends on UCLIBC
-
-config UCLIBC_DL
- bool
- prompt "Install libdl on the target"
- depends on UCLIBC
-
-config UCLIBC_M
- bool
- prompt "Install libm on the target"
- depends on UCLIBC
-
-config UCLIBC_NSL
- bool
- prompt "Install libnsl on the target"
- depends on UCLIBC
-
-config UCLIBC_PTHREAD
- bool
- prompt "Install libpthread on the target"
- depends on UCLIBC
-
-config UCLIBC_RESOLV
- bool
- prompt "Install libresolv on the target"
- depends on UCLIBC
-
-config UCLIBC_UTIL
- bool
- prompt "Install libutil on the target"
- depends on UCLIBC
+source "rules/uclibc.in"
+endmenu
diff --git a/rules/lilo.in b/rules/lilo.in
new file mode 100644
index 000000000..c7abf49dd
--- /dev/null
+++ b/rules/lilo.in
@@ -0,0 +1,3 @@
+config LILO
+ bool "LILO"
+ depends on ARCH_X86
diff --git a/rules/lsh.in b/rules/lsh.in
new file mode 100644
index 000000000..d9982ce43
--- /dev/null
+++ b/rules/lsh.in
@@ -0,0 +1,42 @@
+menu "LSH "
+
+config LSH
+ bool
+ prompt "LSH"
+
+config LSH_EXECUV
+ bool
+ prompt "Install lsh-execuf"
+ depends on LSH
+
+config LSH_PROXY
+ bool
+ prompt "Install lsh_proxy"
+ depends on LSH
+
+config LSH_LSHD
+ bool
+ prompt "Install lshd"
+ depends on LSH
+
+config LSH_SFTPD
+ bool
+ prompt "Install sftp-server"
+ depends on LSH
+
+config LSH_MAKESEED
+ bool
+ prompt "Install lsh-make-seed"
+ depends on LSH
+
+config LSH_KEYGEN
+ bool
+ prompt "Install lsh-keygen"
+ depends on LSH
+
+config LSH_WRITEKEY
+ bool
+ prompt "Install lsh-writekey"
+ depends on LSH
+
+endmenu
diff --git a/rules/mtd.in b/rules/mtd.in
new file mode 100644
index 000000000..7d62b3f4a
--- /dev/null
+++ b/rules/mtd.in
@@ -0,0 +1,103 @@
+menu "MTD Tools "
+
+config MTD_XCHAIN
+ bool "Compile MTD Utilities (for host)"
+
+config MTD_XCHAIN_MKJFFS
+ bool "mkfs.jffs"
+ depends on MTD_XCHAIN
+
+config MTD_XCHAIN_MKJFFS2
+ bool "mkfs.jffs2"
+ depends on MTD_XCHAIN
+
+config MTD_UTILS
+ bool
+ prompt "Compile MTD Utilities (for target)"
+
+config MTD_EINFO
+ bool
+ prompt "einfo"
+ depends on MTD_UTILS
+
+config MTD_ERASE
+ bool
+ prompt "erase"
+ depends on MTD_UTILS
+
+config MTD_ERASEALL
+ bool
+ prompt "eraseall"
+ depends on MTD_UTILS
+
+config MTD_FCP
+ bool
+ prompt "fcp"
+ depends on MTD_UTILS
+
+config MTD_FTL_CHECK
+ bool
+ prompt "ftl_check"
+ depends on MTD_UTILS
+
+config MTD_FTL_FORMAT
+ bool
+ prompt "ftl_format"
+ depends on MTD_UTILS
+
+config MTD_JFFS2READER
+ bool
+ prompt "jffs2reader"
+ depends on MTD_UTILS
+
+config MTD_LOCK
+ bool
+ prompt "lock"
+ depends on MTD_UTILS
+
+config MTD_MTDDEBUG
+ bool
+ prompt "mtd_debug"
+ depends on MTD_UTILS
+
+config MTD_NANDDUMP
+ bool
+ prompt "nanddump"
+ depends on MTD_UTILS
+
+config MTD_NANDTEST
+ bool
+ prompt "nandtest"
+ depends on MTD_UTILS
+
+config MTD_NANDWRITE
+ bool
+ prompt "nandwrite"
+ depends on MTD_UTILS
+
+config MTD_NFTL_FORMAT
+ bool
+ prompt "nftl_format"
+ depends on MTD_UTILS
+
+config MTD_NFTLDUMP
+ bool
+ prompt "nftldump"
+ depends on MTD_UTILS
+
+config MTD_UNLOCK
+ bool
+ prompt "unlock"
+ depends on MTD_UTILS
+
+config MTD_MKJFFS
+ bool
+ prompt "mkfs.jffs"
+ depends on MTD_UTILS
+
+config MTD_MKJFFS2
+ bool
+ prompt "mkfs.jffs2"
+ depends on MTD_UTILS
+
+endmenu
diff --git a/rules/net-sec.in b/rules/net-sec.in
new file mode 100644
index 000000000..f4234c939
--- /dev/null
+++ b/rules/net-sec.in
@@ -0,0 +1,13 @@
+menu "Network Security "
+
+source "rules/shorewall.in"
+
+source "rules/lsh.in"
+
+source "rules/openssl.in"
+
+source "rules/openssh.in"
+
+source "rules/dropbear.in"
+
+endmenu
diff --git a/rules/netcat.in b/rules/netcat.in
new file mode 100644
index 000000000..b9218fa29
--- /dev/null
+++ b/rules/netcat.in
@@ -0,0 +1,7 @@
+menu "netcat "
+
+config NETCAT
+ bool
+ prompt "Compile netcat"
+
+endmenu
diff --git a/rules/nfs-utils.in b/rules/nfs-utils.in
new file mode 100644
index 000000000..1406486e2
--- /dev/null
+++ b/rules/nfs-utils.in
@@ -0,0 +1,92 @@
+menu "nfs-utils "
+
+config NFSUTILS
+ bool
+ prompt "Compile nfs-utils"
+
+config NFSUTILS_V3
+ bool
+ prompt "Enable support for NFSv3"
+ depends on NFSUTILS
+
+config NFSUTILS_SECURE_STATD
+ bool
+ prompt "Only lockd can use statd (security)"
+ depends on NFSUTILS
+
+config NFSUTILS_RQUOTAD
+ bool
+ prompt "Enable rquotad"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_CLIENTSCRIPT
+ bool
+ prompt "Install /etc/init.d/nfs-client"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_FUNCTIONSSCRIPT
+ bool
+ prompt "Install /etc/init.d/nfs-functions"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_SERVERSCRIPT
+ bool
+ prompt "Install /etc/init.d/nfs-server"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_EXPORTFS
+ bool
+ prompt "Install /sbin/exportfs"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_LOCKD
+ bool
+ prompt "Install /sbin/lockd"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_MOUNTD
+ bool
+ prompt "Install /sbin/mountd"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_NFSD
+ bool
+ prompt "Install /sbin/nfsd"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_NFSSTAT
+ bool
+ prompt "Install /sbin/nfsstat"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_NHFSGRAPH
+ bool
+ prompt "Install /sbin/nhfsgraph"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_NHFSNUMS
+ bool
+ prompt "Install /sbin/nhfsnums"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_NHFSRUN
+ bool
+ prompt "Install /sbin/nhfsrun"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_NHFSSTONE
+ bool
+ prompt "Install /sbin/nhfsstone"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_SHOWMOUNT
+ bool
+ prompt "Install /sbin/showmount"
+ depends on NFSUTILS
+
+config NFSUTILS_INSTALL_STATD
+ bool
+ prompt "Install /sbin/statd"
+ depends on NFSUTILS
+
+endmenu
diff --git a/rules/nmap.in b/rules/nmap.in
new file mode 100644
index 000000000..83917cf26
--- /dev/null
+++ b/rules/nmap.in
@@ -0,0 +1,7 @@
+menu "nmap "
+
+config NMAP
+ bool
+ prompt "Compile nmap"
+
+endmenu
diff --git a/rules/openssh.in b/rules/openssh.in
new file mode 100644
index 000000000..13acba7b8
--- /dev/null
+++ b/rules/openssh.in
@@ -0,0 +1,18 @@
+menu "OpenSSH "
+
+config OPENSSH
+ bool
+ prompt "OpenSSH"
+
+config OPENSSH_SSHD
+ bool "Install sshd (server)"
+ default y
+
+config OPENSSH_SSH
+ bool "Install ssh (client)"
+
+config OPENSSH_KEYGEN
+ bool "Install ssh-keygen"
+ default y
+
+endmenu
diff --git a/rules/openssl.in b/rules/openssl.in
new file mode 100644
index 000000000..3737c39d5
--- /dev/null
+++ b/rules/openssl.in
@@ -0,0 +1,11 @@
+menu "OpenSSL "
+
+config OPENSSL
+ bool "OpenSSL support in various tools"
+
+config OPENSSL_SHARED
+ bool "build shared lib"
+ default y
+ depends on OPENSSL
+
+endmenu
diff --git a/rules/pdksh.in b/rules/pdksh.in
new file mode 100644
index 000000000..e50478a38
--- /dev/null
+++ b/rules/pdksh.in
@@ -0,0 +1,42 @@
+menu "Pdksh "
+
+config PDKSH
+ bool
+ prompt "Pdksh"
+
+config PDKSH_SHLIKE
+ bool
+ prompt "Enable minimal sh like configuration"
+ depends on PDKSH
+
+config PDKSH_POSIX
+ bool
+ prompt "Enable POSIX behaviour"
+ depends on PDKSH
+
+config PDKSH_EMACS
+ bool
+ prompt "Enable emacs style line editing"
+ depends on PDKSH
+
+config PDKSH_VI
+ bool
+ prompt "Enable vi style line editing"
+ depends on PDKSH
+
+config PDKSH_CMDHISTORY
+ bool
+ prompt "Turn on command history"
+ depends on PDKSH
+
+config PDKSH_JOBS
+ bool
+ prompt "Enable job control features"
+ depends on PDKSH
+
+config PDKSH_BRACE_EXPAND
+ bool
+ prompt "Enable ksh brace expansion"
+ depends on PDKSH
+
+endmenu
diff --git a/rules/portmap.in b/rules/portmap.in
new file mode 100644
index 000000000..0819629db
--- /dev/null
+++ b/rules/portmap.in
@@ -0,0 +1,12 @@
+menu "Portmapper "
+
+config PORTMAP
+ bool
+ prompt "Compile Portmapper"
+
+config PORTMAP_INSTALL_PORTMAPPER
+ bool
+ prompt "Install /sbin/portmap"
+ depends on PORTMAP
+
+endmenu
diff --git a/rules/ppp.in b/rules/ppp.in
new file mode 100644
index 000000000..6402ca961
--- /dev/null
+++ b/rules/ppp.in
@@ -0,0 +1,32 @@
+menu "ppp "
+
+config PPP
+ bool
+ prompt "Compile ppp"
+
+config PPP_MS_CHAP
+ bool
+ prompt "support Micro$oft's MS-CHAP authentication protocol"
+ depends on PPP
+
+config PPP_SHADOW
+ bool
+ prompt "ppp server: support for shadow passwords"
+ depends on PPP
+
+config PPP_PLUGINS
+ bool
+ prompt "support plugins"
+ depends on PPP
+
+config PPP_IPX
+ bool
+ prompt "support IPX protocol"
+ depends on PPP
+
+config PPP_MULTILINK
+ bool
+ prompt "support multilink"
+ depends on PPP
+
+endmenu
diff --git a/rules/proftpd.in b/rules/proftpd.in
new file mode 100644
index 000000000..73fe1b11d
--- /dev/null
+++ b/rules/proftpd.in
@@ -0,0 +1,27 @@
+menu "proftpd "
+
+config PROFTPD
+ bool
+ prompt "proftpd"
+
+config PROFTPD_PAM
+ bool
+ prompt "PAM support"
+ depends on PROFTPD
+
+config PROFTPD_SENDFILE
+ bool
+ prompt "sendfile support"
+ depends on PROFTPD
+
+config PROFTPD_SHADOW
+ bool
+ prompt "shadow support"
+ depends on PROFTPD
+
+config PROFTPD_AUTOSHADOW
+ bool
+ prompt "autoshadow support"
+ depends on PROFTPD_SHADOW
+
+endmenu
diff --git a/rules/rootfs.in b/rules/rootfs.in
new file mode 100644
index 000000000..838013858
--- /dev/null
+++ b/rules/rootfs.in
@@ -0,0 +1,47 @@
+menu "Root Filesystem "
+
+config ROOTFS_PROC
+ bool
+ prompt "Create /proc"
+ default y
+
+config ROOTFS_DEV
+ bool
+ prompt "Create /dev"
+ default y
+
+config ROOTFS_MNT
+ bool
+ prompt "Create /mnt"
+ default y
+
+config ROOTFS_FLOPPY
+ bool
+ prompt "Create /floppy"
+ default y
+
+config ROOTFS_TMP
+ bool
+ prompt "Create /tmp"
+ default y
+
+config ROOTFS_HOME
+ bool
+ prompt "Create /home"
+ default y
+
+config ROOTFS_VAR
+ bool
+ prompt "Create /var"
+ default y
+
+config VENDORTWEAKS
+ string
+ prompt "Run vendor Makefile at the end of build"
+ help
+ At the end of the build the target vendor-tweaks.targetinstall
+ is run from the Makefile you specify here. The name you give
+ here is searched in rules/vendor-tweaks; this is normally a
+ *.make file.
+
+endmenu
diff --git a/rules/rtai.in b/rules/rtai.in
new file mode 100644
index 000000000..7b03c8b3f
--- /dev/null
+++ b/rules/rtai.in
@@ -0,0 +1,327 @@
+config RTAI
+ bool "Realtime Extension: RTAI"
+
+config RTAI_CONFIG
+ string
+ depends on RTAI
+ prompt "Name of config in $PTXDIST/config/rtai to be used"
+ default "rtai-24.1.9-" if RTAI_24_1_9
+ default "rtai-24.1.10-" if RTAI_24_1_10
+ default "rtai-24.1.11-" if RTAI_24_1_11
+ default "rtai-24.1.12-" if RTAI_24_1_12
+ default "rtai-stable-" if RTAI_CVS_stable
+ default "rtai-testing-" if RTAI_CVS_testing
+ default "rtai-unstable-" if RTAI_CVS_unstable
+
+choice
+ prompt "RTAI Version"
+ depends on RTAI
+ default RTAI_24_1_10
+
+ config RTAI_24_1_9
+ bool "24.1.9 "
+
+ config RTAI_24_1_10
+ bool "24.1.10"
+
+ config RTAI_24_1_11
+ bool "24.1.11"
+
+ config RTAI_24_1_12
+ bool "24.1.12"
+
+ config RTAI_CVS_stable
+ bool "CVS stable tree"
+ depends on EXP_M
+
+ config RTAI_CVS_testing
+ bool "CVS testing tree"
+ depends on EXP_M
+
+# config RTAI_CVS_unstable
+# bool "CVS unstable tree"
+# depends on EXP_M
+endchoice
+
+
+config RTAI_CVS_DATE
+ string
+ prompt "Date for CVS checkout (blank for HEAD)"
+ depends on RTAI_CVS_stable || RTAI_CVS_testing || RTAI_CVS_unstable
+
+choice
+ prompt "Select RTAI technology"
+ depends on RTAI
+
+#---------------------------------------------------------------------
+#------------------------------- 24.1.9 ------------------------------
+#---------------------------------------------------------------------
+
+ config RTAI_24_1_9_2_4_18_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_18
+ depends on RTAI_24_1_9
+
+#---------------------------------------------------------------------
+#------------------------------- 24.1.10 -----------------------------
+#---------------------------------------------------------------------
+
+#--------------- 2.4.18
+
+ config RTAI_24_1_10_2_4_18_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_18
+ depends on RTAI_24_1_10
+
+ config RTAI_24_1_10_2_4_18_allsoft
+ bool "allsoft"
+ depends on KERNEL_2_4_18
+ depends on RTAI_24_1_10
+
+#--------------- 2.4.19
+
+ config RTAI_24_1_10_2_4_19_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_19
+ depends on RTAI_24_1_10
+
+ config RTAI_24_1_10_2_4_19_allsoft
+ bool "allsoft"
+ depends on KERNEL_2_4_19
+ depends on RTAI_24_1_10
+
+#---------------------------------------------------------------------
+#------------------------------- 24.1.11 -----------------------------
+#---------------------------------------------------------------------
+
+#--------------- 2.4.18
+
+ config RTAI_24_1_11_2_4_18_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_18
+ depends on RTAI_24_1_11
+
+ config RTAI_24_1_11_2_4_18_allsoft
+ bool "allsoft"
+ depends on KERNEL_2_4_18
+ depends on RTAI_24_1_11
+
+#--------------- 2.4.19
+
+ config RTAI_24_1_11_2_4_19_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_19
+ depends on RTAI_24_1_11
+
+ config RTAI_24_1_11_2_4_19_adeos-r6
+ bool "adeos-r6"
+ depends on KERNEL_2_4_19
+ depends on RTAI_24_1_11
+
+ config RTAI_24_1_11_2_4_19_allsoft
+ bool "allsoft"
+ depends on KERNEL_2_4_19
+ depends on RTAI_24_1_11
+
+#--------------- 2.4.20
+
+ config RTAI_24_1_11_2_4_20_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_20
+ depends on RTAI_24_1_11
+
+ config RTAI_24_1_11_2_4_20_adeos-r6
+ bool "adeos-r6"
+ depends on KERNEL_2_4_20
+ depends on RTAI_24_1_11
+
+#---------------------------------------------------------------------
+#------------------------------- 24.1.12 -----------------------------
+#---------------------------------------------------------------------
+
+#--------------- 2.4.18
+
+ config RTAI_24_1_12_2_4_18_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_18
+ depends on RTAI_24_1_12
+
+ config RTAI_24_1_12_2_4_18_allsoft
+ bool "allsoft"
+ depends on KERNEL_2_4_18
+ depends on RTAI_24_1_12
+
+#--------------- 2.4.19
+
+ config RTAI_24_1_12_2_4_19_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_19
+ depends on RTAI_24_1_12
+
+ config RTAI_24_1_12_2_4_19_adeos-r8
+ bool "adeos-r8"
+ depends on KERNEL_2_4_19
+ depends on RTAI_24_1_12
+
+ config RTAI_24_1_12_2_4_19_allsoft
+ bool "allsoft"
+ depends on KERNEL_2_4_19
+ depends on RTAI_24_1_12
+
+#--------------- 2.4.20
+
+ config RTAI_24_1_12_2_4_20_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_20
+ depends on RTAI_24_1_12
+
+ config RTAI_24_1_12_2_4_20_adeos-r8
+ bool "adeos-r8"
+ depends on KERNEL_2_4_20
+ depends on RTAI_24_1_12
+
+#--------------- 2.4.21
+
+ config RTAI_24_1_12_2_4_21_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_21
+ depends on RTAI_24_1_12
+
+ config RTAI_24_1_12_2_4_21_adeos-r8
+ bool "adeos-r8"
+ depends on KERNEL_2_4_21
+ depends on RTAI_24_1_12
+
+#--------------- 2.4.22
+
+ config RTAI_24_1_12_2_4_22_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_22
+ depends on RTAI_24_1_12
+
+ config RTAI_24_1_12_2_4_22_adeos-r8
+ bool "adeos-r8"
+ depends on KERNEL_2_4_22
+ depends on RTAI_24_1_12
+
+#---------------------------------------------------------------------
+#------------------------------- CVS/stable --------------------------
+#---------------------------------------------------------------------
+
+#--------------- 2.4.18
+
+ config RTAI_CVS_stable_2_4_18_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_18
+ depends on RTAI_CVS_stable
+
+ config RTAI_CVS_stable_2_4_18_allsoft
+ bool "allsoft"
+ depends on KERNEL_2_4_18
+ depends on RTAI_CVS_stable
+
+#--------------- 2.4.19
+
+ config RTAI_CVS_stable_2_4_19_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_19
+ depends on RTAI_CVS_stable
+
+ config RTAI_CVS_stable_2_4_19_adeos-r8
+ bool "adeos-r8"
+ depends on KERNEL_2_4_19
+ depends on RTAI_CVS_stable
+
+ config RTAI_CVS_stable_2_4_19_allsoft
+ bool "allsoft"
+ depends on KERNEL_2_4_19
+ depends on RTAI_CVS_stable
+
+#--------------- 2.4.20
+
+ config RTAI_CVS_stable_2_4_20_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_20
+ depends on RTAI_CVS_stable
+
+ config RTAI_CVS_stable_2_4_20_adeos-r8
+ bool "adeos-r8"
+ depends on KERNEL_2_4_20
+ depends on RTAI_CVS_stable
+
+#--------------- 2.4.21
+
+ config RTAI_CVS_stable_2_4_21_adeos-r8
+ bool "adeos-r8"
+ depends on KERNEL_2_4_21
+ depends on RTAI_CVS_stable
+
+#---------------------------------------------------------------------
+#------------------------------- CVS/testing -------------------------
+#---------------------------------------------------------------------
+
+#--------------- 2.4.18
+
+ config RTAI_CVS_testing_2_4_18_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_18
+ depends on RTAI_CVS_testing
+
+ config RTAI_CVS_testing_2_4_18_allsoft
+ bool "allsoft"
+ depends on KERNEL_2_4_18
+ depends on RTAI_CVS_testing
+
+#--------------- 2.4.19
+
+ config RTAI_CVS_testing_2_4_19_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_19
+ depends on RTAI_CVS_testing
+
+ config RTAI_CVS_testing_2_4_19_adeos-r8
+ bool "adeos-r8"
+ depends on KERNEL_2_4_19
+ depends on RTAI_CVS_testing
+
+ config RTAI_CVS_testing_2_4_19_allsoft
+ bool "allsoft"
+ depends on KERNEL_2_4_19
+ depends on RTAI_CVS_testing
+
+#--------------- 2.4.20
+
+ config RTAI_CVS_testing_2_4_20_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_20
+ depends on RTAI_CVS_testing
+
+ config RTAI_CVS_testing_2_4_20_adeos-r8
+ bool "adeos-r8"
+ depends on KERNEL_2_4_20
+ depends on RTAI_CVS_testing
+
+#--------------- 2.4.21
+
+ config RTAI_CVS_testing_2_4_21_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_21
+ depends on RTAI_CVS_testing
+
+ config RTAI_CVS_testing_2_4_21_adeos-r8
+ bool "adeos-r8"
+ depends on KERNEL_2_4_21
+ depends on RTAI_CVS_testing
+
+#--------------- 2.4.22
+
+ config RTAI_CVS_testing_2_4_22_rthal5g
+ bool "rthal5g"
+ depends on KERNEL_2_4_22
+ depends on RTAI_CVS_testing
+
+ config RTAI_CVS_testing_2_4_21_adeos-r9c2
+ bool "adeos-r9c2"
+ depends on KERNEL_2_4_22
+ depends on RTAI_CVS_testing
+endchoice
diff --git a/rules/shorewall.in b/rules/shorewall.in
new file mode 100644
index 000000000..cdfd47f00
--- /dev/null
+++ b/rules/shorewall.in
@@ -0,0 +1,7 @@
+menu "shorewall firewall "
+
+config SHOREWALL
+ bool
+ prompt "shorewall firewall scripts"
+
+endmenu
diff --git a/rules/target.in b/rules/target.in
new file mode 100644
index 000000000..c204ad79d
--- /dev/null
+++ b/rules/target.in
@@ -0,0 +1,291 @@
+menu "Target Options "
+
+choice
+ prompt "CPU Architecture "
+
+ config ARCH_ARM
+ bool "ARM"
+ help
+ This is support for the ARM processor architecture.
+
+ config ARCH_ARM_NOMMU
+ bool "ARM-nommu"
+ depends on EXP_M
+ help
+ This is support for the ARM processor architecture w/o MMU.
+
+ config ARCH_X86
+ bool "X86"
+ help
+ This is support for the Intel x86 architecture.
+
+ config ARCH_PPC
+ bool "PPC"
+
+ config ARCH_SPARC
+ bool "SPARC"
+ depends on EXP
+
+ config ARCH_MIPS
+ bool "MIPS"
+ depends on EXP
+
+ config ARCH_CRIS
+ depends on EXP_M
+ bool "CRIS"
+
+ config ARCH_PARISC
+ depends on EXP_M
+ bool "PARISC"
+
+ config ARCH_SH
+ depends on EXP_M
+ bool "SuperH"
+endchoice
+
+choice
+ prompt "ARM architecture"
+ depends on ARCH_ARM || ARCH_ARM_NOMMU
+
+ config ARM_ARCH_PXA
+ bool "pxa (little endian)"
+ depends on ARCH_ARM
+
+ config ARM_ARCH_EPXA
+ bool "Excalibur (little endian)"
+ depends on ARCH_ARM
+
+ config ARM_ARCH_SA1100
+ bool "sa1100 (little endian)"
+ depends on ARCH_ARM
+
+ config ARM_ARCH_IXP2000
+ bool "ixp2000 (big endian)"
+ depends on ARCH_ARM && EXP_M
+
+ config ARM_ARCH_NETARM
+ bool "net+arm (little endian)"
+ depends on ARCH_ARM_NOMMU
+
+ config ARM_ARCH_ATMEL
+ bool "atmel (little endian)"
+ depends on ARCH_ARM_NOMMU
+
+endchoice
+
+config ARM_ARCH
+ string
+ default "pxa" if ARM_ARCH_PXA
+ default "sa1100" if ARM_ARCH_SA1100
+ default "netarm" if ARM_ARCH_NETARM
+ default "atmel" if ARM_ARCH_ATMEL
+ default "ixp2000" if ARM_ARCH_IXP2000
+ default "epxa" if ARM_ARCH_EPXA
+
+config ARM_ARCH_BE
+ bool
+ default y if ARM_ARCH_IXP2000
+
+config ARM_ARCH_LE
+ bool
+ default y if ARM_ARCH_PXA || ARM_ARCH_SA1100 || ARM_ARCH_NETARM || ARM_ARCH_ATMEL
+
+choice
+ prompt "MIPS architecture"
+ depends on ARCH_MIPS
+
+ config MIPS_ARCH_BE
+ bool "mips (big endian)"
+
+ config MIPS_ARCH_LE
+ bool "mipsel (little endian)"
+endchoice
+
+choice
+ prompt "SuperH architecture"
+ depends on ARCH_SH
+
+ config SH_ARCH_SH3
+ bool "SH3"
+
+ config SH_ARCH_SH4
+ bool "SH4"
+endchoice
+
+choice
+ prompt "Code Optimization"
+
+ config OPT_ARM
+ bool "generic arm"
+ depends on ARCH_ARM
+ config OPT_ARM_NOMMU
+ bool "generic arm (w/o MMU)"
+ depends on ARCH_ARM_NOMMU
+
+ config OPT_I386
+ bool "386"
+ depends on ARCH_X86
+ config OPT_I486
+ bool "486"
+ depends on ARCH_X86
+ config OPT_I586
+ bool "586"
+ depends on ARCH_X86
+ config OPT_I686
+ bool "686"
+ depends on ARCH_X86
+
+ config OPT_PPC
+ bool "generic PPC"
+ depends on ARCH_PPC
+ config OPT_PPC405
+ bool "PPC 405"
+ depends on ARCH_PPC
+ config OPT_PPC750
+ bool "PPC 750"
+ depends on ARCH_PPC
+ config OPT_PPC7450
+ bool "PPC 7450"
+ depends on ARCH_PPC
+
+ config OPT_SPARC
+ bool "generic sparc"
+ depends on ARCH_SPARC
+
+ config OPT_MIPS
+ bool "generic mips (big endian)"
+ depends on MIPS_ARCH_BE
+ config OPT_MIPSEL
+ bool "generic mipsel (little endian)"
+ depends on MIPS_ARCH_LE
+
+ config OPT_CRIS
+ bool "generic cris"
+ depends on ARCH_CRIS
+
+ config OPT_PARISC
+ bool "generic parisc"
+ depends on ARCH_PARISC
+
+ config OPT_SH3
+ bool "generic SH3"
+ depends on SH_ARCH_SH3
+
+ config OPT_SH4
+ bool "generic SH4"
+ depends on SH_ARCH_SH4
+endchoice
+
+comment "---"
+
+config TARGET_EXTRA_CFLAGS
+ string
+ prompt "Extra CFLAGS (c)"
+
+config TARGET_EXTRA_CXXFLAGS
+ string
+ prompt "Extra CXXFLAGS (c++)"
+
+config TARGET_CONFIG_FILE
+ string
+ prompt "Name of architecture config file in $PTXDIST/config/arch"
+ default "arm.dat" if ARCH_ARM
+ default "ix86.dat" if ARCH_X86
+ default "powerpc.dat" if OPT_PPC
+ default "powerpc-405.dat" if OPT_PPC405
+ default "powerpc-750.dat" if OPT_PPC750
+ default "powerpc-7450.dat" if OPT_PPC7450
+ default "sparc.dat" if ARCH_SPARC
+ default "mips.dat" if MIPS_ARCH_BE
+ default "mipsel.dat" if MIPS_ARCH_LE
+ default "cris.dat" if ARCH_CRIS
+ default "hppa.dat" if ARCH_PARISC
+ default "sh3.dat" if SH_ARCH_SH3
+ default "sh4.dat" if SH_ARCH_SH4
+
+comment "---"
+
+config ARCH_NOMMU
+ bool
+ default y if ARCH_ARM_NOMMU
+
+config ARCH
+ string
+ default "arm" if ARCH_ARM
+ default "armnommu" if ARCH_ARM_NOMMU
+ default "i386" if ARCH_X86
+ default "ppc" if ARCH_PPC
+ default "sparc" if ARCH_SPARC
+ default "mips" if ARCH_MIPS
+ default "mips" if ARCH_MIPSEL
+ default "cris" if ARCH_CRIS
+ default "parisc" if ARCH_PARISC
+ default "sh" if ARCH_SH
+
+config ARCH_USERSPACE
+ string
+ default "arm" if ARCH_ARM
+ default "arm" if ARCH_ARM_NOMMU
+ default "i386" if ARCH_X86
+ default "powerpc" if ARCH_PPC
+ default "sparc" if ARCH_SPARC
+ default "mips" if ARCH_MIPS
+ default "mips" if ARCH_MIPSEL
+ default "cris" if ARCH_CRIS
+ default "hppa" if ARCH_PARISC
+ default "sh" if ARCH_SH
+
+config ARM_PROC
+ string
+ default "armv" if ARCH_ARM || ARCH_ARM_NOMMU
+
+config GNU_TARGET
+ string
+ default "arm-linux" if ARM_ARCH_LE && GLIBC
+ default "armb-unknown-linux-gnu" if ARM_ARCH_BE && GLIBC
+ default "arm-elf" if ARCH_ARM_NOMMU && GLIBC
+ default "i386-linux" if OPT_I386 && GLIBC
+ default "i486-linux" if OPT_I486 && GLIBC
+ default "i586-linux" if OPT_I586 && GLIBC
+ default "i686-linux" if OPT_I686 && GLIBC
+ default "powerpc-linux" if OPT_PPC && GLIBC
+ default "powerpc-405-linux-gnu" if OPT_PPC405 && GLIBC
+ default "powerpc-750-linux-gnu" if OPT_PPC750 && GLIBC
+ default "powerpc-7450-linux-gnu" if OPT_PPC4750 && GLIBC
+ default "sparc-linux" if OPT_SPARC && GLIBC
+ default "mips-linux" if MIPS_ARCH_BE && GLIBC
+ default "mipsel-linux" if MIPS_ARCH_LE && GLIBC
+ default "cris-linux" if ARCH_CRIS && GLIBC
+ default "hppa-linux" if ARCH_PARISC && GLIBC
+ default "sh3-linux" if SH_ARCH_SH3 && GLIBC
+ default "sh4-linux" if SH_ARCH_SH4 && GLIBC
+
+ default "arm-uclibc-linux-gnu" if ARM_ARCH_LE && UCLIBC
+ default "armb-uclibc-linux-gnu" if ARM_ARCH_BE && UCLIBC
+ default "arm-elf" if ARCH_ARM_NOMMU && UCLIBC
+ default "i386-uclibc-linux-gnu" if OPT_I386 && UCLIBC
+ default "i486-uclibc-linux-gnu" if OPT_I486 && UCLIBC
+ default "i586-uclibc-linux-gnu" if OPT_I586 && UCLIBC
+ default "i686-uclibc-linux-gnu" if OPT_I686 && UCLIBC
+ default "powerpc-uclibc-linux-gnu" if OPT_PPC && UCLIBC
+ default "powerpc-405_uclibc-linux-gnu" if OPT_PPC405 && UCLIBC
+ default "powerpc-750_uclibc-linux-gnu" if OPT_PPC750 && UCLIBC
+ default "powerpc-7450_uclibc-linux-gnu" if OPT_PPC7450 && UCLIBC
+ default "sparc-uclibc-linux-gnu" if OPT_SPARC && UCLIBC
+ default "mips-uclibc-linux-gnu" if MIPS_ARCH_BE && UCLIBC
+ default "mipsel-uclibc-linux-gnu" if MIPS_ARCH_LE && UCLIBC
+ default "cris-uclibc-linux-gnu" if ARCH_CRIS && UCLIBC
+ default "hppa-uclibc-linux-gnu" if ARCH_PARISC && UCLIBC
+ default "sh3-uclibc-linux-gnu" if SH_ARCH_SH3 && UCLIBC
+ default "sh4-uclibc-linux-gnu" if SH_ARCH_SH4 && UCLIBC
+
+config PREFIX
+ prompt "Prefix for development environment"
+ string
+ default "/tmp/ptxdist-local"
+
+config ROOT
+ prompt "Prefix for root filesystem"
+ string
+
+endmenu
diff --git a/rules/tcpwrapper.in b/rules/tcpwrapper.in
new file mode 100644
index 000000000..4993f938d
--- /dev/null
+++ b/rules/tcpwrapper.in
@@ -0,0 +1,12 @@
+menu "tcpwrapper "
+
+config TCPWRAPPER
+ bool
+ prompt "Compile tcpwrapper"
+
+config TCPWRAPPER_INSTALL_TCPD
+ bool
+ prompt "Install /usr/sbin/tcpd"
+ depends on TCPWRAPPER
+
+endmenu
diff --git a/rules/uclibc.in b/rules/uclibc.in
new file mode 100644
index 000000000..a8f4a5037
--- /dev/null
+++ b/rules/uclibc.in
@@ -0,0 +1,51 @@
+source "config/uClibc/extra/Configs/Config.alpha"
+source "config/uClibc/extra/Configs/Config.arm"
+source "config/uClibc/extra/Configs/Config.cris"
+source "config/uClibc/extra/Configs/Config.h8300"
+source "config/uClibc/extra/Configs/Config.i386"
+source "config/uClibc/extra/Configs/Config.i960"
+source "config/uClibc/extra/Configs/Config.m68k"
+source "config/uClibc/extra/Configs/Config.mips"
+source "config/uClibc/extra/Configs/Config.mipsel"
+source "config/uClibc/extra/Configs/Config.powerpc"
+source "config/uClibc/extra/Configs/Config.sh"
+source "config/uClibc/extra/Configs/Config.sparc"
+source "config/uClibc/extra/Configs/Config.v850"
+
+comment "Install options"
+ depends on UCLIBC
+
+config UCLIBC_CRYPT
+ bool
+ prompt "Install libcrypt on the target"
+ depends on UCLIBC
+
+config UCLIBC_DL
+ bool
+ prompt "Install libdl on the target"
+ depends on UCLIBC
+
+config UCLIBC_M
+ bool
+ prompt "Install libm on the target"
+ depends on UCLIBC
+
+config UCLIBC_NSL
+ bool
+ prompt "Install libnsl on the target"
+ depends on UCLIBC
+
+config UCLIBC_PTHREAD
+ bool
+ prompt "Install libpthread on the target"
+ depends on UCLIBC
+
+config UCLIBC_RESOLV
+ bool
+ prompt "Install libresolv on the target"
+ depends on UCLIBC
+
+config UCLIBC_UTIL
+ bool
+ prompt "Install libutil on the target"
+ depends on UCLIBC
diff --git a/rules/utelnetd.in b/rules/utelnetd.in
new file mode 100644
index 000000000..ad97db147
--- /dev/null
+++ b/rules/utelnetd.in
@@ -0,0 +1,7 @@
+menu "utelnetd "
+
+config UTELNETD
+ bool
+ prompt "Compile utelnetd"
+
+endmenu