projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://git.denx.de/u-boot-usb
[platform/kernel/u-boot.git]
/
drivers
/
core
/
Makefile
diff --git
a/drivers/core/Makefile
b/drivers/core/Makefile
index
c7905b1
..
a3fec38
100644
(file)
--- a/
drivers/core/Makefile
+++ b/
drivers/core/Makefile
@@
-4,4
+4,8
@@
# SPDX-License-Identifier: GPL-2.0+
#
# SPDX-License-Identifier: GPL-2.0+
#
-obj-y := device.o lists.o root.o uclass.o util.o
+obj-$(CONFIG_DM) += device.o lists.o root.o uclass.o util.o
+ifndef CONFIG_SPL_BUILD
+obj-$(CONFIG_OF_CONTROL) += simple-bus.o
+endif
+obj-$(CONFIG_DM_DEVICE_REMOVE) += device-remove.o