summaryrefslogtreecommitdiffstats
path: root/package/dtc/Config.in
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-05-09 12:22:59 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-05-12 23:49:04 +0200
commit257e1f4f4388b9cdb734dc55b35e70ff731d0492 (patch)
treed333744a9bef5831c62c026c7a42c88f6a0798ed /package/dtc/Config.in
parent47f578e3c2db53caf51fad9ec24e71ff1606c862 (diff)
downloadbuildroot-novena-257e1f4f4388b9cdb734dc55b35e70ff731d0492.tar.gz
buildroot-novena-257e1f4f4388b9cdb734dc55b35e70ff731d0492.zip
package/dtc: add option to install programs
By default, we only install the libfdt library. As suggested by Arnout, add an option that also installs the few dtc programs. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/dtc/Config.in')
-rw-r--r--package/dtc/Config.in28
1 files changed, 26 insertions, 2 deletions
diff --git a/package/dtc/Config.in b/package/dtc/Config.in
index e1f6e86de..fac6ab2ea 100644
--- a/package/dtc/Config.in
+++ b/package/dtc/Config.in
@@ -1,9 +1,33 @@
config BR2_PACKAGE_DTC
- bool "dtc"
+ bool "dtc (libfdt)"
help
The Device Tree Compiler, dtc, takes as input a device-tree in
a given format and outputs a device-tree in another format.
- Note that only the library is installed for now.
+ Note that only the library is installed.
+ If you want the programs, say 'y' here, and to "dtc programs", below.
http://git.jdl.com/gitweb/?p=dtc.git (no home page)
+
+if BR2_PACKAGE_DTC
+
+config BR2_PACKAGE_DTC_PROGRAMS
+ bool "dtc programs"
+ help
+ Say 'y' here if you also want the programs on the target:
+ - convert-dtsv0 convert from version 0 to version 1
+ - dtc the device tree compiler
+ - dtdiff compare two device trees (needs bash)
+ - fdtdump print a readable version of a flat device tree
+ - fdtget read values from device tree
+ - fdtput write a property value to a device tree
+
+ Note: dtdiff requires bash, so if bash is not selected, dtdiff will
+ be removed from the target file system. Enable bash if you
+ need dtdiff on the target.
+
+comment "dtdiff will not be installed: it requires bash"
+ depends on BR2_PACKAGE_DTC_PROGRAMS
+ depends on !BR2_PACKAGE_BASH
+
+endif