linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] avoid two sym53c8xx names
@ 2003-05-11  2:01 Xose Vazquez Perez
  2003-05-11  4:25 ` Xose Vazquez Perez
  0 siblings, 1 reply; 2+ messages in thread
From: Xose Vazquez Perez @ 2003-05-11  2:01 UTC (permalink / raw)
  To: linux-kernel, marcelo

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
--end--

-thanks-

regards,
-- 
Galiza nin perdoa nin esquence. Governo demision!


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] avoid two sym53c8xx names
  2003-05-11  2:01 [PATCH] avoid two sym53c8xx names Xose Vazquez Perez
@ 2003-05-11  4:25 ` Xose Vazquez Perez
  0 siblings, 0 replies; 2+ messages in thread
From: Xose Vazquez Perez @ 2003-05-11  4:25 UTC (permalink / raw)
  To: linux-kernel; +Cc: marcelo

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!



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-11  4:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-11  2:01 [PATCH] avoid two sym53c8xx names Xose Vazquez Perez
2003-05-11  4:25 ` Xose Vazquez Perez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).