view sources/trimconfig-busybox @ 972:cfa6262528f3

Genericize native build. Break out dropbear and strace packages from download.sh (and clean up what remains, mirror list is now in include.sh). New script setup-native.build.sh downloads, extracts, and creates a system image with "here document" build script to build dropbear and strace. New native-build.sh script works on arbitrary hdc image, providing FTP upload to a directory. The setup/fork logic to build all architectures is now in buildall.sh for this, just like everything else. Update buildall.sh to take optional list of architectures to build on command line. Factor out unique-port.sh (in embeddable manner) so distcc (in run-emulator.sh) and ftp server (in native-build.sh) can both use it. Upgrade to new busybox version while we're there. HGi removed sources/more/setup-native-static-build.sh
author Rob Landley <rob@landley.net>
date Fri, 05 Feb 2010 10:33:06 -0600
parents 7b2d882eba4a
children 8d6fe8ad822d
line wrap: on
line source

# Differences between "allyesconfig" and the config we want.

# These are provided by other packages, because the busybox ones don't
# work yet.

# No ext2 support (tune2fs -j)
CONFIG_MKFS_EXT2=n

# binutils (no write support)
CONFIG_AR=n
# toybox
CONFIG_PATCH=n
# bash
CONFIG_FEATURE_SH_IS_ASH=y

# Switch off inadvisable features and build options.

CONFIG_FEATURE_ASSUME_UNICODE=n
CONFIG_FEATURE_CLEAN_UP=n
CONFIG_SELINUX=n
CONFIG_PAM=n
CONFIG_FEATURE_PREFER_APPLETS=n
CONFIG_STATIC=n
CONFIG_PIE=n
CONFIG_NOMMU=n
CONFIG_BUILD_LIBBUSYBOX=n

# Switch off archaic, dead, and _also_ problematic code.

CONFIG_FEATURE_MTAB_SUPPORT=n
CONFIG_FEATURE_DEVFS=n
CONFIG_DEVFSD=n

# Switch off debug stuff

CONFIG_DEBUG=n
CONFIG_WERROR=n
CONFIG_INSTALL_NO_USR=n
CONFIG_DEBUG_TFTP=n
CONFIG_FEATURE_UDHCP_DEBUG=n

# This doesn't build on some non-x86 targets (such as m68k).

CONFIG_TASKSET=n

# This doesn't build under Knoppix 5

CONFIG_INOTIFYD=n

# This doesn't even build for i686 on Ubuntu 8.04.
CONFIG_FLASH_LOCK=n
CONFIG_FLASH_UNLOCK=n
CONFIG_FLASH_ERASEALL=n

# Features to keep an eye on

# CONFIG_FEATURE_INETD_RPC=n
# CONFIG_FEATURE_IP_RARE_TOOLS=n
# CONFIG_FEATURE_NAMEIF_EXTENDED=n
# CONFIG_CLOCK_MONOTONIC_SYSCALL=n