Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | # # Makefile for the Linux kernel device drivers. # # Note! Dependencies are done automagically by 'make dep', which also # removes any old dependencies. DON'T put your own dependencies here # unless it's something special (not a .c file). # # Note 2! The CFLAGS definitions are now in the main makefile. SUB_DIRS := block char net parport sound misc MOD_SUB_DIRS := $(SUB_DIRS) ALL_SUB_DIRS := $(SUB_DIRS) pci sgi scsi sbus cdrom isdn pnp i2o ieee1394 \ macintosh video dio zorro fc4 usb \ nubus tc atm pcmcia i2c telephony ifdef CONFIG_DIO SUB_DIRS += dio MOD_SUB_DIRS += dio endif ifdef CONFIG_PCI SUB_DIRS += pci endif ifeq ($(CONFIG_PCMCIA),y) SUB_DIRS += pcmcia else ifeq ($(CONFIG_PCMCIA),m) MOD_SUB_DIRS += pcmcia endif endif ifdef CONFIG_SBUS SUB_DIRS += sbus MOD_SUB_DIRS += sbus endif ifdef CONFIG_ZORRO SUB_DIRS += zorro endif ifdef CONFIG_NUBUS SUB_DIRS += nubus endif ifdef CONFIG_TC SUB_DIRS += tc endif ifdef CONFIG_VT SUB_DIRS += video MOD_SUB_DIRS += video endif ifdef CONFIG_PPC SUB_DIRS += macintosh MOD_SUB_DIRS += macintosh endif ifeq ($(CONFIG_USB),y) SUB_DIRS += usb MOD_SUB_DIRS += usb else ifeq ($(CONFIG_USB),m) MOD_SUB_DIRS += usb endif endif ifeq ($(CONFIG_PHONE),y) SUB_DIRS += telephony MOD_SUB_DIRS += telephony else ifeq ($(CONFIG_PHONE),m) MOD_SUB_DIRS += telephony endif endif ifdef CONFIG_SGI SUB_DIRS += sgi MOD_SUB_DIRS += sgi endif ifeq ($(CONFIG_I2O),y) SUB_DIRS += i2o MOD_SUB_DIRS += i2o else ifeq ($(CONFIG_I2O),m) MOD_SUB_DIRS += i2o endif endif # If CONFIG_SCSI is set, the core of SCSI support will be added to the kernel, # but some of the low-level things may also be modules. ifeq ($(CONFIG_SCSI),y) SUB_DIRS += scsi MOD_SUB_DIRS += scsi else ifeq ($(CONFIG_SCSI),m) MOD_SUB_DIRS += scsi endif endif ifeq ($(CONFIG_IEEE1394),y) SUB_DIRS += ieee1394 MOD_SUB_DIRS += ieee1394 else ifeq ($(CONFIG_IEEE1394),m) MOD_SUB_DIRS += ieee1394 endif endif ifeq ($(CONFIG_PNP),y) SUB_DIRS += pnp MOD_SUB_DIRS += pnp else ifeq ($(CONFIG_PNP),m) MOD_SUB_DIRS += pnp endif endif ifneq ($(CONFIG_CD_NO_IDESCSI)$(CONFIG_BLK_DEV_IDECD)$(CONFIG_BLK_DEV_SR)$(CONFIG_PARIDE_PCD),) SUB_DIRS += cdrom MOD_SUB_DIRS += cdrom endif ifeq ($(CONFIG_ISDN),y) SUB_DIRS += isdn MOD_SUB_DIRS += isdn else ifeq ($(CONFIG_ISDN),m) MOD_SUB_DIRS += isdn endif endif ifdef CONFIG_ATM SUB_DIRS += atm MOD_SUB_DIRS += atm endif ifeq ($(CONFIG_FC4),y) SUB_DIRS += fc4 MOD_SUB_DIRS += fc4 else ifeq ($(CONFIG_FC4),m) MOD_SUB_DIRS += fc4 endif endif # When MOD_LIST_NAME is set, make will try to add $(MOD_SUB_DIRS).o to # modules/MOD_LIST_NAME. We don't have hamradio.o and Linus # sort of insisted on making hamradio/ a subdirectory of drivers/net/. ifeq ($(CONFIG_HAMRADIO),y) SUB_DIRS += net/hamradio MOD_SUB_DIRS += net/hamradio endif ifeq ($(CONFIG_I2C),y) SUB_DIRS += i2c MOD_SUB_DIRS += i2c else ifeq ($(CONFIG_I2C),m) MOD_SUB_DIRS += i2c endif endif include $(TOPDIR)/Rules.make |