aboutsummaryrefslogtreecommitdiffstats
path: root/projects/VU095/apply_patches.sh
diff options
context:
space:
mode:
authorAtaberk <olgunataberk@gmail.com>2022-09-25 17:22:03 +0200
committerAtaberk <olgunataberk@gmail.com>2022-09-25 17:22:03 +0200
commitdc0b3db1b4f1895a07e5fe280ee3790e87f97b9f (patch)
treeb47203aa281bdd959def4451c84d310cd9cf2e12 /projects/VU095/apply_patches.sh
downloaddram-bender-dc0b3db1b4f1895a07e5fe280ee3790e87f97b9f.tar.gz
Initial commit
Diffstat (limited to 'projects/VU095/apply_patches.sh')
-rwxr-xr-xprojects/VU095/apply_patches.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/projects/VU095/apply_patches.sh b/projects/VU095/apply_patches.sh
new file mode 100755
index 0000000..47d3f48
--- /dev/null
+++ b/projects/VU095/apply_patches.sh
@@ -0,0 +1,9 @@
+# some of the generated files have CR characters in additon to EOL characters
+# which mess with our patch commands.
+dos2unix VU095.srcs/sources_1/ip/phy_ddr4/rtl/cal/ddr4_v2_2_cal_rd_en.sv
+
+for f in ./patches/*.patch
+do
+ patch -p0 < $f
+done
+