Don't use KERN_OPTMZ or KERN_DBG on Linux 2.6

With 2.6 Linux kernels, we just use the standard Kernel build system.
As this system pays no attention to our settings of KERN_OPTMZ or
KERN_DBG, don't bother setting values for these for 2.6 kernels.

Change-Id: Ibb2302d63ecf3e32a24321028df6a9aad45769fc
Reviewed-on: http://gerrit.openafs.org/4173
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Simon Wilkinson 2011-03-06 17:22:14 +00:00 committed by Derrick Brashear
parent a23b83391e
commit 433efb44ed

View File

@ -97,7 +97,6 @@ case $AFS_SYSNAME in
alpha_linux_26)
CCOBJ="${CC} -fPIC"
KERN_OPTMZ=-O2
MT_CFLAGS='-pthread -D_REENTRANT'
PAM_OPTMZ=-O2
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
@ -119,7 +118,6 @@ case $AFS_SYSNAME in
arm_linux26)
CCOBJ="${CC} -fPIC"
KERN_OPTMZ=-O2
MT_CFLAGS='-pthread -D_REENTRANT'
PAM_OPTMZ=-O2
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
@ -289,7 +287,6 @@ case $AFS_SYSNAME in
;;
ppc64_linux26)
KERN_OPTMZ=-O2
MT_CFLAGS='-pthread -D_REENTRANT'
PAM_OPTMZ=-O2
PAM_CFLAGS="-Dlinux -DLINUX_PAM -fPIC"
@ -338,10 +335,8 @@ case $AFS_SYSNAME in
;;
i386_umlinux26)
KERN_OPTMZ=-O2
MT_CFLAGS='-pthread -D_REENTRANT'
DBG=-g
KERN_DBG=-g
LWP_DBG=-g
LWP_OPTMZ=-O2
OPTMZ=-O2