lkml.org 
[lkml]   [2003]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Allow to compile IDE as module
Marcelo, the following patch fixes drivers/ide/Makefile
to allow to use CONFIG_BLK_DEV_IDE=m.

--
Eduardo


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1014 -> 1.1015
# drivers/ide/Makefile 1.10 -> 1.11
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/03/13 ehabkost@duckman.distro.conectiva 1.1015
# Makefile:
# Fix ide Makefile to allow CONFIG_BLK_DEV_IDE as module
# --------------------------------------------
#
diff -Nru a/drivers/ide/Makefile b/drivers/ide/Makefile
--- a/drivers/ide/Makefile Thu Mar 13 17:01:12 2003
+++ b/drivers/ide/Makefile Thu Mar 13 17:01:12 2003
@@ -35,9 +35,13 @@
obj-$(CONFIG_BLK_DEV_IDETAPE) += ide-tape.o
obj-$(CONFIG_BLK_DEV_IDEFLOPPY) += ide-floppy.o

-obj-$(CONFIG_BLK_DEV_IDEPCI) += setup-pci.o
-obj-$(CONFIG_BLK_DEV_IDEDMA_PCI) += ide-dma.o
-obj-$(CONFIG_BLK_DEV_ISAPNP) += ide-pnp.o
+# These options are boolean, but the files must be
+# on obj-m if CONFIG_BLK_DEV is m:
+ide-obj-$(CONFIG_BLK_DEV_IDEPCI) += setup-pci.o
+ide-obj-$(CONFIG_BLK_DEV_IDEDMA_PCI) += ide-dma.o
+ide-obj-$(CONFIG_BLK_DEV_ISAPNP) += ide-pnp.o
+
+obj-$(CONFIG_BLK_DEV) += ide-obj-y


ifeq ($(CONFIG_BLK_DEV_IDE),y)[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.024 / U:13.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site