Browse Source

optimize for really small systems

Default to busybox hush for noMMU systems.
Add busybox profiles to choose a minimal busybox
config for noMMU systems.
Add gdb git from ysato for h8/300 simulator.

Change some kernel defaults to off to have a really
small kernel.

For bfin simulator the kernel+initramfs is smaller then
2MB in size.
Waldemar Brodkorb 8 years ago
parent
commit
71da71d92d

+ 5 - 1
package/base-files/Makefile

@@ -6,7 +6,7 @@ include $(ADK_TOPDIR)/mk/rootfs.mk
 
 PKG_NAME:=		base-files
 PKG_VERSION:=		1.1
-PKG_RELEASE:=		19
+PKG_RELEASE:=		20
 PKG_SECTION:=		base/apps
 PKG_DESCR:=		basic files and scripts
 
@@ -67,6 +67,7 @@ endif
 	chmod 600 $(IDIR_BASE_FILES)/etc/shadow
 ifeq ($(ADK_TARGET_WITH_NETDEVICE),y)
 	cp ./files/interfaces-dhcp $(IDIR_BASE_FILES)/etc/network/interfaces
+	cp ./files/rc.netinfo $(IDIR_BASE_FILES)/etc/
 else
 	cp ./files/interfaces-lo $(IDIR_BASE_FILES)/etc/network/interfaces
 endif
@@ -108,6 +109,8 @@ endif
 	    $(SED) 's,\*NP\*,'"$$(awk -F\= '/^ADK_RUNTIME_PASSWORD/ { print $$2 }' $(ADK_TOPDIR)/.config|sed -e 's^\"^^g'),g" \
 		 $(IDIR_BASE_FILES)/etc/shadow
 	echo $(ADK_RUNTIME_TMPFS_SIZE) > $(IDIR_BASE_FILES)/etc/tmpfs
+ifeq ($(ADK_PACKAGE_MKSH),y)
+	$(CP) ./files/profile $(IDIR_BASE_FILES)/etc/profile
 ifeq ($(ADK_TARGET_WITH_ROOT_RW),y)
 	echo 'export IPKGTMPDIR=/root/.ipkg' >> $(IDIR_BASE_FILES)/etc/profile
 else
@@ -116,6 +119,7 @@ endif
 ifeq ($(ADK_TARGET_BOARD_BCM28XX),y)
 	echo 'export LD_LIBRARY_PATH=/opt/vc/lib' >> $(IDIR_BASE_FILES)/etc/profile
 endif
+endif
 
 # simple network configuration
 ifneq (${ADK_SIMPLE_NETWORK_CONFIG},)

+ 0 - 0
package/base-files/src/etc/profile → package/base-files/files/profile


+ 4 - 3
package/base-files/src/etc/init.d/rcS

@@ -73,7 +73,8 @@ fi
 	    done
 } |tee /dev/stderr |logger -p 6 -t ''
 
-if [ $rcquiet -ne 1 ];then
-	ipaddr=$(ip addr show $(ip route show|awk '/default/ { print $5 }')|awk '/inet / { print $2 }'|tail -1)
-	echo "Your ip adress is $ipaddr"
+if [ $rcquiet -ne 1 ]; then
+  if [ -f /etc/rc.netinfo ]; then
+    . /etc/rc.netinfo
+  fi
 fi

+ 185 - 1
package/busybox/Config.in.manual

@@ -5,12 +5,196 @@ config ADK_COMPILE_BUSYBOX
 config ADK_PACKAGE_BUSYBOX
 	bool "busybox.............. core utilities for embedded systems"
 	select ADK_COMPILE_BUSYBOX
-	default y if !ADK_TOOLCHAIN_ONLY && !ADK_TARGET_WITHOUT_MMU
+	default y if !ADK_TOOLCHAIN_ONLY
 	help
 	  Core utilities for embedded Linux systems
 	  
 	  WWW: http://www.busybox.net
 
+choice
+prompt "Choose predefined set of applets"
+depends on ADK_PACKAGE_BUSYBOX
+default ADK_PACKAGE_BUSYBOX_MINIMAL if ADK_TARGET_WITHOUT_MMU
+
+config ADK_PACKAGE_BUSYBOX_DEFAULT
+	bool "activate standard set of applets"
+	select BUSYBOX_FEATURE_UTMP
+	select BUSYBOX_GUNZIP
+	select BUSYBOX_GZIP
+	select BUSYBOX_TAR
+	select BUSYBOX_CLEAR
+	select BUSYBOX_RESET
+	select BUSYBOX_BASENAME
+	select BUSYBOX_CAT
+	select BUSYBOX_DATE
+	select BUSYBOX_ID
+	select BUSYBOX_GROUPS
+	select BUSYBOX_TEST
+	select BUSYBOX_TOUCH
+	select BUSYBOX_TR
+	select BUSYBOX_WHO
+	select BUSYBOX_CAL
+	select BUSYBOX_CHGRP
+	select BUSYBOX_CHMOD
+	select BUSYBOX_CHOWN
+	select BUSYBOX_CHROOT
+	select BUSYBOX_CP
+	select BUSYBOX_CUT
+	select BUSYBOX_DD
+	select BUSYBOX_DF
+	select BUSYBOX_DIRNAME
+	select BUSYBOX_DU
+	select BUSYBOX_ECHO
+	select BUSYBOX_ENV
+	select BUSYBOX_EXPR
+	select BUSYBOX_HEAD
+	select BUSYBOX_LN
+	select BUSYBOX_LS
+	select BUSYBOX_MD5SUM
+	select BUSYBOX_MKDIR
+	select BUSYBOX_MKFIFO
+	select BUSYBOX_MKNOD
+	select BUSYBOX_MV
+	select BUSYBOX_PRINTF
+	select BUSYBOX_PWD
+	select BUSYBOX_RM
+	select BUSYBOX_SLEEP
+	select BUSYBOX_SORT
+	select BUSYBOX_STAT
+	select BUSYBOX_TAIL
+	select BUSYBOX_FEATURE_FANCY_TAIL
+	select BUSYBOX_TEE
+	select BUSYBOX_UNAME
+	select BUSYBOX_WC
+	select BUSYBOX_MKTEMP
+	select BUSYBOX_WHICH
+	select BUSYBOX_VI
+	select BUSYBOX_AWK
+	select BUSYBOX_SED
+	select BUSYBOX_FIND
+	select BUSYBOX_GREP
+	select BUSYBOX_XARGS
+	select BUSYBOX_HALT
+	select BUSYBOX_INIT
+	select BUSYBOX_SU
+	select BUSYBOX_STRINGS
+	select BUSYBOX_TIME
+	select BUSYBOX_RUN_PARTS
+
+config ADK_PACKAGE_BUSYBOX_MINIMAL
+	bool "activate minimal set of applets"
+	select BUSYBOX_AWK
+	select BUSYBOX_SED
+	select BUSYBOX_RUN_PARTS
+	select BUSYBOX_TEE
+	select BUSYBOX_SORT
+	select BUSYBOX_GUNZIP
+	select BUSYBOX_GZIP
+	select BUSYBOX_TAR
+	select BUSYBOX_BASENAME
+	select BUSYBOX_CAT
+	select BUSYBOX_DATE
+	select BUSYBOX_ID
+	select BUSYBOX_TEST
+	select BUSYBOX_TOUCH
+	select BUSYBOX_CHGRP
+	select BUSYBOX_CHMOD
+	select BUSYBOX_CHOWN
+	select BUSYBOX_CHROOT
+	select BUSYBOX_CP
+	select BUSYBOX_CUT
+	select BUSYBOX_DD
+	select BUSYBOX_DF
+	select BUSYBOX_DIRNAME
+	select BUSYBOX_DU
+	select BUSYBOX_ECHO
+	select BUSYBOX_ENV
+	select BUSYBOX_HEAD
+	select BUSYBOX_TAIL
+	select BUSYBOX_FEATURE_FANCY_TAIL
+	select BUSYBOX_LN
+	select BUSYBOX_LS
+	select BUSYBOX_MKDIR
+	select BUSYBOX_MV
+	select BUSYBOX_PRINTF
+	select BUSYBOX_PWD
+	select BUSYBOX_RM
+	select BUSYBOX_UNAME
+	select BUSYBOX_VI
+	select BUSYBOX_FIND
+	select BUSYBOX_GREP
+	select BUSYBOX_HALT
+	select BUSYBOX_INIT
+	select BUSYBOX_WHOAMI
+
+config ADK_PACKAGE_BUSYBOX_ALL
+	bool "activate all applets"
+	select BUSYBOX_DESKTOP
+	select BUSYBOX_FEATURE_UTMP
+	select BUSYBOX_GUNZIP
+	select BUSYBOX_GZIP
+	select BUSYBOX_TAR
+	select BUSYBOX_CLEAR
+	select BUSYBOX_RESET
+	select BUSYBOX_BASENAME
+	select BUSYBOX_CAT
+	select BUSYBOX_DATE
+	select BUSYBOX_ID
+	select BUSYBOX_GROUPS
+	select BUSYBOX_TEST
+	select BUSYBOX_TOUCH
+	select BUSYBOX_TR
+	select BUSYBOX_WHO
+	select BUSYBOX_CAL
+	select BUSYBOX_CHGRP
+	select BUSYBOX_CHMOD
+	select BUSYBOX_CHOWN
+	select BUSYBOX_CHROOT
+	select BUSYBOX_CP
+	select BUSYBOX_CUT
+	select BUSYBOX_DD
+	select BUSYBOX_DF
+	select BUSYBOX_DIRNAME
+	select BUSYBOX_DU
+	select BUSYBOX_ECHO
+	select BUSYBOX_ENV
+	select BUSYBOX_EXPR
+	select BUSYBOX_HEAD
+	select BUSYBOX_LN
+	select BUSYBOX_LS
+	select BUSYBOX_MD5SUM
+	select BUSYBOX_MKDIR
+	select BUSYBOX_MKFIFO
+	select BUSYBOX_MKNOD
+	select BUSYBOX_MV
+	select BUSYBOX_PRINTF
+	select BUSYBOX_PWD
+	select BUSYBOX_RM
+	select BUSYBOX_SLEEP
+	select BUSYBOX_SORT
+	select BUSYBOX_STAT
+	select BUSYBOX_TAIL
+	select BUSYBOX_TEE
+	select BUSYBOX_FEATURE_FANCY_TAIL
+	select BUSYBOX_UNAME
+	select BUSYBOX_WC
+	select BUSYBOX_MKTEMP
+	select BUSYBOX_WHICH
+	select BUSYBOX_VI
+	select BUSYBOX_AWK
+	select BUSYBOX_SED
+	select BUSYBOX_FIND
+	select BUSYBOX_GREP
+	select BUSYBOX_XARGS
+	select BUSYBOX_HALT
+	select BUSYBOX_INIT
+	select BUSYBOX_SU
+	select BUSYBOX_STRINGS
+	select BUSYBOX_TIME
+	select BUSYBOX_RUN_PARTS
+
+endchoice
+
 config ADK_PACKAGE_BUSYBOX_HIDE
 	bool "hide packages provided by busybox applets"
 	depends on ADK_PACKAGE_BUSYBOX

+ 1 - 2
package/busybox/config/archival/Config.in

@@ -6,7 +6,6 @@
 
 menu "Archival Utilities"
 
-
 config BUSYBOX_FEATURE_SEAMLESS_XZ
 	bool "Make tar, rpm, modprobe etc understand .xz data"
 	default y
@@ -292,7 +291,7 @@ config BUSYBOX_FEATURE_TAR_OLDGNU_COMPATIBILITY
 
 config BUSYBOX_FEATURE_TAR_OLDSUN_COMPATIBILITY
 	bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
-	default y
+	default n
 	depends on BUSYBOX_TAR || BUSYBOX_DPKG
 	help
 	  This option is required to unpack archives created by some old

+ 5 - 6
package/busybox/config/console-tools/Config.in

@@ -6,10 +6,9 @@
 
 menu "Console Utilities"
 
-
 config BUSYBOX_CHVT
 	bool "chvt"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  This program is used to change to another terminal.
@@ -24,7 +23,7 @@ config BUSYBOX_FGCONSOLE
 
 config BUSYBOX_CLEAR
 	bool "clear"
-	default y
+	default n
 	help
 	  This program clears the terminal screen.
 
@@ -67,7 +66,7 @@ config BUSYBOX_LOADKMAP
 
 config BUSYBOX_OPENVT
 	bool "openvt"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  This program is used to start a command on an unused
@@ -75,7 +74,7 @@ config BUSYBOX_OPENVT
 
 config BUSYBOX_RESET
 	bool "reset"
-	default y
+	default n
 	help
 	  This program is used to reset the terminal screen, if it
 	  gets messed up.
@@ -99,7 +98,7 @@ config BUSYBOX_FEATURE_RESIZE_PRINT
 
 config BUSYBOX_SETCONSOLE
 	bool "setconsole"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  This program redirects the system console to another device,

+ 84 - 83
package/busybox/config/coreutils/Config.in

@@ -30,7 +30,7 @@ config BUSYBOX_DATE
 
 config BUSYBOX_FEATURE_DATE_ISOFMT
 	bool "Enable ISO date format output (-I)"
-	default y
+	default n
 	depends on BUSYBOX_DATE
 	help
 	  Enable option (-I) to output an ISO-8601 compliant
@@ -47,7 +47,7 @@ config BUSYBOX_FEATURE_DATE_NANO
 
 config BUSYBOX_FEATURE_DATE_COMPAT
 	bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format"
-	default y
+	default n
 	depends on BUSYBOX_DATE
 	help
 	  System time can be set by 'date -s DATE' and simply 'date DATE',
@@ -63,7 +63,7 @@ config BUSYBOX_FEATURE_DATE_COMPAT
 
 config BUSYBOX_HOSTID
 	bool "hostid"
-	default y
+	default n
 	help
 	  hostid prints the numeric identifier (in hexadecimal) for
 	  the current host.
@@ -76,7 +76,7 @@ config BUSYBOX_ID
 
 config BUSYBOX_GROUPS
 	bool "groups"
-	default y
+	default n
 	help
 	  Print the group names associated with current user id.
 
@@ -110,7 +110,7 @@ config BUSYBOX_TOUCH
 
 config BUSYBOX_FEATURE_TOUCH_NODEREF
 	bool "Add support for -h"
-	default y
+	default n
 	depends on BUSYBOX_TOUCH
 	help
 	  Enable touch to have the -h option.
@@ -118,13 +118,14 @@ config BUSYBOX_FEATURE_TOUCH_NODEREF
 
 config BUSYBOX_FEATURE_TOUCH_SUSV3
 	bool "Add support for SUSV3 features (-d -t -r)"
-	default y
+	default n
 	depends on BUSYBOX_TOUCH
 	help
 	  Enable touch to use a reference file or a given date/time argument.
+
 config BUSYBOX_TR
 	bool "tr"
-	default y
+	default n
 	help
 	  tr is used to squeeze, and/or delete characters from standard
 	  input, writing to standard output.
@@ -157,39 +158,39 @@ config BUSYBOX_TRUNCATE
 
 config BUSYBOX_UNLINK
 	bool "unlink"
-	default y
+	default n
 	help
 	  unlink deletes a file by calling unlink()
 
 config BUSYBOX_BASE64
 	bool "base64"
-	default y
+	default n
 	help
 	  Base64 encode and decode
 
 config BUSYBOX_WHO
       bool "who"
-      default y
+      default n
       depends on BUSYBOX_FEATURE_UTMP
       help
         who is used to show who is logged on.
 
 config BUSYBOX_USERS
       bool "users"
-      default y
+      default n
       depends on BUSYBOX_FEATURE_UTMP
       help
         Print users currently logged on.
 
 config BUSYBOX_CAL
 	bool "cal"
-	default y
+	default n
 	help
 	  cal is used to display a monthly calender.
 
 config BUSYBOX_CATV
 	bool "catv"
