summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_dts_dtc.sh
Commit message (Collapse)AuthorAgeFilesLines
* ptxd_make_dts_dtb: fix parallel buildingMichael Olbrich2016-01-221-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_dts_dtb: use local variablesMichael Olbrich2014-09-161-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: Do not inhibit linemarker generation if supportedAlexander Stein2014-09-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | Without linemarkers the error messages are somehwat useless. To demonstrate I picked a random .dts file file from the arm tree in linux sources: DTC ptx-testprj_arm/platform/images/vf610-twr.dtb Error: /tmp/testprj/platform/state/vf610-twr.dts.tmp:366.1-5 syntax error FATAL ERROR: Unable to parse input tree If linemarkers are inserted the error message clearly states in which file which line caused the error: DTC ptx-testprj_arm/platform/images/vf610-twr.dtb Error: /tmp/testprj/platform/build-target/linux/arch/arm/boot/dts/vf610-twr.dts:13.1-5 syntax error FATAL ERROR: Unable to parse input tree The support for #line markers was added in the same release as -i was added. So add -P only if -i is not supported. Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_dts_dtb: support older kernelMichael Olbrich2014-07-221-5/+8
| | | | | | | | The dtc from older kernel versions does not support the '-i' option. In this case the temporary dts file must remain in the kernel source tree. Otherwise includes are not found. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_dts_dtc: handle error if dtc failedAlexander Aring2014-07-091-7/+9
| | | | | | | This patch adds error handling for the ptxd_make_dts_dtb function. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* ptxd_make_dts_dtb: one more include dirMichael Olbrich2014-07-041-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: move dtb creation to shellMichael Olbrich2014-06-181-0/+69
The latest changes broke the dependencies and variable resolution again. Fixing this in shell was a lot easier and cleaner. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>