Browse Source

fdtdump: rename from ftdump

The freetype package already installs a binary named "ftdump", so the dtc
package conflicts with that.  So rename the newer dtc tool to "fdtdump".
This even makes a bit more sense:
	ftdump: [F]lat device [T]ree [dump]
	fdtdump: [F]lat [D]evice [T]ree [dump]

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
main
Mike Frysinger 13 years ago committed by Jon Loeliger
parent
commit
8f459c5d72
  1. 2
      .gitignore
  2. 10
      Documentation/manual.txt
  3. 6
      Makefile
  4. 6
      Makefile.utils
  5. 2
      fdtdump.c

2
.gitignore vendored

@ -7,6 +7,6 @@ @@ -7,6 +7,6 @@
lex.yy.c
*.lex.c
/dtc
/ftdump
/fdtdump
/convert-dtsv0
/version_gen.h

10
Documentation/manual.txt

@ -21,7 +21,7 @@ III - libfdt @@ -21,7 +21,7 @@ III - libfdt

IV - Utility Tools
1) convert-dtsv0 -- Conversion to Version 1
1) ftdump
1) fdtdump


I - "dtc", the device tree compiler
@ -643,10 +643,10 @@ a new file with a "v1" appended the filename. @@ -643,10 +643,10 @@ a new file with a "v1" appended the filename.
Comments, empty lines, etc. are preserved.


2) ftdump -- Flat Tree dumping utility
2) fdtdump -- Flat Device Tree dumping utility

The ftdump program prints a readable version of a flat device tree file.
The fdtdump program prints a readable version of a flat device tree file.

The syntax of the ftdump command line is:
The syntax of the fdtdump command line is:

ftdump <DTB-file-name>
fdtdump <DTB-file-name>

6
Makefile

@ -109,7 +109,7 @@ include Makefile.utils @@ -109,7 +109,7 @@ include Makefile.utils

BIN += convert-dtsv0
BIN += dtc
BIN += ftdump
BIN += fdtdump

SCRIPTS = dtdiff

@ -119,7 +119,7 @@ all: $(BIN) libfdt @@ -119,7 +119,7 @@ all: $(BIN) libfdt
ifneq ($(DEPTARGETS),)
-include $(DTC_OBJS:%.o=%.d)
-include $(CONVERT_OBJS:%.o=%.d)
-include $(FTDUMP_OBJS:%.o=%.d)
-include $(FDTDUMP_OBJS:%.o=%.d)
endif


@ -178,7 +178,7 @@ convert-dtsv0: $(CONVERT_OBJS) @@ -178,7 +178,7 @@ convert-dtsv0: $(CONVERT_OBJS)
@$(VECHO) LD $@
$(LINK.c) -o $@ $^

ftdump: $(FTDUMP_OBJS)
fdtdump: $(FDTDUMP_OBJS)


#

6
Makefile.utils

@ -3,8 +3,8 @@ @@ -3,8 +3,8 @@
# be easily embeddable into other systems of Makefiles.
#

FTDUMP_SRCS = \
ftdump.c \
FDTDUMP_SRCS = \
fdtdump.c \
util.c

FTDUMP_OBJS = $(FTDUMP_SRCS:%.c=%.o)
FDTDUMP_OBJS = $(FDTDUMP_SRCS:%.c=%.o)

2
ftdump.c → fdtdump.c

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* ftdump.c - Contributed by Pantelis Antoniou <pantelis.antoniou AT gmail.com>
* fdtdump.c - Contributed by Pantelis Antoniou <pantelis.antoniou AT gmail.com>
*/

#include <stdint.h>
Loading…
Cancel
Save