diff --git a/scripts/apply.sh b/scripts/apply.sh new file mode 100755 index 0000000..092c777 --- /dev/null +++ b/scripts/apply.sh @@ -0,0 +1,11 @@ +cd plutosdr-fw +git apply ../patches/fw.diff +cd hdl +git apply ../../patches/hdl.diff +cd ../linux +git apply ../../patches/linux.diff +cd ../u-boot-xlnx +git apply ../../patches/u-boot-xlnx.diff +cd ../buildroot +git apply ../../patches/buildroot.diff +cd ../.. diff --git a/scripts/collect.sh b/scripts/collect.sh new file mode 100755 index 0000000..6433c83 --- /dev/null +++ b/scripts/collect.sh @@ -0,0 +1,11 @@ +cd plutosdr-fw +git diff > ../patches/fw.diff +cd hdl +git diff > ../../patches/hdl.diff +cd ../linux +git diff > ../../patches/linux.diff +cd ../u-boot-xlnx +git diff > ../../patches/u-boot-xlnx.diff +cd ../buildroot +git diff > ../../patches/buildroot.diff +cd ../.. diff --git a/scripts/revert.sh b/scripts/revert.sh new file mode 100755 index 0000000..3bc4241 --- /dev/null +++ b/scripts/revert.sh @@ -0,0 +1,11 @@ +cd plutosdr-fw +git checkout . +cd hdl +git checkout . +cd ../linux +git checkout . +cd ../buildroot +git checkout . +cd ../u-boot-xlnx +git checkout . +cd ../..