2 # ---------------------------------------------------------
3 # Set the core module defines according to Core Module
4 # ---------------------------------------------------------
5 # ---------------------------------------------------------
6 # Set up the Versatile type define
7 # ---------------------------------------------------------
11 echo "$0:: No parameters - using versatilepb_config"
12 echo "#define CONFIG_ARCH_VERSATILE_PB" > ./include/config.h
16 versatilepb_config | \
18 echo "#define CONFIG_ARCH_VERSATILE_PB" > ./include/config.h
22 echo "#define CONFIG_ARCH_VERSATILE_AB" > ./include/config.h
28 echo "$0:: Unrecognised config - using versatilepb_config"
29 echo "#define CONFIG_ARCH_VERSATILE_PB" > ./include/config.h
36 # ---------------------------------------------------------
37 # Complete the configuration
38 # ---------------------------------------------------------
39 ./mkconfig -a versatile arm arm926ejs versatile NULL versatile
40 echo "Variant:: $variant"