diff options
Diffstat (limited to 'drivers/Makefile')
-rw-r--r-- | drivers/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/drivers/Makefile b/drivers/Makefile index e7b86ed1e..df324c4bb 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -7,9 +7,9 @@ # # Note 2! The CFLAGS definitions are now in the main makefile... -SUB_DIRS := block char net pnp #streams +SUB_DIRS := block char net misc #streams MOD_SUB_DIRS := $(SUB_DIRS) sbus -ALL_SUB_DIRS := $(SUB_DIRS) pci sgi scsi sound cdrom isdn pnp +ALL_SUB_DIRS := $(SUB_DIRS) pci sgi scsi sound cdrom isdn misc pnp ifdef CONFIG_PCI SUB_DIRS += pci @@ -42,6 +42,15 @@ else 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),) SUB_DIRS += cdrom MOD_SUB_DIRS += cdrom |