From 3db1c153fbbb9d34d281604eb854e70367167695 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Fri, 29 Mar 2013 20:11:23 +0100 Subject: clean up Clean up all the things this won't use/need. I'm going to add things back bit by bit instead of trying to base it on the current version. Signed-off-by: Johannes Berg --- scripts/check_config.sh | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100755 scripts/check_config.sh (limited to 'scripts/check_config.sh') diff --git a/scripts/check_config.sh b/scripts/check_config.sh deleted file mode 100755 index 648c05bd..00000000 --- a/scripts/check_config.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env bash -# This script checks the compat-drivers configuration file and if changes were made -# regenerates the compat_autoconf header. - -# These variables are expected to be exported: -#COMPAT_CONFIG_CW=$(PWD)/config.mk -#COMPAT_CONFIG=$(PWD)/.config -#CONFIG_CHECK=$(PWD)/.config.mk_md5sum.txt -#COMPAT_AUTOCONF=include/linux/compat_autoconf.h - - -function gen_compat_autoconf { - echo "./scripts/gen-compat-autoconf.sh $COMPAT_CONFIG $COMPAT_CONFIG_CW > $COMPAT_AUTOCONF" - ./scripts/gen-compat-autoconf.sh $COMPAT_CONFIG $COMPAT_CONFIG_CW > $COMPAT_AUTOCONF - md5sum $COMPAT_CONFIG $COMPAT_CONFIG_CW > $CONFIG_CHECK -} - -which md5sum 2>&1 > /dev/null -if [ $? -ne 0 ]; then - echo "md5sum required to detect changes on config file" - exit -1 -fi - -if [ ! -f $CONFIG_CHECK ]; then - gen_compat_autoconf - exit -fi - -md5sum -c $CONFIG_CHECK 2> /dev/null 1>/dev/null - -if [ $? -ne 0 ]; then - echo "Changes to compat-drivers's configuration was detected, regenerating autoconf..." - gen_compat_autoconf -fi - -- cgit v1.2.3