summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKyle McMartin <kyle@redhat.com>2011-10-26 14:26:46 -0400
committerKyle McMartin <kyle@redhat.com>2011-10-26 14:26:46 -0400
commitbf30a40f01d94083370238be8bd603f5644fe357 (patch)
tree2a33bedf4dbeafdde641964c8cf22c8756abbbd0 /scripts
parentd54f6ca99277dedde9f437522a247a6b7887adfc (diff)
downloadkernel-bf30a40f01d94083370238be8bd603f5644fe357.tar.gz
kernel-bf30a40f01d94083370238be8bd603f5644fe357.tar.xz
kernel-bf30a40f01d94083370238be8bd603f5644fe357.zip
Prune junk from Makefile
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/reconfig.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/scripts/reconfig.sh b/scripts/reconfig.sh
deleted file mode 100755
index d9e8fa7c3..000000000
--- a/scripts/reconfig.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-base_sublevel=$(grep "^%define base_sublevel" kernel.spec | head -n1 | awk '{ print $3 }')
-
-#if [ `grep -c "^%define released_kernel 1" kernel.spec` -ge 1 ]; then
- V=$base_sublevel
-#else
-# let V=$base_sublevel+1
-#fi
-
-cd kernel-2.6.$base_sublevel/linux-2.6.$base_sublevel.noarch/
-rm -f kernel-*.config
-cp ../../kernel-2.6.$V-*.config .
-
-for i in kernel-*.config
-do
- echo $i
- rm -f .config
- cp $i .config
- Arch=`head -1 .config | cut -b 3-`
- make ARCH=$Arch nonint_oldconfig > /dev/null || exit 1
- echo "# $Arch" > configs/$i
- cat .config >> configs/$i
- echo
-done
-