summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBunnaroath Sou <bsou@sifive.com>2019-06-06 12:10:05 -0700
committerBunnaroath Sou <bsou@sifive.com>2019-06-06 12:10:05 -0700
commitebeb434faa4a68239fa2891d3c5fcf7a4ca8ab4a (patch)
treee61a4ef6e65b084cea95d062f2fc483338927266
parent7cfed3f075a8061270fb72fcf1ed3c7c46803761 (diff)
Submodule the freedom-devicetree-tools keep both in sync
-rw-r--r--.gitmodules3
-rwxr-xr-xbsp/update-targets.sh2
m---------freedom-devicetree-tools0
3 files changed, 4 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules
index a166706..6feb833 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -55,3 +55,6 @@
[submodule "software/coremark"]
path = software/coremark
url = https://github.com/sifive/benchmark-coremark.git
+[submodule "freedom-devicetree-tools"]
+ path = freedom-devicetree-tools
+ url = git@github.com:sifive/freedom-devicetree-tools.git
diff --git a/bsp/update-targets.sh b/bsp/update-targets.sh
index e3b2496..63d7e24 100755
--- a/bsp/update-targets.sh
+++ b/bsp/update-targets.sh
@@ -70,7 +70,7 @@ else
echo "[INFO] $0: "$CUSTOM_TARGET" not found! Creating one" >&2
mkdir -p $CUSTOM_TARGET
fi
- cp $DTSFILE $CUSTOM_TARGET
+ cp $DTSFILE "$CUSTOM_TARGET/design.dts"
TARGET_LIST="$CUSTOM_TARGET "
fi
diff --git a/freedom-devicetree-tools b/freedom-devicetree-tools
new file mode 160000
+Subproject f81e349c5b6607723b4b38df01bb517e5748e62