aboutsummaryrefslogtreecommitdiff
path: root/kconfig/Makefile
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/Makefile
parentb8070a742549e418e5e96e69cfd88f7e8d41880e (diff)
downloadtoybox-ec3b378c036c5c63844f7345ec8b7da11447cf63.tar.gz
Add "make bsd_defconfig" and "make macos_defconfig".
Diffstat (limited to 'kconfig/Makefile')
-rw-r--r--kconfig/Makefile8
1 files changed, 8 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