mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-25 07:51:28 +00:00
scripts/generate-kernel-patch: Use the generic drivers Makefile for CentOS 6.x
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8892 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
# Script for converting the SCST source tree as it exists in the Subversion
|
||||
# repository to a Linux kernel patch.
|
||||
#
|
||||
# Copyright (C) 2008-2009 Bart Van Assche <bvanassche@acm.org>
|
||||
# Copyright (C) 2008-2020 Bart Van Assche <bvanassche@acm.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
@@ -342,7 +342,8 @@ else
|
||||
"drivers/Kconfig"
|
||||
fi
|
||||
|
||||
if [ -e "scst/kernel/in-tree/Makefile.drivers.Linux-${kver}.patch" ]; then
|
||||
if [ "${full_kver#2.6.32-}" = "${full_kver}" ] &&
|
||||
[ -e "scst/kernel/in-tree/Makefile.drivers.Linux-${kver}.patch" ]; then
|
||||
add_patch "scst/kernel/in-tree/Makefile.drivers.Linux-${kver}.patch"\
|
||||
"drivers/Makefile"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user