mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-08 22:24:32 +00:00
a652d9c73a
At present this option results in a number of #ifdefs due to the presence or absence of the global_data of_root member. Add a few macros to global_data.h to work around this. Update the code accordingly. Signed-off-by: Simon Glass <sjg@chromium.org>
20 lines
709 B
Makefile
20 lines
709 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) 2013 Google, Inc
|
|
|
|
obj-y += device.o fdtaddr.o lists.o root.o uclass.o util.o
|
|
obj-$(CONFIG_$(SPL_TPL_)ACPIGEN) += acpi.o
|
|
obj-$(CONFIG_DEVRES) += devres.o
|
|
obj-$(CONFIG_$(SPL_)DM_DEVICE_REMOVE) += device-remove.o
|
|
obj-$(CONFIG_$(SPL_)SIMPLE_BUS) += simple-bus.o
|
|
obj-$(CONFIG_SIMPLE_PM_BUS) += simple-pm-bus.o
|
|
obj-$(CONFIG_DM) += dump.o
|
|
obj-$(CONFIG_$(SPL_TPL_)REGMAP) += regmap.o
|
|
obj-$(CONFIG_$(SPL_TPL_)SYSCON) += syscon-uclass.o
|
|
obj-$(CONFIG_$(SPL_)OF_LIVE) += of_access.o of_addr.o
|
|
ifndef CONFIG_DM_DEV_READ_INLINE
|
|
obj-$(CONFIG_OF_CONTROL) += read.o
|
|
endif
|
|
obj-$(CONFIG_OF_CONTROL) += of_extra.o ofnode.o read_extra.o
|
|
|
|
ccflags-$(CONFIG_DM_DEBUG) += -DDEBUG
|