aboutsummaryrefslogtreecommitdiff
path: root/Makefile.convert-dtsv0
AgeCommit message (Collapse)AuthorFilesLines
2019-06-21dtc: Add GPLv2 SPDX tags to files missing license textRob Herring1-0/+1
A couple of dtc files are missing licenses. Add GPL-2.0-or-later SPDX tag to them. Signed-off-by: Rob Herring <robh@kernel.org> Message-Id: <20190620211944.9378-7-robh@kernel.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2008-10-03Implement and use an xstrdup() functionJon Loeliger1-1/+2
Many places in dtc use strdup(), but none of them actually check the return value to see if the implied allocation succeeded. This is a potential bug, which we fix in the patch below by replacing strdup() with an xstrdup() which in analogy to xmalloc() will quit with a fatal error if the allocation fails. I felt the introduciton of util.[ch] was a better choice for utility oriented code than directly using srcpos.c for the new string function. This patch is a re-factoring of Dave Gibson's similar patch. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2008-10-03Rearrange ftdump and convert-dtsv0 into sub-Makefiles.Jon Loeliger1-0/+12
Follows the model of the existing sub-Makefiles for dtc. Adjust $(BIN) definition to represent installable bin programs and use it as the list of installed programs rather than using an enumerated list in the install target. Adjust the tests/Makefile to clean up properly still. Signed-off-by: Jon Loeliger <jdl@freescale.com>