From 5e53c7d3d38f65ee47a788ab26560cddcea21844 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Mon, 7 May 2007 16:22:28 +0000 Subject: [PATCH] * added SDECFG_PKG_BUSYBOX_DEFCONFIG option to busybox so we can choose to not enable any appled by default (allnoconfig) instead of enabling everything by default (defconfig) git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20996 10447126-35f2-4685-b0cf-6dd780d3921f --- base/busybox/busybox.conf | 6 +++++- base/busybox/config.in | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/base/busybox/busybox.conf b/base/busybox/busybox.conf index 083cf3b0b..8d6a19a12 100644 --- a/base/busybox/busybox.conf +++ b/base/busybox/busybox.conf @@ -31,7 +31,11 @@ busybox_config() { # generate default config rules default_config > $builddir/.config - eval $MAKE defconfig ARCH=$BB_arch + if [ "$SDECFG_PKG_BUSYBOX_DEFCONFIG" == 0 ]; then + eval $MAKE allnoconfig ARCH=$BB_arch + else + eval $MAKE defconfig ARCH=$BB_arch + fi conffiles_loop 2 ARCH=$BB_arch } diff --git a/base/busybox/config.in b/base/busybox/config.in index 7dc70d451..902de87bb 100644 --- a/base/busybox/config.in +++ b/base/busybox/config.in @@ -26,6 +26,7 @@ then block_end fi bool 'Create Busybox symlinks' SDECFG_PKG_BUSYBOX_SYMLINKS 0 + bool 'Enable everything by default' SDECFG_PKG_BUSYBOX_DEFCONFIG 1 bool 'Enable SUSv2 backward compatibility' SDECFG_PKG_BUSYBOX_SUSv2 0 menu_end fi