Subject: [PATCH] staging: really fix up Kconfig automatic deselction

From: Dmitry Eremin-Solenikov <[email-masked]>
Date: Tue, 9 Dec 2008 04:10:51 +0300

Signed-off-by: Dmitry Eremin-Solenikov <[email-masked]>
---
 drivers/staging/Kconfig |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
index 4089f14..1905919 100644
--- a/drivers/staging/Kconfig
+++ b/drivers/staging/Kconfig
@@ -39,6 +39,8 @@ config STAGING_EXCLUDE_BUILD
 	  when selecting 'make allyesconfg' and 'make allmodconfig' so
 	  don't be all that put off, your dog will be just fine.
 
+if !STAGING_EXCLUDE_BUILD
+
 source "drivers/staging/et131x/Kconfig"
 
 source "drivers/staging/slicoss/Kconfig"
@@ -62,3 +64,5 @@ source "drivers/staging/at76_usb/Kconfig"
 source "drivers/staging/poch/Kconfig"
 
 endif # !STAGING_EXCLUDE_BUILD
+
+endif # STAGING
-- 
1.5.6.5