summaryrefslogtreecommitdiff
path: root/board/samsung/smdk5250/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/samsung/smdk5250/Makefile')
-rw-r--r--board/samsung/smdk5250/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/samsung/smdk5250/Makefile b/board/samsung/smdk5250/Makefile
index d079f4c..f2c32ee 100644
--- a/board/samsung/smdk5250/Makefile
+++ b/board/samsung/smdk5250/Makefile
@@ -31,8 +31,12 @@ COBJS += dmc_common.o dmc_init_ddr3.o
COBJS += smdk5250_spl.o
ifndef CONFIG_SPL_BUILD
+ifdef CONFIG_OF_CONTROL
+COBJS += exynos5-dt.o
+else
COBJS += smdk5250.o
endif
+endif
ifdef CONFIG_SPL_BUILD
COBJS += spl_boot.o