oel5) target="2.6-oel5";;
rhel5) target="2.6-rhel5";;
rhel6) target="2.6-rhel6";;
+ rhel7) target="3.10-rhel7";;
sles10) target="2.6-sles10";;
sles11) target="$(uname -r | cut -d . -f 1,2)-sles11"
local PLEV=$(sed -n -e 's/^PATCHLEVEL = //p' /etc/SuSE-release)
fi
case $TARGET in
+ 3.10-rhel7)
+ CANONICAL_TARGET="rhel7"
+ ;;
2.6-rhel6)
CANONICAL_TARGET="rhel6"
;;
--- /dev/null
+# vim:expandtab:shiftwidth=4:softtabstop=4:tabstop=4:
+
+source ${LBUILD_DIR}/lbuild-rhel
+
+# increment this if you have made a change that should force a new kernel
+# to build built
+BUILD_GEN+=".0"
+
+find_linux_rpm-rhel7() {
+ local prefix="$1"
+ local wanted_kernel="$2"
+ local pathtorpms=${3:-"${KERNELRPMSBASE}/${lnxmaj}/${DISTRO}/${TARGET_ARCH}"}
+
+ find_linux_rpm-rhel "$prefix" "$wanted_kernel" "$pathtorpms"
+
+}
lustre/include/linux/Makefile
lustre/include/darwin/Makefile
lustre/include/lustre/Makefile
+lustre/kernel_patches/targets/3.10-rhel7.target
lustre/kernel_patches/targets/2.6-rhel6.target
lustre/kernel_patches/targets/2.6-rhel5.target
lustre/kernel_patches/targets/2.6-sles11.target
--- /dev/null
+raid5-mmp-unplug-dev-3.7.patch
+dev_read_only-3.7.patch
+blkdev_tunables-3.7.patch
+bh_lru_size_config.patch
--- /dev/null
+lnxmaj="3.10.0"
+lnxrel="123.4.2.el7"
+
+KERNEL_SRPM=kernel-${lnxmaj}-${lnxrel}.src.rpm
+SERIES=3.10-rhel7.series
+EXTRA_VERSION=${lnxrel}_lustre.@VERSION@
+LUSTRE_VERSION=@VERSION@
+
+DEVEL_PATH_ARCH_DELIMETER="."
+OFED_VERSION=inkernel
+
+BASE_ARCHS="i686 x86_64 ia64 ppc64"
+BIGMEM_ARCHS=""
+BOOT_ARCHS=""
+JENSEN_ARCHS=""
+#SMP_ARCHS="i686 x86_64 ia64 ppc64"
+# RHEL5 doesn't use smp specific kernels
+SMP_ARCHS=""
+UP_ARCHS=""
+
+for cc in gcc ; do
+ if which $cc >/dev/null 2>/dev/null ; then
+ export CC=$cc
+ break
+ fi
+done