diff options
Diffstat (limited to 'linux/configfrag.ac')
-rw-r--r-- | linux/configfrag.ac | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/linux/configfrag.ac b/linux/configfrag.ac index 78b59d7f..cddbc1bb 100644 --- a/linux/configfrag.ac +++ b/linux/configfrag.ac @@ -33,6 +33,8 @@ dnl USE OF THIS SOFTWARE. '') # No group. :;; + block) + device_driver_group_block=selected;; net) device_driver_group_net=selected;; pcmcia) @@ -141,13 +143,17 @@ AC_DEFUN([AC_Linux_DRIVER_nodef], [ # Configuration options. # +dnl Block drivers. +AC_OPTION_Linux_group([block], [Block drivers]) + AC_Linux_DRIVER_qemu([floppy], [PC floppy], - [CONFIG_BLK_DEV_FD]) - + [CONFIG_BLK_DEV_FD], + [block]) AC_Linux_DRIVER_qemu([ide], [IDE disk controllers], - [CONFIG_BLK_DEV_IDE]) + [CONFIG_BLK_DEV_IDE], + [block]) AC_ARG_ENABLE([ide-forcedma], AS_HELP_STRING([--enable-ide-forcedma], [enable forced use of DMA on IDE]), @@ -582,7 +588,13 @@ AC_Linux_DRIVER([orinoco_cs], # that get brought in, need special symbols defined, etc. # -[if [ x"$device_driver_group_net" = xselected ]; then] +[if [ x"$device_driver_group_block" = xselected ]; then] + AC_DEFINE([CONFIG_BLOCK], [1], [CONFIG_BLOCK]) + AM_CONDITIONAL([device_driver_group_block], [true]) +[else] AM_CONDITIONAL([device_driver_group_block], [false]) +[fi + +if [ x"$device_driver_group_net" = xselected ]; then] AC_DEFINE([CONFIG_INET], [1], [CONFIG_INET]) AM_CONDITIONAL([device_driver_group_net], [true]) [else] AM_CONDITIONAL([device_driver_group_net], [false]) |