Not all boards use garbage collection in their link step, so we should avoid adding options that rely on this for prevention of code bloat. Add separate Kconfig options for syscon and regmap uclasses. Signed-off-by: Simon Glass <sjg@chromium.org>
15 lines
346 B
Makefile
15 lines
346 B
Makefile
#
|
|
# Copyright (c) 2013 Google, Inc
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-y += 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
|
|
obj-$(CONFIG_DM) += dump.o
|
|
obj-$(CONFIG_REGMAP) += regmap.o
|
|
obj-$(CONFIG_SYSCON) += syscon-uclass.o
|