summaryrefslogtreecommitdiffstats
path: root/generate_debug_configs.sh
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@redhat.com>2017-03-27 10:54:31 -0500
committerJustin M. Forbes <jforbes@redhat.com>2017-03-27 10:54:31 -0500
commitb915c3fde429a5dc7a99b7d05b56b8adfe2ac8f0 (patch)
tree6e860fbbbc36f664bd48785af0df2dd7b222abfb /generate_debug_configs.sh
parent2f378031b2ceccf8969f78a14957947fc4ed2c6b (diff)
downloadkernel-b915c3fde429a5dc7a99b7d05b56b8adfe2ac8f0.tar.gz
kernel-b915c3fde429a5dc7a99b7d05b56b8adfe2ac8f0.tar.xz
kernel-b915c3fde429a5dc7a99b7d05b56b8adfe2ac8f0.zip
Linux v4.10.6 rebase
Diffstat (limited to 'generate_debug_configs.sh')
-rwxr-xr-xgenerate_debug_configs.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/generate_debug_configs.sh b/generate_debug_configs.sh
new file mode 100755
index 000000000..ce082fe1b
--- /dev/null
+++ b/generate_debug_configs.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+for i in kernel-*debug.config; do
+ base=`echo $i | sed -r s/-?debug//g`
+ NEW=kernel-$VERSION-`echo $base | cut -d - -f2-`
+ mv $i $NEW
+ rm $base
+done