mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 21:51:27 +00:00
generate-kernel-patch: optimize generation of Makefile.drivers patch
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7027 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -347,8 +347,13 @@ else
|
||||
"drivers/Kconfig"
|
||||
fi
|
||||
|
||||
add_patch "scst/kernel/in-tree/Makefile.drivers.Linux-${kver}.patch"\
|
||||
"drivers/Makefile"
|
||||
if [ -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
|
||||
add_patch "scst/kernel/in-tree/Makefile.drivers.Linux.patch"\
|
||||
"drivers/Makefile"
|
||||
fi
|
||||
) \
|
||||
| process_patch "scst_01_drivers_kbuild.diff"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user