aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-07 07:24:07 -0600
committerSimon Glass <sjg@chromium.org>2021-09-25 09:46:15 -0600
commitf99cbe4e867f75f8e90917b997c338e20c7f7831 (patch)
treef8943fc18b31b640b8b2d1ed0c8c37d80f886b7e /lib
parentdcfc42b12f95fecffbf4692854acd4193240d86a (diff)
downloadu-boot-f99cbe4e867f75f8e90917b997c338e20c7f7831.zip
u-boot-f99cbe4e867f75f8e90917b997c338e20c7f7831.tar.gz
u-boot-f99cbe4e867f75f8e90917b997c338e20c7f7831.tar.bz2
fdt: Update Makefile rules with the new OF_REAL Kconfig
Simplify some of the Makefile rules using this Kconfig. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Makefile b/lib/Makefile
index dfe772a..09e380e 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -80,10 +80,7 @@ obj-$(CONFIG_$(SPL_)LIB_RATIONAL) += rational.o
obj-$(CONFIG_LIBAVB) += libavb/
obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += libfdt/
-ifneq ($(CONFIG_$(SPL_TPL_)BUILD)$(CONFIG_$(SPL_TPL_)OF_PLATDATA),yy)
-obj-$(CONFIG_$(SPL_TPL_)OF_CONTROL) += fdtdec_common.o
-obj-$(CONFIG_$(SPL_TPL_)OF_CONTROL) += fdtdec.o
-endif
+obj-$(CONFIG_$(SPL_TPL_)OF_REAL) += fdtdec_common.o fdtdec.o
ifdef CONFIG_SPL_BUILD
obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o