summaryrefslogtreecommitdiffstats
path: root/drivers/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/Makefile')
-rw-r--r--drivers/Makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index 9b5c9ec6d..b8ee715c8 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -43,17 +43,5 @@ subdir-$(CONFIG_HAMRADIO) += net/hamradio
subdir-$(CONFIG_I2C) += i2c
subdir-$(CONFIG_ACPI) += acpi
-
-# Subdirectories that should be entered when MAKING_MODULES=1, even if set to 'y'.
-both-m := $(filter $(mod-subdirs), $(subdir-y))
-
-# Translate to Rules.make lists.
-SUB_DIRS := $(subdir-y)
-MOD_SUB_DIRS := $(sort $(subdir-m) $(both-m))
-ALL_SUB_DIRS := $(sort $(subdir-y) $(subdir-m) $(subdir-n) $(subdir-))
-
-# net/hamradio is already in ALL_SUB_DIRS of drivers/net/Makefile
-ALL_SUB_DIRS := $(filter-out net/hamradio, $(ALL_SUB_DIRS))
-
include $(TOPDIR)/Rules.make