diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-11-01 16:49:26 +1100 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-11-01 08:03:37 -0500 |
commit | 2f1ccc36f478d0cdb55666eb62ae6a338751be9c (patch) | |
tree | a3b2c0a3b55f468d0eca4c801d736ad1fcb06f74 /Makefile.dtc | |
parent | a041dcdc48453f26b76bccdb5e2a1ebb3a0ea987 (diff) | |
download | dtc-2f1ccc36f478d0cdb55666eb62ae6a338751be9c.zip dtc-2f1ccc36f478d0cdb55666eb62ae6a338751be9c.tar.gz dtc-2f1ccc36f478d0cdb55666eb62ae6a338751be9c.tar.bz2 |
dtc: Move tree checking code to checks.c
This patch moves the dtc code for checking the device tree its
processing into a new checks.c. The tree accessor functions from
livetree.c which the checks use are exported and added to dtc.h.
Another small step towards a flexible checking architecture.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'Makefile.dtc')
-rw-r--r-- | Makefile.dtc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.dtc b/Makefile.dtc index c843ee2..d607fdb 100644 --- a/Makefile.dtc +++ b/Makefile.dtc @@ -3,7 +3,8 @@ # This is not a complete Makefile of itself. Instead, it is designed to # be easily embeddable into other systems of Makefiles. # -DTC_SRCS = dtc.c flattree.c fstree.c data.c livetree.c treesource.c srcpos.c +DTC_SRCS = dtc.c flattree.c fstree.c data.c livetree.c treesource.c srcpos.c \ + checks.c DTC_EXTRA = dtc.h srcpos.h DTC_LEXFILES = dtc-lexer.l DTC_BISONFILES = dtc-parser.y |