lkml.org 
[lkml]   [2003]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] avoid two sym53c8xx names
Xose Vazquez Perez wrote:
> hi,
>
> To avoid that it has two modules with same name:
>
> patch for 2.4.21-rc2:
> --cut--
> diff -Nuar linux/drivers/scsi/Makefile linux.xose/drivers/scsi/Makefile
> --- linux/drivers/scsi/Makefile 2003-05-11 02:53:40.000000000 +0200
> +++ linux.xose/drivers/scsi/Makefile 2003-05-11 03:52:41.000000000 +0200
> @@ -97,7 +97,7 @@
> obj-$(CONFIG_SCSI_NCR53C7xx) += 53c7,8xx.o
> subdir-$(CONFIG_SCSI_SYM53C8XX_2) += sym53c8xx_2
> ifeq ($(CONFIG_SCSI_SYM53C8XX_2),y)
> - obj-$(CONFIG_SCSI_SYM53C8XX_2) += sym53c8xx_2/sym53c8xx.o
> + obj-$(CONFIG_SCSI_SYM53C8XX_2) += sym53c8xx_2/sym53c8xx_2.o
> endif
> obj-$(CONFIG_SCSI_SYM53C8XX) += sym53c8xx.o
> obj-$(CONFIG_SCSI_NCR53C8XX) += ncr53c8xx.o

regards,

I am sorry, I forgot the other makefile

--cut--
diff -Nuar linux/drivers/scsi/Makefile linux.xose/drivers/scsi/Makefile
--- linux/drivers/scsi/Makefile 2003-05-11 02:53:40.000000000 +0200
+++ linux.xose/drivers/scsi/Makefile 2003-05-11 03:52:41.000000000 +0200
@@ -97,7 +97,7 @@
obj-$(CONFIG_SCSI_NCR53C7xx) += 53c7,8xx.o
subdir-$(CONFIG_SCSI_SYM53C8XX_2) += sym53c8xx_2
ifeq ($(CONFIG_SCSI_SYM53C8XX_2),y)
- obj-$(CONFIG_SCSI_SYM53C8XX_2) += sym53c8xx_2/sym53c8xx.o
+ obj-$(CONFIG_SCSI_SYM53C8XX_2) += sym53c8xx_2/sym53c8xx_2.o
endif
obj-$(CONFIG_SCSI_SYM53C8XX) += sym53c8xx.o
obj-$(CONFIG_SCSI_NCR53C8XX) += ncr53c8xx.o
diff -Nuar linux/drivers/scsi/sym53c8xx_2/Makefile linux.xose/drivers/scsi/sym53c8xx_2/Makefile
--- linux/drivers/scsi/sym53c8xx_2/Makefile 2001-11-10 00:22:54.000000000 +0100
+++ linux.xose/drivers/scsi/sym53c8xx_2/Makefile 2003-05-11 06:10:04.000000000 +0200
@@ -1,14 +1,14 @@
# File: drivers/sym53c8xx/Makefile
# Makefile for the NCR/SYMBIOS/LSI 53C8XX PCI SCSI controllers driver.

-list-multi := sym53c8xx.o
-sym53c8xx-objs := sym_fw.o sym_glue.o sym_hipd.o sym_malloc.o sym_misc.o sym_nvram.o
-obj-$(CONFIG_SCSI_SYM53C8XX_2) := sym53c8xx.o
+list-multi := sym53c8xx_2.o
+sym53c8xx_2-objs := sym_fw.o sym_glue.o sym_hipd.o sym_malloc.o sym_misc.o sym_nvram.o
+obj-$(CONFIG_SCSI_SYM53C8XX_2) := sym53c8xx_2.o

EXTRA_CFLAGS += -I.

-sym53c8xx.o: $(sym53c8xx-objs)
- $(LD) -r -o $@ $(sym53c8xx-objs)
+sym53c8xx_2.o: $(sym53c8xx_2-objs)
+ $(LD) -r -o $@ $(sym53c8xx_2-objs)

include $(TOPDIR)/Rules.make
--end--
--
Galiza nin perdoa nin esquence. Governo demision!


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.028 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site