[packages/kernel] sort modules such as ata modules are preferred over ide ones

draenog draenog at pld-linux.org
Tue Apr 1 17:13:43 CEST 2014


commit 540fa9007c430615e97bda41f3272f142dee4d7a
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Wed Mar 26 16:03:46 2014 +0000

    sort modules such as ata modules are preferred over ide ones

 kernel-modules-sort.patch | 13 +++++++++++++
 kernel.spec               |  3 +++
 2 files changed, 16 insertions(+)
---
diff --git a/kernel.spec b/kernel.spec
index 507a0f6..fa86f37 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -143,6 +143,7 @@ Source55:	kernel-imq.config
 
 Source58:	kernel-inittmpfs.config
 
+Patch1:		kernel-modules-sort.patch
 # http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.4-2.6.25-rc6.patch
 Patch3:		kernel-fbcondecor.patch
 Patch4:		kernel-fbcon-margins.patch
@@ -652,6 +653,8 @@ cd linux-%{basever}
 %patch0 -p1
 %endif
 
+%patch1 -p1
+
 %if %{without vanilla}
 
 %if %{with fbcondecor}
diff --git a/kernel-modules-sort.patch b/kernel-modules-sort.patch
new file mode 100644
index 0000000..86a9409
--- /dev/null
+++ b/kernel-modules-sort.patch
@@ -0,0 +1,13 @@
+--- linux-3.13/drivers/Makefile.orig	2014-03-26 17:13:02.894467018 +0100
++++ linux-3.13/drivers/Makefile	2014-03-26 17:13:18.757800503 +0100
+@@ -60,9 +60,9 @@
+ obj-y				+= base/ block/ misc/ mfd/ nfc/
+ obj-$(CONFIG_NUBUS)		+= nubus/
+ obj-y				+= macintosh/
+-obj-$(CONFIG_IDE)		+= ide/
+ obj-$(CONFIG_SCSI)		+= scsi/
+ obj-$(CONFIG_ATA)		+= ata/
++obj-$(CONFIG_IDE)		+= ide/
+ obj-$(CONFIG_TARGET_CORE)	+= target/
+ obj-$(CONFIG_MTD)		+= mtd/
+ obj-$(CONFIG_SPI)		+= spi/
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/bdca5835a64eacf485a6b36361eff1cd8c3cce7b



More information about the pld-cvs-commit mailing list