summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-05-19 16:16:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-05-19 16:16:48 +0000
commit84b235140c0f3925d262aca6172078430d016124 (patch)
treea92e21db3443570e5358a41c83b3bfbbbae2c1f2
parent940b1f3cb5e0b90d4351d4619e15d8df44a02091 (diff)
downloadmtk-20170518-84b235140c0f3925d262aca6172078430d016124.zip
mtk-20170518-84b235140c0f3925d262aca6172078430d016124.tar.gz
mtk-20170518-84b235140c0f3925d262aca6172078430d016124.tar.bz2
fix pcmcia/pccard build defaults
SVN-Revision: 7275
-rw-r--r--include/kernel-build.mk2
-rw-r--r--target/linux/brcm-2.4/config/default2
-rw-r--r--target/linux/generic-2.6/config-template2
-rw-r--r--target/linux/x86-2.6/config/default2
4 files changed, 5 insertions, 3 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 9037b5c..e3c532c 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -25,7 +25,7 @@ endif
ifneq ($(CONFIG_USB),)
FEATURES += usb
endif
-ifneq ($(CONFIG_PCMCIA),)
+ifneq ($(CONFIG_PCMCIA)$(CONFIG_PCCARD),)
FEATURES += pcmcia
endif
ifneq ($(CONFIG_VIDEO_DEV),)
diff --git a/target/linux/brcm-2.4/config/default b/target/linux/brcm-2.4/config/default
index 2828170..9039acf 100644
--- a/target/linux/brcm-2.4/config/default
+++ b/target/linux/brcm-2.4/config/default
@@ -195,6 +195,8 @@ CONFIG_PARPORT=m
# CONFIG_PARPORT_PC is not set
CONFIG_PARPORT_SPLINK=m
# CONFIG_PARPORT_SUNBPP is not set
+CONFIG_PCCARD=m
+CONFIG_PCCARD_NONSTATIC=m
CONFIG_PCI=y
CONFIG_PCI_AUTO=y
# CONFIG_PCI_HERMES is not set
diff --git a/target/linux/generic-2.6/config-template b/target/linux/generic-2.6/config-template
index a35715e..9fdab70 100644
--- a/target/linux/generic-2.6/config-template
+++ b/target/linux/generic-2.6/config-template
@@ -739,8 +739,6 @@ CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
# CONFIG_PARPORT is not set
CONFIG_PARTITION_ADVANCED=y
-CONFIG_PCCARD=m
-CONFIG_PCCARD_NONSTATIC=m
CONFIG_PCI=y
CONFIG_PCI_ATMEL=m
CONFIG_PCI_HERMES=m
diff --git a/target/linux/x86-2.6/config/default b/target/linux/x86-2.6/config/default
index 07219c1..8029d5a 100644
--- a/target/linux/x86-2.6/config/default
+++ b/target/linux/x86-2.6/config/default
@@ -337,6 +337,8 @@ CONFIG_PAGE_OFFSET=0xC0000000
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set
CONFIG_PC8736x_GPIO=m
+CONFIG_PCCARD=m
+CONFIG_PCCARD_NONSTATIC=m
# CONFIG_PCIEPORTBUS is not set
# CONFIG_PCIPCWATCHDOG is not set
CONFIG_PCI_BIOS=y