]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
fdt: Rename the DEV_TREE_BIN Makefile flag to to EXT_DTB
authorSimon Glass <sjg@chromium.org>
Thu, 12 Jun 2014 13:24:43 +0000 (07:24 -0600)
committerTom Rini <trini@ti.com>
Thu, 19 Jun 2014 15:18:56 +0000 (11:18 -0400)
This seems like a better name. This is a patch-up to the earlier commit
63b4b5b, and also removes a redundant Makefile change.

Signed-off-by: Simon Glass <sjg@chromium.org>
Makefile
doc/README.fdt-control
dts/Makefile

index 24d96877ac60536e9ac8adbdf6341b1141c96bd7..8436fda717955a8213f011b29e946537f1c5b86b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -832,7 +832,7 @@ MKIMAGEFLAGS_u-boot.kwb = -n $(srctree)/$(CONFIG_SYS_KWD_CONFIG:"%"=%) \
 MKIMAGEFLAGS_u-boot.pbl = -n $(srctree)/$(CONFIG_SYS_FSL_PBL_RCW:"%"=%) \
                -R $(srctree)/$(CONFIG_SYS_FSL_PBL_PBI:"%"=%) -T pblimage
 
-u-boot.img u-boot.kwb u-boot.pbl: u-boot$(if $(CONFIG_OF_SEPARATE),-dtb,).bin FORCE
+u-boot.img u-boot.kwb u-boot.pbl: u-boot.bin FORCE
        $(call if_changed,mkimage)
 
 MKIMAGEFLAGS_u-boot-dtb.img = $(MKIMAGEFLAGS_u-boot.img)
index be92d7ae88384ac784a9c30ddd8c640277e01ee5..d8fe4a826f20d41335067b6c3a251d1a12d4dfd8 100644 (file)
@@ -143,9 +143,9 @@ specify the file to read.
 You cannot use more than one of these options at the same time.
 
 To use a device tree file that you have compiled yourself, pass
-DEV_TREE_BIN=<filename> to 'make', as in:
+EXT_DTB=<filename> to 'make', as in:
 
-       make DEV_TREE_BIN=boot/am335x-boneblack-pubkey.dtb
+       make EXT_DTB=boot/am335x-boneblack-pubkey.dtb
 
 Then U-Boot will copy that file to u-boot.dtb, put it in the .img file
 if used, and u-boot-dtb.bin.
index f344efe64b83f51eac4c312aa5d8d529147b20c5..d3122aa3b96eeaa8820300060c958bcb5cf1d6dd 100644 (file)
@@ -12,8 +12,8 @@ ifeq ($(DEVICE_TREE),)
 DEVICE_TREE := unset
 endif
 
-ifneq ($(DEV_TREE_BIN),)
-DTB := $(DEV_TREE_BIN)
+ifneq ($(EXT_DTB),)
+DTB := $(EXT_DTB)
 else
 DTB := arch/$(ARCH)/dts/$(DEVICE_TREE).dtb
 endif