-	default y
+	default n
 	help
 	  Display nonprinting characters as escape sequences (like some
 	  implementations' cat -v option).
@@ -215,7 +216,7 @@ config BUSYBOX_CHOWN
 
 config BUSYBOX_FEATURE_CHOWN_LONG_OPTIONS
 	bool "Enable long options"
-	default y
+	default n
 	depends on BUSYBOX_CHOWN && BUSYBOX_LONG_OPTS
 	help
 	  Enable use of long options
@@ -229,13 +230,13 @@ config BUSYBOX_CHROOT
 
 config BUSYBOX_CKSUM
 	bool "cksum"
-	default y
+	default n
 	help
 	  cksum is used to calculate the CRC32 checksum of a file.
 
 config BUSYBOX_COMM
 	bool "comm"
-	default y
+	default n
 	help
 	  comm is used to compare two files line by line and return
 	  a three-column output.
@@ -248,7 +249,7 @@ config BUSYBOX_CP
 
 config BUSYBOX_FEATURE_CP_LONG_OPTIONS
 	bool "Enable long options for cp"
-	default y
+	default n
 	depends on BUSYBOX_CP && BUSYBOX_LONG_OPTS
 	help
 	  Enable long options for cp.
@@ -271,7 +272,7 @@ config BUSYBOX_DD
 
 config BUSYBOX_FEATURE_DD_SIGNAL_HANDLING
 	bool "Enable DD signal handling for status reporting"
-	default y
+	default n
 	depends on BUSYBOX_DD
 	help
 	  Sending a SIGUSR1 signal to a running `dd' process makes it
@@ -285,7 +286,7 @@ config BUSYBOX_FEATURE_DD_SIGNAL_HANDLING
 
 config BUSYBOX_FEATURE_DD_THIRD_STATUS_LINE
 	bool "Enable the third status line upon signal"
-	default y
+	default n
 	depends on BUSYBOX_DD && BUSYBOX_FEATURE_DD_SIGNAL_HANDLING
 	help
 	  Displays a coreutils-like third status line with transferred bytes,
@@ -315,7 +316,7 @@ config BUSYBOX_DF
 
 config BUSYBOX_FEATURE_DF_FANCY
 	bool "Enable -a, -i, -B"
-	default y
+	default n
 	depends on BUSYBOX_DF
 	help
 	  This option enables -a, -i and -B.
@@ -333,14 +334,14 @@ config BUSYBOX_DIRNAME
 
 config BUSYBOX_DOS2UNIX
 	bool "dos2unix/unix2dos"
-	default y
+	default n
 	help
 	  dos2unix is used to convert a text file from DOS format to
 	  UNIX format, and vice versa.
 
 config BUSYBOX_UNIX2DOS
 	bool
-	default y
+	default n
 	depends on BUSYBOX_DOS2UNIX
 	help
 	  unix2dos is used to convert a text file from UNIX format to
@@ -384,27 +385,27 @@ config BUSYBOX_ENV
 
 config BUSYBOX_FEATURE_ENV_LONG_OPTIONS
 	bool "Enable long options"
-	default y
+	default n
 	depends on BUSYBOX_ENV && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the env applet.
 
 config BUSYBOX_EXPAND
 	bool "expand"
-	default y
+	default n
 	help
 	  By default, convert all tabs to spaces.
 
 config BUSYBOX_FEATURE_EXPAND_LONG_OPTIONS
 	bool "Enable long options"
-	default y
+	default n
 	depends on BUSYBOX_EXPAND && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the expand applet.
 
 config BUSYBOX_EXPR
 	bool "expr"
-	default y
+	default n
 	help
 	  expr is used to calculate numbers and print the result
 	  to standard output.
@@ -420,19 +421,19 @@ config BUSYBOX_EXPR_MATH_SUPPORT_64
 
 config BUSYBOX_FALSE
 	bool "false"
-	default y
+	default n
 	help
 	  false returns an exit code of FALSE (1).
 
 config BUSYBOX_FOLD
 	bool "fold"
-	default y
+	default n
 	help
 	  Wrap text to fit a specific width.
 
 config BUSYBOX_FSYNC
 	bool "fsync"
-	default y
+	default n
 	help
 	  fsync is used to flush file-related cached blocks to disk.
 
@@ -445,20 +446,20 @@ config BUSYBOX_HEAD
 
 config BUSYBOX_FEATURE_FANCY_HEAD
 	bool "Enable head options (-c, -q, and -v)"
-	default y
+	default n
 	depends on BUSYBOX_HEAD
 	help
 	  This enables the head options (-c, -q, and -v).
 
 config BUSYBOX_INSTALL
 	bool "install"
-	default y
+	default n
 	help
 	  Copy files and set attributes.
 
 config BUSYBOX_FEATURE_INSTALL_LONG_OPTIONS
 	bool "Enable long options"
-	default y
+	default n
 	depends on BUSYBOX_INSTALL && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the install applet.
@@ -477,7 +478,7 @@ config BUSYBOX_LN
 
 config BUSYBOX_LOGNAME
 	bool "logname"
-	default y
+	default n
 	help
 	  logname is used to print the current user's login name.
 
@@ -489,14 +490,14 @@ config BUSYBOX_LS
 
 config BUSYBOX_FEATURE_LS_FILETYPES
 	bool "Enable filetyping options (-p and -F)"
-	default y
+	default n
 	depends on BUSYBOX_LS
 	help
 	  Enable the ls options (-p and -F).
 
 config BUSYBOX_FEATURE_LS_FOLLOWLINKS
 	bool "Enable symlinks dereferencing (-L)"
-	default y
+	default n
 	depends on BUSYBOX_LS
 	help
 	  Enable the ls option (-L).
@@ -531,14 +532,14 @@ config BUSYBOX_FEATURE_LS_USERNAME
 
 config BUSYBOX_FEATURE_LS_COLOR
 	bool "Allow use of color to identify file types"
-	default y
+	default n
 	depends on BUSYBOX_LS && BUSYBOX_LONG_OPTS
 	help
 	  This enables the --color option to ls.
 
 config BUSYBOX_FEATURE_LS_COLOR_IS_DEFAULT
 	bool "Produce colored ls output by default"
-	default y
+	default n
 	depends on BUSYBOX_FEATURE_LS_COLOR
 	help
 	  Saying yes here will turn coloring on by default,
@@ -549,7 +550,7 @@ config BUSYBOX_FEATURE_LS_COLOR_IS_DEFAULT
 
 config BUSYBOX_MD5SUM
 	bool "md5sum"
-	default y
+	default n
 	help
 	  md5sum is used to print or check MD5 checksums.
 
@@ -561,21 +562,21 @@ config BUSYBOX_MKDIR
 
 config BUSYBOX_FEATURE_MKDIR_LONG_OPTIONS
 	bool "Enable long options"
-	default y
+	default n
 	depends on BUSYBOX_MKDIR && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the mkdir applet.
 
 config BUSYBOX_MKFIFO
 	bool "mkfifo"
-	default y
+	default n
 	help
 	  mkfifo is used to create FIFOs (named pipes).
 	  The `mknod' program can also create FIFOs.
 
 config BUSYBOX_MKNOD
 	bool "mknod"
-	default y
+	default n
 	help
 	  mknod is used to create FIFOs or block/character special
 	  files with the specified names.
@@ -588,32 +589,32 @@ config BUSYBOX_MV
 
 config BUSYBOX_FEATURE_MV_LONG_OPTIONS
 	bool "Enable long options"
-	default y
+	default n
 	depends on BUSYBOX_MV && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the mv applet.
 
 config BUSYBOX_NICE
 	bool "nice"
-	default y
+	default n
 	help
 	  nice runs a program with modified scheduling priority.
 
 config BUSYBOX_NOHUP
 	bool "nohup"
-	default y
+	default n
 	help
 	  run a command immune to hangups, with output to a non-tty.
 
 config BUSYBOX_OD
 	bool "od"
-	default y
+	default n
 	help
 	  od is used to dump binary files in octal and other formats.
 
 config BUSYBOX_PRINTENV
 	bool "printenv"
-	default y
+	default n
 	help
 	  printenv is used to print all or part of environment.
 
@@ -632,21 +633,21 @@ config BUSYBOX_PWD
 
 config BUSYBOX_READLINK
 	bool "readlink"
-	default y
+	default n
 	help
 	  This program reads a symbolic link and returns the name
 	  of the file it points to
 
 config BUSYBOX_FEATURE_READLINK_FOLLOW
 	bool "Enable canonicalization by following all symlinks (-f)"
-	default y
+	default n
 	depends on BUSYBOX_READLINK
 	help
 	  Enable the readlink option (-f).
 
 config BUSYBOX_REALPATH
 	bool "realpath"
-	default y
+	default n
 	help
 	  Return the canonicalized absolute pathname.
 	  This isn't provided by GNU shellutils, but where else does it belong.
@@ -659,13 +660,13 @@ config BUSYBOX_RM
 
 config BUSYBOX_RMDIR
 	bool "rmdir"
-	default y
+	default n
 	help
 	  rmdir is used to remove empty directories.
 
 config BUSYBOX_FEATURE_RMDIR_LONG_OPTIONS
 	bool "Enable long options"
-	default y
+	default n
 	depends on BUSYBOX_RMDIR && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the rmdir applet, including
@@ -673,37 +674,37 @@ config BUSYBOX_FEATURE_RMDIR_LONG_OPTIONS
 
 config BUSYBOX_SEQ
 	bool "seq"
-	default y
+	default n
 	help
 	  print a sequence of numbers
 
 config BUSYBOX_SHA1SUM
 	bool "sha1sum"
-	default y
+	default n
 	help
 	  Compute and check SHA1 message digest
 
 config BUSYBOX_SHA256SUM
 	bool "sha256sum"
-	default y
+	default n
 	help
 	  Compute and check SHA256 message digest
 
 config BUSYBOX_SHA512SUM
 	bool "sha512sum"
-	default y
+	default n
 	help
 	  Compute and check SHA512 message digest
 
 config BUSYBOX_SHA3SUM
        bool "sha3sum"
-       default y
+       default n
        help
          Compute and check SHA3 (512-bit) message digest
 
 config BUSYBOX_SLEEP
 	bool "sleep"
-	default y
+	default n
 	help
 	  sleep is used to pause for a specified number of seconds.
 	  It comes in 3 versions:
@@ -717,7 +718,7 @@ config BUSYBOX_SLEEP
 
 config BUSYBOX_FEATURE_FANCY_SLEEP
 	bool "Enable multiple arguments and s/m/h/d suffixes"
-	default y
+	default n
 	depends on BUSYBOX_SLEEP
 	help
 	  Allow sleep to pause for specified minutes, hours, and days.
@@ -731,7 +732,7 @@ config BUSYBOX_FEATURE_FLOAT_SLEEP
 
 config BUSYBOX_SORT
 	bool "sort"
-	default y
+	default n
 	help
 	  sort is used to sort lines of text in specified files.
 
@@ -749,13 +750,13 @@ config BUSYBOX_FEATURE_SORT_BIG
 
 config BUSYBOX_SPLIT
 	bool "split"
-	default y
+	default n
 	help
 	  split a file into pieces.
 
 config BUSYBOX_FEATURE_SPLIT_FANCY
 	bool "Fancy extensions"
-	default y
+	default n
 	depends on BUSYBOX_SPLIT
 	help
 	  Add support for features not required by SUSv3.
@@ -764,14 +765,14 @@ config BUSYBOX_FEATURE_SPLIT_FANCY
 
 config BUSYBOX_STAT
 	bool "stat"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX # statfs()
 	help
 	  display file or filesystem status.
 
 config BUSYBOX_FEATURE_STAT_FORMAT
 	bool "Enable custom formats (-c)"
-	default y
+	default n
 	depends on BUSYBOX_STAT
 	help
 	  Without this, stat will not support the '-c format' option where
@@ -780,19 +781,19 @@ config BUSYBOX_FEATURE_STAT_FORMAT
 
 config BUSYBOX_STTY
 	bool "stty"
-	default y
+	default n
 	help
 	  stty is used to change and print terminal line settings.
 
 config BUSYBOX_SUM
 	bool "sum"
-	default y
+	default n
 	help
 	  checksum and count the blocks in a file
 
 config BUSYBOX_SYNC
 	bool "sync"
-	default y
+	default n
 	help
 	  sync is used to flush filesystem buffers.
 
@@ -806,20 +807,20 @@ config BUSYBOX_FEATURE_SYNC_FANCY
 
 config BUSYBOX_TAC
 	bool "tac"
-	default y
+	default n
 	help
 	  tac is used to concatenate and print files in reverse.
 
 config BUSYBOX_TAIL
 	bool "tail"
-	default y
+	default n
 	help
 	  tail is used to print the last specified number of lines
 	  from files.
 
 config BUSYBOX_FEATURE_FANCY_TAIL
 	bool "Enable extra tail options (-q, -s, -v, and -F)"
-	default y
+	default n
 	depends on BUSYBOX_TAIL
 	help
 	  The options (-q, -s, and -v) are provided by GNU tail, but
@@ -831,7 +832,7 @@ config BUSYBOX_FEATURE_FANCY_TAIL
 
 config BUSYBOX_TEE
 	bool "tee"
-	default y
+	default n
 	help
 	  tee is used to read from standard input and write
 	  to standard output and files.
@@ -845,13 +846,13 @@ config BUSYBOX_FEATURE_TEE_USE_BLOCK_IO
 
 config BUSYBOX_TRUE
 	bool "true"
-	default y
+	default n
 	help
 	  true returns an exit code of TRUE (0).
 
 config BUSYBOX_TTY
 	bool "tty"
-	default y
+	default n
 	help
 	  tty is used to print the name of the current terminal to
 	  standard output.
@@ -872,65 +873,65 @@ config BUSYBOX_UNAME_OSNAME
 
 config BUSYBOX_UNEXPAND
 	bool "unexpand"
-	default y
+	default n
 	help
 	  By default, convert only leading sequences of blanks to tabs.
 
 config BUSYBOX_FEATURE_UNEXPAND_LONG_OPTIONS
 	bool "Enable long options"
-	default y
+	default n
 	depends on BUSYBOX_UNEXPAND && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the unexpand applet.
 
 config BUSYBOX_UNIQ
 	bool "uniq"
-	default y
+	default n
 	help
 	  uniq is used to remove duplicate lines from a sorted file.
 
 config BUSYBOX_USLEEP
 	bool "usleep"
-	default y
+	default n
 	help
 	  usleep is used to pause for a specified number of microseconds.
 
 config BUSYBOX_UUDECODE
 	bool "uudecode"
-	default y
+	default n
 	help
 	  uudecode is used to decode a uuencoded file.
 
 config BUSYBOX_UUENCODE
 	bool "uuencode"
-	default y
+	default n
 	help
 	  uuencode is used to uuencode a file.
 
 config BUSYBOX_WC
 	bool "wc"
-	default y
+	default n
 	help
 	  wc is used to print the number of bytes, words, and lines,
 	  in specified files.
 
 config BUSYBOX_FEATURE_WC_LARGE
 	bool "Support very large files in wc"
-	default y
+	default n
 	depends on BUSYBOX_WC
 	help
 	  Use "unsigned long long" in wc for counter variables.
 
 config BUSYBOX_WHOAMI
 	bool "whoami"
-	default y
+	default n
 	help
 	  whoami is used to print the username of the current
 	  user id (same as id -un).
 
 config BUSYBOX_YES
 	bool "yes"
-	default y
+	default n
 	help
 	  yes is used to repeatedly output a specific string, or
 	  the default string `y'.
@@ -939,7 +940,7 @@ comment "Common options"
 
 config BUSYBOX_FEATURE_VERBOSE
 	bool "Support verbose options (usually -v) for various applets"
-	default y
+	default n
 	help
 	  Enable cp -v, rm -v and similar messages.
 	  Also enables long option (--verbose) if it exists.

+ 8 - 9
package/busybox/config/debianutils/Config.in

@@ -6,22 +6,21 @@
 
 menu "Debian Utilities"
 
-
 config BUSYBOX_MKTEMP
 	bool "mktemp"
-	default y
+	default n
 	help
 	  mktemp is used to create unique temporary files
 
 config BUSYBOX_PIPE_PROGRESS
 	bool "pipe_progress"
-	default y
+	default n
 	help
 	  Display a dot to indicate pipe activity.
 
 config BUSYBOX_RUN_PARTS
 	bool "run-parts"
-	default y
+	default n
 	help
 	  run-parts is a utility designed to run all the scripts in a directory.
 
@@ -36,14 +35,14 @@ config BUSYBOX_RUN_PARTS
 
 config BUSYBOX_FEATURE_RUN_PARTS_LONG_OPTIONS
 	bool "Enable long options"
-	default y
+	default n
 	depends on BUSYBOX_RUN_PARTS && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the run-parts applet.
 
 config BUSYBOX_FEATURE_RUN_PARTS_FANCY
 	bool "Support additional arguments"
-	default y
+	default n
 	depends on BUSYBOX_RUN_PARTS
 	help
 	  Support additional options:
@@ -60,7 +59,7 @@ config BUSYBOX_START_STOP_DAEMON
 
 config BUSYBOX_FEATURE_START_STOP_DAEMON_FANCY
 	bool "Support additional arguments"
-	default y
+	default n
 	depends on BUSYBOX_START_STOP_DAEMON
 	help
 	  Support additional arguments.
@@ -70,14 +69,14 @@ config BUSYBOX_FEATURE_START_STOP_DAEMON_FANCY
 
 config BUSYBOX_FEATURE_START_STOP_DAEMON_LONG_OPTIONS
 	bool "Enable long options"
-	default y
+	default n
 	depends on BUSYBOX_START_STOP_DAEMON && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the start-stop-daemon applet.
 
 config BUSYBOX_WHICH
 	bool "which"
-	default y
+	default n
 	help
 	  which is used to find programs in your PATH and
 	  print out their pathnames.

+ 3 - 4
package/busybox/config/e2fsprogs/Config.in

@@ -6,10 +6,9 @@
 
 menu "Linux Ext2 FS Progs"
 
-
 config BUSYBOX_CHATTR
 	bool "chattr"
-	default y
+	default n
 	help
 	  chattr changes the file attributes on a second extended file system.
 
@@ -24,7 +23,7 @@ config BUSYBOX_CHATTR
 
 config BUSYBOX_FSCK
 	bool "fsck"
-	default y
+	default n
 	help
 	  fsck is used to check and optionally repair one or more filesystems.
 	  In actuality, fsck is simply a front-end for the various file system
@@ -32,7 +31,7 @@ config BUSYBOX_FSCK
 
 config BUSYBOX_LSATTR
 	bool "lsattr"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  lsattr lists the file attributes on a second extended file system.

+ 10 - 10
package/busybox/config/editors/Config.in

@@ -164,14 +164,14 @@ config BUSYBOX_FEATURE_VI_UNDO_QUEUE_MAX
 
 config BUSYBOX_AWK
 	bool "awk"
-	default y
+	default n
 	help
 	  Awk is used as a pattern scanning and processing language. This is
 	  the BusyBox implementation of that programming language.
 
 config BUSYBOX_FEATURE_AWK_LIBM
 	bool "Enable math functions (requires libm)"
-	default y
+	default n
 	depends on BUSYBOX_AWK
 	help
 	  Enable math functions of the Awk programming language.
@@ -179,7 +179,7 @@ config BUSYBOX_FEATURE_AWK_LIBM
 
 config BUSYBOX_FEATURE_AWK_GNU_EXTENSIONS
 	bool "Enable a few GNU extensions"
-	default y
+	default n
 	depends on BUSYBOX_AWK
 	help
 	  Enable a few features from gawk:
@@ -190,7 +190,7 @@ config BUSYBOX_FEATURE_AWK_GNU_EXTENSIONS
 
 config BUSYBOX_CMP
 	bool "cmp"
-	default y
+	default n
 	help
 	  cmp is used to compare two files and returns the result
 	  to standard output.
@@ -198,7 +198,7 @@ config BUSYBOX_CMP
 config BUSYBOX_DIFF
 	bool "diff"
 	depends on !BUSYBOX_DISABLE_DIFF
-	default y
+	default n
 	help
 	  diff compares two files or directories and outputs the
 	  differences between them in a form that can be given to
@@ -206,14 +206,14 @@ config BUSYBOX_DIFF
 
 config BUSYBOX_FEATURE_DIFF_LONG_OPTIONS
 	bool "Enable long options"
-	default y
+	default n
 	depends on BUSYBOX_DIFF && BUSYBOX_LONG_OPTS
 	help
 	  Enable use of long options.
 
 config BUSYBOX_FEATURE_DIFF_DIR
 	bool "Enable directory support"
-	default y
+	default n
 	depends on BUSYBOX_DIFF
 	help
 	  This option enables support for directory and subdirectory
@@ -222,7 +222,7 @@ config BUSYBOX_FEATURE_DIFF_DIR
 config BUSYBOX_ED
 	bool "ed"
 	depends on !BUSYBOX_DISABLE_ED
-	default y
+	default n
 	help
 	  The original 1970's Unix text editor, from the days of teletypes.
 	  Small, simple, evil. Part of SUSv3. If you're not already using
@@ -231,14 +231,14 @@ config BUSYBOX_ED
 config BUSYBOX_SED
 	bool "sed"
 	depends on !BUSYBOX_DISABLE_SED
-	default y
+	default n
 	help
 	  sed is used to perform text transformations on a file
 	  or input from a pipeline.
 
 config BUSYBOX_FEATURE_ALLOW_EXEC
 	bool "Allow vi and awk to execute shell commands"
-	default y
+	default n
 	depends on BUSYBOX_VI || BUSYBOX_AWK
 	help
 	  Enables vi and awk features which allows user to execute

+ 1 - 1
package/busybox/config/findutils/Config.in

@@ -234,7 +234,7 @@ config BUSYBOX_FEATURE_GREP_CONTEXT
 
 config BUSYBOX_XARGS
 	bool "xargs"
-	default y
+	default n
 	help
 	  xargs is used to execute a specified command for
 	  every item from standard input.

+ 1 - 0
package/busybox/config/init/Config.in

@@ -165,6 +165,7 @@ config BUSYBOX_INIT_TERMINAL_TYPE
 
 	  Note that on Linux, init attempts to detect serial terminal and
 	  sets TERM to "vt102" if one is found.
+
 config BUSYBOX_MESG
 	bool "mesg"
 	default n

+ 10 - 10
package/busybox/config/loginutils/Config.in

@@ -106,13 +106,13 @@ config BUSYBOX_USE_BB_CRYPT_SHA
 
 config BUSYBOX_ADDUSER
 	bool "adduser"
-	default y
+	default n
 	help
 	  Utility for creating a new user account.
 
 config BUSYBOX_FEATURE_ADDUSER_LONG_OPTIONS
 	bool "Enable long options"
-	default y
+	default n
 	depends on BUSYBOX_ADDUSER && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the adduser applet.
@@ -154,20 +154,20 @@ config BUSYBOX_LAST_SYSTEM_ID
 
 config BUSYBOX_ADDGROUP
 	bool "addgroup"
-	default y
+	default n
 	help
 	  Utility for creating a new group account.
 
 config BUSYBOX_FEATURE_ADDGROUP_LONG_OPTIONS
 	bool "Enable long options"
-	default y
+	default n
 	depends on BUSYBOX_ADDGROUP && BUSYBOX_LONG_OPTS
 	help
 	  Support long options for the addgroup applet.
 
 config BUSYBOX_FEATURE_ADDUSER_TO_GROUP
 	bool "Support for adding users to groups"
-	default y
+	default n
 	depends on BUSYBOX_ADDGROUP
 	help
 	  If  called  with two non-option arguments,
@@ -176,19 +176,19 @@ config BUSYBOX_FEATURE_ADDUSER_TO_GROUP
 
 config BUSYBOX_DELUSER
 	bool "deluser"
-	default y
+	default n
 	help
 	  Utility for deleting a user account.
 
 config BUSYBOX_DELGROUP
 	bool "delgroup"
-	default y
+	default n
 	help
 	  Utility for deleting a group account.
 
 config BUSYBOX_FEATURE_DEL_USER_FROM_GROUP
 	bool "Support for removing users from groups"
-	default y
+	default n
 	depends on BUSYBOX_DELGROUP
 	help
 	  If called with two non-option arguments, deluser
@@ -252,7 +252,7 @@ config BUSYBOX_LOGIN_SCRIPTS
 
 config BUSYBOX_FEATURE_NOLOGIN
 	bool "Support for /etc/nologin"
-	default y
+	default n
 	depends on BUSYBOX_LOGIN
 	help
 	  The file /etc/nologin is used by (some versions of) login(1).
@@ -311,7 +311,7 @@ config BUSYBOX_FEATURE_DEFAULT_PASSWD_ALGO
 
 config BUSYBOX_SU
 	bool "su"
-	default y
+	default n
 	select BUSYBOX_FEATURE_SYSLOG
 	help
 	  su is used to become another user during a login session.

+ 15 - 15
package/busybox/config/miscutils/Config.in

@@ -18,28 +18,28 @@ config BUSYBOX_CONSPY
 
 config BUSYBOX_I2CGET
 	bool "i2cget"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  Read from I2C/SMBus chip registers.
 
 config BUSYBOX_I2CSET
 	bool "i2cset"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  Set I2C registers.
 
 config BUSYBOX_I2CDUMP
 	bool "i2cdump"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  Examine I2C registers.
 
 config BUSYBOX_I2CDETECT
 	bool "i2cdetect"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  Detect I2C chips.
@@ -47,7 +47,7 @@ config BUSYBOX_I2CDETECT
 config BUSYBOX_LESS
 	bool "less"
 	depends on !BUSYBOX_DISABLE_LESS
-	default y
+	default n
 	help
 	  'less' is a pager, meaning that it displays text files. It possesses
 	  a wide array of features, and is an improvement over 'more'.
@@ -370,7 +370,7 @@ config BUSYBOX_DC
 
 config BUSYBOX_FEATURE_DC_LIBM
 	bool "Enable power and exp functions (requires libm)"
-	default y
+	default n
 	depends on BUSYBOX_DC
 	help
 	  Enable power and exp functions.
@@ -398,7 +398,7 @@ config BUSYBOX_DEVFSD
 
 config BUSYBOX_DEVFSD_MODLOAD
 	bool "Adds support for MODLOAD keyword in devsfd.conf"
-	default y
+	default n
 	depends on BUSYBOX_DEVFSD
 	help
 	  This actually doesn't work with busybox modutils but needs
@@ -406,7 +406,7 @@ config BUSYBOX_DEVFSD_MODLOAD
 
 config BUSYBOX_DEVFSD_FG_NP
 	bool "Enables the -fg and -np options"
-	default y
+	default n
 	depends on BUSYBOX_DEVFSD
 	help
 	  -fg  Run the daemon in the foreground.
@@ -415,7 +415,7 @@ config BUSYBOX_DEVFSD_FG_NP
 
 config BUSYBOX_DEVFSD_VERBOSE
 	bool "Increases logging (and size)"
-	default y
+	default n
 	depends on BUSYBOX_DEVFSD
 	help
 	  Increases logging to stderr or syslog.
@@ -435,7 +435,7 @@ config BUSYBOX_FEATURE_DEVFS
 
 config BUSYBOX_DEVMEM
 	bool "devmem"
-	default y
+	default n
 	help
 	  devmem is a small program that reads and writes from physical
 	  memory using /dev/mem.
@@ -449,7 +449,7 @@ config BUSYBOX_EJECT
 
 config BUSYBOX_FEATURE_EJECT_SCSI
 	bool "SCSI support"
-	default y
+	default n
 	depends on BUSYBOX_EJECT
 	help
 	  Add the -s option to eject, this allows to eject SCSI-Devices and
@@ -522,7 +522,7 @@ config BUSYBOX_INOTIFYD
 
 config BUSYBOX_LAST
 	bool "last"
-	default y
+	default n
 	depends on BUSYBOX_FEATURE_WTMP
 	help
 	  'last' displays a list of the last users that logged into the system.
@@ -727,7 +727,7 @@ config BUSYBOX_SETSID
 
 config BUSYBOX_STRINGS
 	bool "strings"
-	default y
+	default n
 	help
 	  strings prints the printable character sequences for each file
 	  specified.
@@ -750,7 +750,7 @@ config BUSYBOX_FEATURE_TASKSET_FANCY
 
 config BUSYBOX_TIME
 	bool "time"
-	default y
+	default n
 	help
 	  The time command runs the specified program with the given arguments.
 	  When the command finishes, time writes a message to standard output
@@ -780,7 +780,7 @@ config BUSYBOX_VOLNAME
 
 config BUSYBOX_WALL
 	bool "wall"
-	default y
+	default n
 	depends on BUSYBOX_FEATURE_UTMP
 	help
 	  Write a message to all users that are logged in.

+ 2 - 2
package/busybox/config/modutils/Config.in

@@ -8,7 +8,7 @@ menu "Linux Module Utilities"
 
 config BUSYBOX_MODINFO
 	bool "modinfo"
-	default y
+	default n
 	depends on !BUSYBOX_DISABLE_KMOD
 	select BUSYBOX_PLATFORM_LINUX
 	help
@@ -209,7 +209,7 @@ config BUSYBOX_FEATURE_INSMOD_LOAD_MAP
 
 config BUSYBOX_FEATURE_INSMOD_LOAD_MAP_FULL
 	bool "Symbols in load map"
-	default y
+	default n
 	depends on BUSYBOX_FEATURE_INSMOD_LOAD_MAP && !BUSYBOX_MODPROBE_SMALL
 	select BUSYBOX_PLATFORM_LINUX
 	help

+ 31 - 31
package/busybox/config/networking/Config.in

@@ -8,7 +8,7 @@ menu "Networking Utilities"
 
 config BUSYBOX_NAMEIF
 	bool "nameif"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	select BUSYBOX_FEATURE_SYSLOG
 	help
@@ -44,7 +44,7 @@ config BUSYBOX_NBDCLIENT
 
 config BUSYBOX_NC
 	bool "nc"
-	default y
+	default n
 	help
 	  A simple Unix utility which reads and writes data across network
 	  connections.
@@ -77,7 +77,7 @@ config BUSYBOX_NC_110_COMPAT
 
 config BUSYBOX_PING
 	bool "ping"
-	default y
+	default y if ADK_TARGET_WITH_NET
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to
@@ -85,7 +85,7 @@ config BUSYBOX_PING
 
 config BUSYBOX_PING6
 	bool "ping6"
-	default y
+	default y if ADK_TARGET_WITH_NET
 	depends on BUSYBOX_FEATURE_IPV6 && BUSYBOX_PING
 	help
 	  This will give you a ping that can talk IPv6.
@@ -100,7 +100,7 @@ config BUSYBOX_FEATURE_FANCY_PING
 
 config BUSYBOX_WHOIS
 	bool "whois"
-	default y
+	default n
 	help
 	  whois is a client for the whois directory service
 
@@ -147,14 +147,14 @@ config BUSYBOX_VERBOSE_RESOLUTION_ERRORS
 
 config BUSYBOX_ARP
 	bool "arp"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  Manipulate the system ARP cache.
 
 config BUSYBOX_ARPING
 	bool "arping"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  Ping hosts by ARP packets.
@@ -387,7 +387,7 @@ config BUSYBOX_FEATURE_HTTPD_GZIP
 
 config BUSYBOX_IFCONFIG
 	bool "ifconfig"
-	default y
+	default y if ADK_TARGET_WITH_NET
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  Ifconfig is used to configure the kernel-resident network interfaces.
@@ -451,7 +451,7 @@ config BUSYBOX_IFPLUGD
 
 config BUSYBOX_IFUPDOWN
 	bool "ifupdown"
-	default y
+	default y if ADK_TARGET_WITH_NET
 	help
 	  Activate or deactivate the specified interfaces. This applet makes
 	  use of either "ifconfig" and "route" or the "ip" command to actually
@@ -538,7 +538,7 @@ config BUSYBOX_FEATURE_IFUPDOWN_IPV6
 
 config BUSYBOX_FEATURE_IFUPDOWN_MAPPING
 	bool "Enable mapping support"
-	default y
+	default n
 	depends on BUSYBOX_IFUPDOWN
 	help
 	  This enables support for the "mapping" stanza, unless you have
@@ -607,7 +607,7 @@ config BUSYBOX_FEATURE_INETD_RPC
 config BUSYBOX_IP
 	bool "ip"
 	depends on !BUSYBOX_DISABLE_IP
-	default y
+	default y if ADK_TARGET_WITH_NET
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  The "ip" applet is a TCP/IP interface configuration and routing
@@ -644,21 +644,21 @@ config BUSYBOX_FEATURE_IP_ROUTE_DIR
 
 config BUSYBOX_FEATURE_IP_TUNNEL
 	bool "ip tunnel"
-	default y
+	default n
 	depends on BUSYBOX_IP
 	help
 	  Add support for tunneling commands to "ip".
 
 config BUSYBOX_FEATURE_IP_RULE
 	bool "ip rule"
-	default y
+	default n
 	depends on BUSYBOX_IP
 	help
 	  Add support for rule commands to "ip".
 
 config BUSYBOX_FEATURE_IP_SHORT_FORMS
 	bool "Support short forms of ip commands"
-	default y
+	default n
 	depends on BUSYBOX_IP
 	help
 	  Also support short-form of ip <OBJECT> commands:
@@ -683,27 +683,27 @@ config BUSYBOX_FEATURE_IP_RARE_PROTOCOLS
 
 config BUSYBOX_IPADDR
 	bool
-	default y
+	default n
 	depends on BUSYBOX_FEATURE_IP_SHORT_FORMS && BUSYBOX_FEATURE_IP_ADDRESS
 
 config BUSYBOX_IPLINK
 	bool
-	default y
+	default n
 	depends on BUSYBOX_FEATURE_IP_SHORT_FORMS && BUSYBOX_FEATURE_IP_LINK
 
 config BUSYBOX_IPROUTE
 	bool
-	default y
+	default n
 	depends on BUSYBOX_FEATURE_IP_SHORT_FORMS && BUSYBOX_FEATURE_IP_ROUTE
 
 config BUSYBOX_IPTUNNEL
 	bool
-	default y
+	default n
 	depends on BUSYBOX_FEATURE_IP_SHORT_FORMS && BUSYBOX_FEATURE_IP_TUNNEL
 
 config BUSYBOX_IPRULE
 	bool
-	default y
+	default n
 	depends on BUSYBOX_FEATURE_IP_SHORT_FORMS && BUSYBOX_FEATURE_IP_RULE
 
 config BUSYBOX_IPCALC
@@ -730,14 +730,14 @@ config BUSYBOX_FEATURE_IPCALC_LONG_OPTIONS
 
 config BUSYBOX_NETSTAT
 	bool "netstat"
-	default y
+	default y if ADK_TARGET_WITH_NET
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  netstat prints information about the Linux networking subsystem.
 
 config BUSYBOX_FEATURE_NETSTAT_WIDE
 	bool "Enable wide netstat output"
-	default y
+	default n
 	depends on BUSYBOX_NETSTAT
 	help
 	  Add support for wide columns. Useful when displaying IPv6 addresses
@@ -753,7 +753,7 @@ config BUSYBOX_FEATURE_NETSTAT_PRG
 
 config BUSYBOX_NSLOOKUP
 	bool "nslookup"
-	default y
+	default y if ADK_TARGET_WITH_NET
 	help
 	  nslookup is a tool to query Internet name servers.
 
@@ -790,7 +790,7 @@ config BUSYBOX_PSCAN
 
 config BUSYBOX_ROUTE
 	bool "route"
-	default y
+	default y if ADK_TARGET_WITH_NET
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  Route displays or manipulates the kernel's IP routing tables.
@@ -822,7 +822,7 @@ config BUSYBOX_TCPSVD
 
 config BUSYBOX_TELNET
 	bool "telnet"
-	default y
+	default y if ADK_TARGET_WITH_NET
 	help
 	  Telnet is an interface to the TELNET protocol, but is also commonly
 	  used to test other simple protocols.
@@ -984,14 +984,14 @@ config BUSYBOX_TFTP_DEBUG
 
 config BUSYBOX_TRACEROUTE
 	bool "traceroute"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  Utility to trace the route of IP packets.
 
 config BUSYBOX_TRACEROUTE6
 	bool "traceroute6"
-	default y
+	default n
 	depends on BUSYBOX_FEATURE_IPV6 && BUSYBOX_TRACEROUTE
 	help
 	  Utility to trace the route of IPv6 packets.
@@ -1021,7 +1021,7 @@ config BUSYBOX_FEATURE_TRACEROUTE_USE_ICMP
 
 config BUSYBOX_TUNCTL
 	bool "tunctl"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  tunctl creates or deletes tun devices.
@@ -1054,7 +1054,7 @@ config BUSYBOX_UDPSVD
 
 config BUSYBOX_VCONFIG
 	bool "vconfig"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  Creates, removes, and configures VLAN interfaces
@@ -1062,7 +1062,7 @@ config BUSYBOX_VCONFIG
 config BUSYBOX_WGET
 	bool "wget"
 	depends on !BUSYBOX_DISABLE_WGET
-	default y
+	default n
 	help
 	  wget is a utility for non-interactive download of files from HTTP,
 	  HTTPS, and FTP servers.
@@ -1102,7 +1102,7 @@ config BUSYBOX_FEATURE_WGET_TIMEOUT
 
 config BUSYBOX_FEATURE_WGET_OPENSSL
 	bool "Try to connect to HTTPS using openssl"
-	default y
+	default n
 	depends on BUSYBOX_WGET
 	help
 	  Choose how wget establishes SSL connection for https:// URLs.
@@ -1125,7 +1125,7 @@ config BUSYBOX_FEATURE_WGET_OPENSSL
 
 config BUSYBOX_FEATURE_WGET_SSL_HELPER
 	bool "Try to connect to HTTPS using ssl_helper"
-	default y
+	default n
 	depends on BUSYBOX_WGET
 	help
 	  Choose how wget establishes SSL connection for https:// URLs.

+ 16 - 16
package/busybox/config/procps/Config.in

@@ -8,13 +8,13 @@ menu "Process Utilities"
 
 config BUSYBOX_IOSTAT
 	bool "iostat"
-	default y
+	default n
 	help
 	  Report CPU and I/O statistics
 
 config BUSYBOX_LSOF
 	bool "lsof"
-	default y
+	default n
 	help
 	  Show open files in the format of:
 	  PID <TAB> /path/to/executable <TAB> /path/to/opened/file
@@ -33,7 +33,7 @@ config BUSYBOX_NMETER
 
 config BUSYBOX_PMAP
        bool "pmap"
-       default y
+       default n
        help
          Display processes' memory mappings.
 
@@ -45,7 +45,7 @@ config BUSYBOX_POWERTOP
 
 config BUSYBOX_PSTREE
 	bool "pstree"
-	default y
+	default n
 	help
 	  Display a tree of processes.
 
@@ -73,14 +73,14 @@ config BUSYBOX_UPTIME
 
 config BUSYBOX_FEATURE_UPTIME_UTMP_SUPPORT
 	bool "Support for showing the number of users"
-	default y
+	default n
 	depends on BUSYBOX_UPTIME && BUSYBOX_FEATURE_UTMP
 	help
 	  Makes uptime display the number of users currently logged on.
 
 config BUSYBOX_FREE
 	bool "free"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX #sysinfo()
 	help
 	  free displays the total amount of free and used physical and swap
@@ -89,7 +89,7 @@ config BUSYBOX_FREE
 
 config BUSYBOX_FUSER
 	bool "fuser"
-	default y
+	default n
 	help
 	  fuser lists all PIDs (Process IDs) that currently have a given
 	  file open. fuser can also list all PIDs that have a given network
@@ -105,7 +105,7 @@ config BUSYBOX_KILL
 
 config BUSYBOX_KILLALL
 	bool "killall"
-	default y
+	default n
 	depends on BUSYBOX_KILL
 	help
 	  killall sends a signal to all processes running any of the
@@ -125,7 +125,7 @@ config BUSYBOX_PGREP
 
 config BUSYBOX_PIDOF
 	bool "pidof"
-	default y
+	default n
 	help
 	  Pidof finds the process id's (pids) of the named programs. It prints
 	  those id's on the standard output.
@@ -148,7 +148,7 @@ config BUSYBOX_FEATURE_PIDOF_OMIT
 
 config BUSYBOX_PKILL
 	bool "pkill"
-	default y
+	default n
 	help
 	  Send signals to processes by name.
 
@@ -169,7 +169,7 @@ config BUSYBOX_FEATURE_PS_WIDE
 
 config BUSYBOX_FEATURE_PS_LONG
 	bool "Enable long output option (-l)"
-	default y
+	default n
 	depends on BUSYBOX_PS && !BUSYBOX_DESKTOP
 	help
 	  Support argument 'l' for long output.
@@ -177,7 +177,7 @@ config BUSYBOX_FEATURE_PS_LONG
 
 config BUSYBOX_FEATURE_PS_TIME
 	bool "Enable time and elapsed time output"
-	default y
+	default n
 	depends on BUSYBOX_PS && BUSYBOX_DESKTOP
 	select BUSYBOX_PLATFORM_LINUX
 	help
@@ -185,7 +185,7 @@ config BUSYBOX_FEATURE_PS_TIME
 
 config BUSYBOX_FEATURE_PS_ADDITIONAL_COLUMNS
 	bool "Enable additional ps columns"
-	default y
+	default n
 	depends on BUSYBOX_PS && BUSYBOX_DESKTOP
 	help
 	  Support -o rgroup, -o ruser, -o nice output specifiers.
@@ -200,7 +200,7 @@ config BUSYBOX_FEATURE_PS_UNUSUAL_SYSTEMS
 
 config BUSYBOX_RENICE
 	bool "renice"
-	default y
+	default n
 	help
 	  Renice alters the scheduling priority of one or more running
 	  processes.
@@ -213,7 +213,7 @@ config BUSYBOX_BB_SYSCTL
 
 config BUSYBOX_TOP
 	bool "top"
-	default y
+	default n
 	help
 	  The top program provides a dynamic real-time view of a running
 	  system.
@@ -275,7 +275,7 @@ config BUSYBOX_FEATURE_SHOW_THREADS
 
 config BUSYBOX_WATCH
 	bool "watch"
-	default y
+	default n
 	help
 	  watch is used to execute a program periodically, showing
 	  output to the screen.

+ 10 - 10
package/busybox/config/util-linux/Config.in

@@ -92,7 +92,7 @@ config BUSYBOX_REV
 
 config BUSYBOX_UEVENT
 	bool "uevent"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  uevent is a netlink listener for kernel uevent notifications
@@ -224,7 +224,7 @@ config BUSYBOX_FDFORMAT
 
 config BUSYBOX_FDISK
 	bool "fdisk"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  The fdisk utility is used to divide hard disks into one or more
@@ -380,7 +380,7 @@ config BUSYBOX_MKFS_VFAT
 
 config BUSYBOX_GETOPT
 	bool "getopt"
-	default y
+	default n
 	help
 	  The getopt utility is used to break up (parse) options in command
 	  lines to make it easy to write complex shell scripts that also check
@@ -398,7 +398,7 @@ config BUSYBOX_FEATURE_GETOPT_LONG
 
 config BUSYBOX_HEXDUMP
 	bool "hexdump"
-	default y
+	default n
 	help
 	  The hexdump utility is used to display binary data in a readable
 	  way that is comparable to the output from most hex editors.
@@ -415,7 +415,7 @@ config BUSYBOX_FEATURE_HEXDUMP_REVERSE
 
 config BUSYBOX_HD
 	bool "hd"
-	default y
+	default n
 	depends on BUSYBOX_HEXDUMP
 	help
 	  hd is an alias to hexdump -C.
@@ -470,7 +470,7 @@ config BUSYBOX_IPCS
 
 config BUSYBOX_LOSETUP
 	bool "losetup"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  losetup is used to associate or detach a loop device with a regular
@@ -544,14 +544,14 @@ config BUSYBOX_MOUNT
 
 config BUSYBOX_FEATURE_MOUNT_FAKE
 	bool "Support option -f"
-	default y
+	default n
 	depends on BUSYBOX_MOUNT
 	help
 	  Enable support for faking a file system mount.
 
 config BUSYBOX_FEATURE_MOUNT_VERBOSE
 	bool "Support option -v"
-	default y
+	default n
 	depends on BUSYBOX_MOUNT
 	help
 	  Enable multi-level -v[vv...] verbose messages. Useful if you
@@ -641,7 +641,7 @@ config BUSYBOX_PIVOT_ROOT
 config BUSYBOX_RDATE
 	bool "rdate"
 	depends on !BUSYBOX_DISABLE_RDATE
-	default y
+	default n
 	help
 	  The rdate utility allows you to synchronize the date and time of your
 	  system clock with the date and time of a remote networked system using
@@ -721,7 +721,7 @@ config BUSYBOX_FEATURE_SWAPON_PRI
 
 config BUSYBOX_SWITCH_ROOT
 	bool "switch_root"
-	default y
+	default n
 	select BUSYBOX_PLATFORM_LINUX
 	help
 	  The switch_root utility is used from initramfs to select a new

+ 2 - 2
scripts/rstrip.sh

@@ -45,8 +45,8 @@ find $TARGETS -type f -a -exec file {} \; | \
 	case $line in
 	*ELF*executable*,\ not\ stripped*)
 		S=executable ;;
-	*/lib/modules/3.*.o:*ELF*relocatable*,\ not\ stripped* | \
-	*/lib/modules/3.*.ko:*ELF*relocatable*,\ not\ stripped*)
+	*/lib/modules/*.o:*ELF*relocatable*,\ not\ stripped* | \
+	*/lib/modules/*.ko:*ELF*relocatable*,\ not\ stripped*)
 		# kernel module parametres must not be stripped off
 		T="$T --strip-unneeded $(echo $(${prefix}nm $F | \
 		    sed -n -e '/__param_/s/^.*__param_/-K /p' \

+ 6 - 0
target/config/Config.in.gdb

@@ -4,12 +4,18 @@
 choice
 prompt "GNU debugger version"
 default ADK_TOOLCHAIN_GDB_7_9_1 if ADK_TARGET_ARCH_BFIN
+default ADK_TOOLCHAIN_GDB_H8300_GIT if ADK_TARGET_ARCH_H8300
 default ADK_TOOLCHAIN_GDB_7_10_1
 
 config ADK_TOOLCHAIN_GDB_GIT
 	bool "git"
 	depends on !ADK_TARGET_ARCH_AVR32
 	depends on !ADK_TARGET_ARCH_BFIN
+	depends on !ADK_TARGET_ARCH_H8300
+
+config ADK_TOOLCHAIN_GDB_H8300_GIT
+	bool "h8300-git"
+	depends on ADK_TARGET_ARCH_H8300
 
 config ADK_TOOLCHAIN_GDB_7_10_1
 	bool "7.10.1"

+ 16 - 17
target/config/Config.in.runtime

@@ -10,7 +10,6 @@ config ADK_RUNTIME_HOSTNAME
 choice
 prompt "init"
 depends on !ADK_TOOLCHAIN_ONLY
-default ADK_RUNTIME_INIT_SIMPLEINIT if ADK_TARGET_WITHOUT_MMU
 default ADK_RUNTIME_INIT_SYSV
 
 config ADK_RUNTIME_INIT_SYSV
@@ -112,7 +111,7 @@ config ADK_RUNTIME_TMPFS_SIZE
 	default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
 	default "32768" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
 	default "8192" if ADK_TARGET_SYSTEM_MIKROTIK_RB532
-	default "2048"
+	default "1024"
 	depends on !ADK_RUNTIME_INIT_SIMPLEINIT
 	help
 	  Size of /tmp in memory in Kilobyte.
@@ -290,7 +289,7 @@ config ADK_RUNTIME_KBD_LAYOUT
 
 choice
 prompt "initial login shell for the root user"
-default ADK_ROOTSH_SASH if ADK_TARGET_WITHOUT_MMU
+default ADK_ROOTSH_HUSH if ADK_TARGET_WITHOUT_MMU
 default ADK_ROOTSH_MKSH
 
 config ADK_ROOTSH_MKSH
@@ -300,19 +299,19 @@ config ADK_ROOTSH_MKSH
 	  Use mksh (a Korn Shell variant) as standard login shell
 	  for the superuser.
 
+config ADK_ROOTSH_HUSH
+	bool "hush (busybox shell compatible with non-MMU systems)"
+	select BUSYBOX_HUSH if !ADK_TOOLCHAIN_ONLY
+	select BUSYBOX_FEATURE_SH_IS_HUSH if !ADK_TOOLCHAIN_ONLY
+	help
+	  hush shell from busybox.
+
 config ADK_ROOTSH_SASH
 	bool "sash (Shell compatible with non-MMU systems)"
 	select ADK_PACKAGE_SASH if !ADK_TOOLCHAIN_ONLY
 	help
 	  standalone shell.
 
-config ADK_ROOTSH_HUSH
-	bool "hush (busybox shell compatible with non-MMU systems)"
-	select BUSYBOX_HUSH
-	select BUSYBOX_FEATURE_SH_IS_HUSH
-	help
-	  hush shell from busybox.
-
 config ADK_ROOTSH_ASH
 	bool "ash (busybox shell)"
 	select BUSYBOX_ASH
@@ -345,7 +344,7 @@ endchoice
 
 choice
 prompt "system /bin/sh (POSIX script shell)"
-default ADK_BINSH_SASH if ADK_TARGET_WITHOUT_MMU
+default ADK_BINSH_HUSH if ADK_TARGET_WITHOUT_MMU
 default ADK_BINSH_MKSH
 
 config ADK_BINSH_MKSH
@@ -355,18 +354,18 @@ config ADK_BINSH_MKSH
 	  Use mksh (a Korn Shell variant) as system shell, which is
 	  both small and powerful, so quite suited for this task.
 
+config ADK_BINSH_HUSH
+	bool "hush (busybox)"
+	select ADK_PACKAGE_HUSH if !ADK_TOOLCHAIN_ONLY
+	help
+	  hush shell.
+
 config ADK_BINSH_SASH
 	bool "sash (Standalone Shell)"
 	select ADK_PACKAGE_SASH if !ADK_TOOLCHAIN_ONLY
 	help
 	  sash shell.
 
-config ADK_BINSH_HUSH
-	bool "hush (busybox)"
-	select ADK_PACKAGE_HUSH
-	help
-	  hush shell.
-
 config ADK_BINSH_ASH
 	bool "ash (busybox)"
 	select BUSYBOX_ASH

+ 4 - 1
target/config/Config.in.target

@@ -29,6 +29,7 @@ config ADK_TARGET_ROOTFS_INITRAMFS
 		ADK_TARGET_ARCH_X86_64
 	depends on !ADK_TARGET_VBOX
 	depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
+	depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
 	select ADK_KERNEL_BLK_DEV_INITRD
 	help
 	  create an read-only initramfs system.
@@ -135,6 +136,7 @@ config ADK_TARGET_ROOTFS_ISO
 config ADK_TARGET_ROOTFS_INITRAMFSARCHIVE
 	bool "Archive usable for initramfs creation"
 	depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532 \
+		&& !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208 \
 		&& !ADK_TARGET_SIM
 	select ADK_KERNEL_BLK_DEV_INITRD
 	help
@@ -144,7 +146,8 @@ config ADK_TARGET_ROOTFS_ARCHIVE
 	bool "Archive usable for different filesystems"
 	select ADK_HOST_NEED_GENEXT2FS if ADK_TARGET_QEMU || ADK_TARGET_VBOX
 	select ADK_KERNEL_EXT2_FS if ADK_TARGET_QEMU || ADK_TARGET_VBOX
-	depends on !ADK_TARGET_SIM
+	depends on !ADK_TARGET_SIM \
+		&& !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
 	help
 	  Use this option if your root filesystem is ext2/ext3/ext4/xfs.
 

+ 1 - 2
target/linux/config/Config.in.fs

@@ -8,7 +8,6 @@ config ADK_KERNEL_MISC_FILESYSTEMS
 
 config ADK_KERNEL_FSNOTIFY
 	bool
-	default y
 
 config ADK_KERNEL_EXPORTFS
 	tristate
@@ -256,7 +255,7 @@ menu "Filesystem features"
 
 config ADK_KERNEL_INOTIFY_USER
 	bool "Inotify support for userspace"
-	default y
+	default n
 	help
 	  Say Y here to enable inotify support for userspace, including the
 	  associated system calls.  Inotify allows monitoring of both files and

+ 4 - 0
target/linux/config/Config.in.kernel

@@ -204,6 +204,10 @@ config ADK_KERNEL_UEVENT_HELPER_PATH
 	default "/sbin/mdev"
 	depends on ADK_RUNTIME_DEV_MDEV
 
+config ADK_KERNEL_BINFMT_ELF
+	bool
+	default y if ADK_TARGET_BINFMT_ELF
+
 config ADK_KERNEL_BINFMT_ELF_FDPIC
 	bool
 	default y if ADK_TARGET_BINFMT_FDPIC

+ 0 - 3
target/linux/kernel.config

@@ -6,15 +6,12 @@ CONFIG_POSIX_MQUEUE=y
 CONFIG_POSIX_MQUEUE_SYSCTL=y
 CONFIG_PROC_FS=y
 CONFIG_PROC_SYSCTL=y
-CONFIG_FILE_LOCKING=y
 CONFIG_SYSFS=y
 CONFIG_TMPFS=y
 CONFIG_NLS=y
 CONFIG_EMBEDDED=y
 CONFIG_MODULES=y
-CONFIG_BINFMT_ELF=y
 CONFIG_BINFMT_SCRIPT=y
-CONFIG_STANDALONE=y
 CONFIG_FUTEX=y
 CONFIG_EPOLL=y
 CONFIG_SIGNALFD=y

+ 0 - 17
target/linux/patches/4.3/regmap-default-on.patch

@@ -1,17 +0,0 @@
-diff -Nur linux-4.1.6.orig/drivers/base/regmap/Kconfig linux-4.1.6/drivers/base/regmap/Kconfig
---- linux-4.1.6.orig/drivers/base/regmap/Kconfig	2015-08-17 05:52:51.000000000 +0200
-+++ linux-4.1.6/drivers/base/regmap/Kconfig	2015-08-29 22:18:50.329683337 +0200
-@@ -3,7 +3,7 @@
- # subsystems should select the appropriate symbols.
- 
- config REGMAP
--	default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ)
-+	default y
- 	select LZO_COMPRESS
- 	select LZO_DECOMPRESS
- 	select IRQ_DOMAIN if REGMAP_IRQ
-@@ -29,3 +29,4 @@
- 
- config REGMAP_IRQ
- 	bool
-+	default y