diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-06-09 17:32:04 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-06-10 20:17:47 +0200 |
commit | b2ec1304d629ed57a9ae77363fa888a12abb30b8 (patch) | |
tree | efd59854bf749402c118a8597a7e4ca5ce88927f /platforms | |
parent | 41e7c44df6bf631fbc3e722791e5e449ffff3bc7 (diff) | |
download | ptxdist-b2ec1304d629ed57a9ae77363fa888a12abb30b8.tar.gz ptxdist-b2ec1304d629ed57a9ae77363fa888a12abb30b8.tar.xz |
dtc: Seperate path and filename of dts
Creating multiple device trees result in a quite long DTC_OFTREE_DTS
variable. Splitting it into a path variable and file variable makes it
more handy.
The path can be a ':' separated list to allow device trees from multiple
directories.
For backwards compatibility, the path is only used for relative file
names.
Based on a patch by Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/dtc.in | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/platforms/dtc.in b/platforms/dtc.in index a39af97e1..4319b725e 100644 --- a/platforms/dtc.in +++ b/platforms/dtc.in @@ -19,14 +19,21 @@ config DTC_INSTALL_OFTREE Creates an package to install the 'oftree' file to /boot of your target system. +config DTC_OFTREE_DTS_PATH + string "path to source dts file" + default "${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${PTXCONF_KERNEL_ARCH_STRING}/boot/dts" + help + Define path to the dts source file. Multiple directories can be + specified separated by ':'. + config DTC_OFTREE_DTS string "source dts file" - default "${KERNEL_DIR}/arch/${PTXCONF_KERNEL_ARCH_STRING}/boot/dts/<yourboard>.dts" + default "<yourboard>.dts" help Select the dts file to use for the device tree binary - blob generation. Default is to use the one shipped with - the kernel. Multiple dts files can be specified, separated - by spaces. + blob generation. For relative file names DTC_OFTREE_DTS_PATH + is used as a search path for the device tree files specified + here. Multiple dts files can be specified, separated by spaces. config DTC_KERNEL bool |