# This script makes it ez to check all the test configs located
# in linux-2.4.19/test/configs and the normal build configs located
# in linux-2.4.19/arch/arm/def-configs.
#
# If this script stops in make oldconfig, then you need to run the
# updateconfigs script.
#
function check_a_test_config(){
	cp -f test/configs/config_"$1" .config
	make oldconfig
}

function check_a_normal_config(){
	cp -f arch/arm/def-configs/config_"$1" .config
	make oldconfig
}

check_a_test_config kernel_ac97
check_a_test_config kernel_crt640x480x16bpp
check_a_test_config kernel_crt640x480x8bpp
check_a_test_config kernel_ep9301
check_a_test_config kernel_ide_pio
check_a_test_config kernel_lcd640x480x16bpp
check_a_test_config kernel_lcd640x480x8bpp
check_a_test_config kernel_serial_console
check_a_test_config kernel_sir_irda

check_a_normal_config ep9301
check_a_normal_config ep9301_nfs
check_a_normal_config ep9312
check_a_normal_config ep9312_nfs
check_a_normal_config ep9312_nfs_ide

echo "Done"
