aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>2008-03-01 13:29:39 -0500
committerLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>2008-03-01 13:29:39 -0500
commita34cb8c806ca63f67508bc63b7e4aa6a9e1d9dcc (patch)
treeff228aee72cce02b68d6e66e59e8496a623976b6
parenta9cf0a06977ed29d8bc32d8f9fb78b00aa26eb27 (diff)
downloadcompat-wireless-2.6-old-a34cb8c806ca63f67508bc63b7e4aa6a9e1d9dcc.tar.gz
If no .config for your kernel is found we'll assume the following
CONFIG_PCI=y CONFIG_USB=y CONFIG_PCMCIA=y Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
-rw-r--r--config.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 0d91e0d..1a69a7d 100644
--- a/config.mk
+++ b/config.mk
@@ -4,7 +4,13 @@ export
## Make sure to have each variable declaration start
## in the first column, no whitespace allowed.
+ifeq ($(wildcard $(KLIB)/.config),)
+CONFIG_PCI=y
+CONFIG_USB=y
+CONFIG_PCMCIA=y
+else
include $(KLIB)/.config
+endif
# Wireless subsystem stuff
CONFIG_MAC80211=m