From ec3b378c036c5c63844f7345ec8b7da11447cf63 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 25 Jan 2019 08:06:00 -0600 Subject: Add "make bsd_defconfig" and "make macos_defconfig". --- kconfig/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'kconfig/Makefile') 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 -- cgit v1.2.3