summaryrefslogtreecommitdiffstats
path: root/scripts/update-diffs-mips.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update-diffs-mips.sh')
-rwxr-xr-xscripts/update-diffs-mips.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/update-diffs-mips.sh b/scripts/update-diffs-mips.sh
new file mode 100755
index 0000000..b1bdde3
--- /dev/null
+++ b/scripts/update-diffs-mips.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+if [ -z "$PTXDIST" ]; then
+ PTXDIST=ptxdist
+else
+ tput setaf 3 # yellow
+ echo Note: using PTXDIST=$PTXDIST
+ tput sgr 0 # back to normal
+fi
+
+PACKAGES="barebox-common barebox-ar9331 barebox-malta kernel kernel-ar9331 kernel-malta"
+for pkg in $PACKAGES; do
+ $PTXDIST --platformconfig="configs/platform-mips/platformconfig" oldconfig $pkg
+done