summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/config.in
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/config.in')
-rw-r--r--arch/sparc64/config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/sparc64/config.in b/arch/sparc64/config.in
index 13f056050..14d545e39 100644
--- a/arch/sparc64/config.in
+++ b/arch/sparc64/config.in
@@ -181,6 +181,17 @@ if [ "$CONFIG_NET" = "y" ]; then
endmenu
fi
+# Conditionally compile in the Uniform CD-ROM driver
+if [ "$CONFIG_BLK_DEV_IDECD" = "y" -o "$CONFIG_BLK_DEV_SR" = "y" ]; then
+ define_bool CONFIG_CDROM y
+else
+ if [ "$CONFIG_BLK_DEV_IDECD" = "m" -o "$CONFIG_BLK_DEV_SR" = "m" ]; then
+ define_bool CONFIG_CDROM m
+ else
+ define_bool CONFIG_CDROM n
+ fi
+fi
+
source fs/Config.in
source fs/nls/Config.in