mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
generate-kernel-patch: optimize generation of Makefile for drivers/Kconfig
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7026 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -339,8 +339,13 @@ done
|
||||
# Directory drivers/
|
||||
|
||||
(
|
||||
add_patch "scst/kernel/in-tree/Kconfig.drivers.Linux-${kver}.patch" \
|
||||
"drivers/Kconfig"
|
||||
if [ -e "scst/kernel/in-tree/Kconfig.drivers.Linux-${kver}.patch" ]; then
|
||||
add_patch "scst/kernel/in-tree/Kconfig.drivers.Linux-${kver}.patch" \
|
||||
"drivers/Kconfig"
|
||||
else
|
||||
add_patch "scst/kernel/in-tree/Kconfig.drivers.Linux.patch" \
|
||||
"drivers/Kconfig"
|
||||
fi
|
||||
|
||||
add_patch "scst/kernel/in-tree/Makefile.drivers.Linux-${kver}.patch"\
|
||||
"drivers/Makefile"
|
||||
|
||||
Reference in New Issue
Block a user