aboutsummaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-01-25 08:06:00 -0600
committerRob Landley <rob@landley.net>2019-01-25 08:06:00 -0600
commitec3b378c036c5c63844f7345ec8b7da11447cf63 (patch)
tree1283c19ba07cf0d809b6cbadf61e0071a2256080 /kconfig
parentb8070a742549e418e5e96e69cfd88f7e8d41880e (diff)
downloadtoybox-ec3b378c036c5c63844f7345ec8b7da11447cf63.tar.gz
Add "make bsd_defconfig" and "make macos_defconfig".
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/Makefile8
-rw-r--r--kconfig/macos_miniconfig111
2 files changed, 119 insertions, 0 deletions
diff --git a/kconfig/Makefile b/kconfig/Makefile
index d62fe78b..f18938c9 100644
--- a/kconfig/Makefile
+++ b/kconfig/Makefile
@@ -32,6 +32,12 @@ allnoconfig: $(obj)/conf $(KCONFIG_TOP)
defconfig: $(obj)/conf $(KCONFIG_TOP)
$< -D /dev/null $(KCONFIG_TOP) > /dev/null
+macos_defconfig: $(obj)/conf $(KCONFIG_TOP)
+ KCONFIG_ALLCONFIG=$(obj)/macos_miniconfig $< -n $(KCONFIG_TOP) > /dev/null
+
+bsd_defconfig: $(obj)/conf $(KCONFIG_TOP)
+ KCONFIG_ALLCONFIG=$(obj)/freebsd_miniconfig $< -n $(KCONFIG_TOP) > /dev/null
+
# Help text used by make help
help::
@echo ' config - Update current config utilising a line-oriented program'
@@ -46,6 +52,8 @@ help::
@echo ' for further configuration (probably with menuconfig)'
@echo ' allnoconfig - New config where all options are answered with no'
@echo ' (NOP binary, starting point for further configuration)'
+ @echo ' macos_defconfig - Select commands known to build on macosx'
+ @echo ' bsd_defconfig - Select commands known to build on freebsd'
# Cheesy build
diff --git a/kconfig/macos_miniconfig b/kconfig/macos_miniconfig
new file mode 100644
index 00000000..82f3ac54
--- /dev/null
+++ b/kconfig/macos_miniconfig
@@ -0,0 +1,111 @@
+CONFIG_BASENAME=y
+CONFIG_CAL=y
+CONFIG_CAT=y
+CONFIG_CAT_V=y
+CONFIG_CATV=y
+CONFIG_CHGRP=y
+CONFIG_CHOWN=y
+CONFIG_CHMOD=y
+CONFIG_CKSUM=y
+CONFIG_CRC32=y
+CONFIG_CMP=y
+CONFIG_COMM=y
+CONFIG_CPIO=y
+CONFIG_CUT=y
+CONFIG_DATE=y
+CONFIG_DIRNAME=y
+CONFIG_DU=y
+CONFIG_ECHO=y
+CONFIG_ENV=y
+CONFIG_EXPAND=y
+CONFIG_FALSE=y
+CONFIG_FILE=y
+CONFIG_FIND=y
+CONFIG_GETCONF=y
+CONFIG_GREP=y
+CONFIG_HEAD=y
+CONFIG_ICONV=y
+CONFIG_ID=y
+CONFIG_GROUPS=y
+CONFIG_LOGNAME=y
+CONFIG_WHOAMI=y
+CONFIG_KILL=y
+CONFIG_KILLALL5=y
+CONFIG_LINK=y
+CONFIG_LN=y
+CONFIG_LOGGER=y
+CONFIG_LS=y
+CONFIG_MKDIR=y
+CONFIG_MKFIFO=y
+CONFIG_NICE=y
+CONFIG_NL=y
+CONFIG_NOHUP=y
+CONFIG_OD=y
+CONFIG_PASTE=y
+CONFIG_PATCH=y
+CONFIG_PRINTF=y
+CONFIG_PWD=y
+CONFIG_RENICE=y
+CONFIG_RM=y
+CONFIG_RMDIR=y
+CONFIG_SED=y
+CONFIG_SLEEP=y
+CONFIG_SORT=y
+CONFIG_SPLIT=y
+CONFIG_STRINGS=y
+CONFIG_TEE=y
+CONFIG_TIME=y
+CONFIG_TOUCH=y
+CONFIG_TRUE=y
+CONFIG_TTY=y
+CONFIG_UNAME=y
+CONFIG_UNIQ=y
+CONFIG_UNLINK=y
+CONFIG_UUDECODE=y
+CONFIG_UUENCODE=y
+CONFIG_WC=y
+CONFIG_WHO=y
+CONFIG_XARGS=y
+CONFIG_TR=y
+CONFIG_ASCII=y
+CONFIG_BASE64=y
+CONFIG_CLEAR=y
+CONFIG_COUNT=y
+CONFIG_DOS2UNIX=y
+CONFIG_UNIX2DOS=y
+CONFIG_FACTOR=y
+CONFIG_FLOCK=y
+CONFIG_FMT=y
+CONFIG_HELP=y
+CONFIG_HELP_EXTRAS=y
+CONFIG_HEXEDIT=y
+CONFIG_PRINTENV=y
+CONFIG_PWDX=y
+CONFIG_READLINK=y
+CONFIG_REALPATH=y
+CONFIG_REV=y
+CONFIG_SETSID=y
+CONFIG_TAC=y
+CONFIG_TIMEOUT=y
+CONFIG_TRUNCATE=y
+CONFIG_USLEEP=y
+CONFIG_UUIDGEN=y
+CONFIG_WATCH=y
+CONFIG_W=y
+CONFIG_WHICH=y
+CONFIG_XXD=y
+CONFIG_YES=y
+CONFIG_FTPGET=y
+CONFIG_FTPPUT=y
+CONFIG_MICROCOM=y
+CONFIG_NETCAT=y
+CONFIG_NETCAT_LISTEN=y
+CONFIG_HOSTNAME=y
+CONFIG_MD5SUM=y
+CONFIG_SHA1SUM=y
+CONFIG_SEQ=y
+CONFIG_TOYBOX_SUID=y
+CONFIG_TOYBOX_FLOAT=y
+CONFIG_TOYBOX_HELP=y
+CONFIG_TOYBOX_HELP_DASHDASH=y
+CONFIG_TOYBOX_I18N=y