diff options
author | 2017-04-25 03:31:15 -0700 | |
---|---|---|
committer | 2017-05-22 06:48:08 +0000 | |
commit | bb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch) | |
tree | ca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/dtc/dtdiff | |
parent | a14b48d18a9ed03ec191cf16b162206998a895ce (diff) |
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to
kvmfornfv repo and make use of the updated latest qemu for the
execution of all testcase
Change-Id: I1280af507a857675c7f81d30c95255635667bdd7
Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/dtc/dtdiff')
-rw-r--r-- | qemu/dtc/dtdiff | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/qemu/dtc/dtdiff b/qemu/dtc/dtdiff deleted file mode 100644 index 5fa772b0a..000000000 --- a/qemu/dtc/dtdiff +++ /dev/null @@ -1,38 +0,0 @@ -#! /bin/bash - -# This script uses the bash <(...) extension. -# If you want to change this to work with a generic /bin/sh, make sure -# you fix that. - - -DTC=dtc - -source_and_sort () { - DT="$1" - if [ -d "$DT" ]; then - IFORMAT=fs - elif [ -f "$DT" ]; then - case "$DT" in - *.dts) - IFORMAT=dts - ;; - *.dtb) - IFORMAT=dtb - ;; - esac - fi - - if [ -z "$IFORMAT" ]; then - echo "Unrecognized format for $DT" >&2 - exit 2 - fi - - $DTC -I $IFORMAT -O dts -qq -f -s -o - "$DT" -} - -if [ $# != 2 ]; then - echo "Usage: dtdiff <device tree> <device tree>" >&2 - exit 1 -fi - -diff -u <(source_and_sort "$1") <(source_and_sort "$2") |