[PATCH 2/5] compat: fix defines for RHEL by adding RHEL to string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>

---
 scripts/gen-compat-config.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/gen-compat-config.sh b/scripts/gen-compat-config.sh
index a3ebf08..54f053d 100755
--- a/scripts/gen-compat-config.sh
+++ b/scripts/gen-compat-config.sh
@@ -50,8 +50,8 @@ RHEL_MAJOR=$(grep ^RHEL_MAJOR ${KLIB_BUILD}/Makefile | sed -n 's/.*= *\(.*\)/\1/
 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
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux