summaryrefslogtreecommitdiffstats
path: root/scripts/qemuimage-tests
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-06-30 23:02:55 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-01 17:17:36 +0100
commit97e0beb393b9c3f2eeedc409bfc4924357d1c47e (patch)
tree28c54e2952e1b31f1e4fe6e2bfe5db31d4289b2d /scripts/qemuimage-tests
parent6c36f4a6aa76dbbca4f8c0623955058db34bd1e5 (diff)
downloadpoky-97e0beb393b9c3f2eeedc409bfc4924357d1c47e.tar.gz
cooker: remove code duplication in non trivial functions
The generateTargetsTreeData() and generateDepTreeData() functions perform are essentially the same function only creating slightly different data structures. Instead of duplicating non-trivial code drop generateTargetsTreeData and instead have an optional boolean argument which defaults to False for generateDepTreeData() which has it include the extra fields required for the targets tree. (Bitbake rev: 3e38ea4e5748473740821b6e10c8477c08ab45e2) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/qemuimage-tests')
0 files changed, 0 insertions, 0 deletions