lnxmaj="4.4" lnxmin=".59" lnxrel="92.17" # use this when there is an "RPM fix" which means that the name of the # (source) RPM has been updated but the version of the kernel inside the # RPM is not also updated rpmfix=".2" # for some oddly reasons (bug??) -devel and source have different fix # so we'll add another one to detect this, make it the same or remove # this change they fix the bug rpmfix_diff=".3" # this is the delimeter that goes before the "smp" at the end of the version # defaults to empty FLAVOR_DELIMITER="-" KERNEL_SRPM=kernel-source-${lnxmaj}${lnxmin}-${lnxrel}${rpmfix}.src.rpm SERIES=4.4-sles12.series LDISKFS_SERIES=4.4-sles12sp2.series VERSION=$lnxmaj EXTRA_VERSION="${lnxmin#.}-${lnxrel}_lustre.@VERSION@" LUSTRE_VERSION=@VERSION@ OFED_VERSION=inkernel BASE_ARCHS="i686 ppc x86_64 ia64 ppc64" BIGMEM_ARCHS="" BOOT_ARCHS="" JENSEN_ARCHS="" DEFAULT_ARCHS="i686 x86_64 ia64 ppc64" BIGSMP_ARCHS="" PSERIES64_ARCHS="ppc" UP_ARCHS="" SRC_ARCHS="" #RPMSMPTYPE="smp" for cc in gcc ; do if which $cc >/dev/null 2>/dev/null ; then export CC=$cc break fi done