The .config file contains 'CONFIG_COMPAT_6_1,' when it should contain,
'CONFIG_COMPAT_RHEL_6_1.' This fixes that by adding the 'RHEL' in the
proper spot.
Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
if [[ ! -z ${RHEL_MAJOR} ]]; then
RHEL_MINOR=$(grep ^RHEL_MINOR ${KLIB_BUILD}/Makefile | sed -n 's/.*= *\(.*\)/\1/p')
for i in $(seq 0 ${RHEL_MINOR}); do
- eval CONFIG_COMPAT_${RHEL_MAJOR}_${i}=y
- echo "export CONFIG_COMPAT_${RHEL_MAJOR}_${i}=y"
+ eval CONFIG_COMPAT_RHEL_${RHEL_MAJOR}_${i}=y
+ echo "export CONFIG_COMPAT_RHEL_${RHEL_MAJOR}_${i}=y"
done
fi