Commit 74de8c9a authored by Jagannadha Sutradharudu Teki's avatar Jagannadha Sutradharudu Teki Committed by Tom Rini
Browse files

dts/Makefile: Build the user specified dts

This patch provides a support to build the user specified dts.
Signed-off-by: default avatarJagannadha Sutradharudu Teki <>
Acked-by: default avatarSimon Glass <>
parent 472d5460
......@@ -156,6 +156,14 @@ To use this, put something like this in your board header file:
#define CONFIG_EXTRA_ENV_SETTINGS "fdtcontroladdr=10000\0"
After board configuration is done, fdt supported u-boot can be build in two ways:
1) build the default dts which is defined from CONFIG_DEFAULT_DEVICE_TREE
$ make
2) build the user specified dts file
$ make DEVICE_TREE=<dts-file-name>
......@@ -27,9 +27,11 @@ include $(TOPDIR)/
LIB = $(obj)libdts.o
ifeq ($(DEVICE_TREE),)
$(error Please define CONFIG_DEFAULT_DEVICE_TREE in your board header file))
$(error Your architecture does not have device tree support enabled. \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment