dm: remove redundant CONFIG_DM from driver/core/Makefile
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 13 Jul 2015 04:17:16 +0000 (13:17 +0900)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:34 +0000 (17:39 -0600)
As you see in driver/Makefile, Kbuild descends into the driver/core/
directory only when CONFIG_DM is enabled.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/core/Makefile

index 54d57e5..5c2ead8 100644 (file)
@@ -4,7 +4,7 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-obj-$(CONFIG_DM)       += device.o lists.o root.o uclass.o util.o
+obj-y  += device.o lists.o root.o uclass.o util.o
 ifndef CONFIG_SPL_BUILD
 obj-$(CONFIG_OF_CONTROL) += simple-bus.o
 endif