mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch] 2.5.28 Correct drivers/video aty build inconsistency
@ 2002-07-26  4:13 Keith Owens
  2002-07-26 20:15 ` James Simmons
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Owens @ 2002-07-26  4:13 UTC (permalink / raw)
  To: jsimmons; +Cc: linux-kernel

Detected by kbuild 2.5.

pp_makefile4:
Warning: drivers/video/cfbimgblt.o is a sub-object and it appears on select().
         This is an ambiguous combination and is not recommended.

CONFIG_FB_NEOMAGIC=m, CONFIG_FB_ATY=y builds cfbimgblt as a module then
links it into vmlinux via atyfb.

Index: 28.1/drivers/video/aty/Makefile
--- 28.1/drivers/video/aty/Makefile Fri, 26 Jul 2002 10:10:31 +1000 kaos (linux-2.5/u/b/12_Makefile 1.3 444)
+++ 28.1(w)/drivers/video/aty/Makefile Fri, 26 Jul 2002 14:07:55 +1000 kaos (linux-2.5/u/b/12_Makefile 1.3 444)
@@ -3,7 +3,7 @@ export-objs    :=  atyfb_base.o mach64_a
 
 obj-$(CONFIG_FB_ATY) += atyfb.o
 
-atyfb-y				:= atyfb_base.o mach64_accel.o ../cfbimgblt.o
+atyfb-y				:= atyfb_base.o mach64_accel.o
 atyfb-$(CONFIG_FB_ATY_GX)	+= mach64_gx.o
 atyfb-$(CONFIG_FB_ATY_CT)	+= mach64_ct.o mach64_cursor.o
 atyfb-objs			:= $(atyfb-y)
Index: 28.1/drivers/video/Makefile
--- 28.1/drivers/video/Makefile Fri, 26 Jul 2002 10:10:31 +1000 kaos (linux-2.5/x/b/16_Makefile 1.12 444)
+++ 28.1(w)/drivers/video/Makefile Fri, 26 Jul 2002 14:08:51 +1000 kaos (linux-2.5/x/b/16_Makefile 1.12 444)
@@ -89,7 +89,7 @@ obj-$(CONFIG_FB_TX3912)           += tx3
 obj-$(CONFIG_FB_MATROX)		  += matrox/
 obj-$(CONFIG_FB_RIVA)		  += riva/
 obj-$(CONFIG_FB_SIS)		  += sis/
-obj-$(CONFIG_FB_ATY)		  += aty/
+obj-$(CONFIG_FB_ATY)		  += aty/ cfbimgblt.o
 
 obj-$(CONFIG_FB_SUN3)             += sun3fb.o
 obj-$(CONFIG_FB_BWTWO)            += bwtwofb.o


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

* Re: [patch] 2.5.28 Correct drivers/video aty build inconsistency
  2002-07-26  4:13 [patch] 2.5.28 Correct drivers/video aty build inconsistency Keith Owens
@ 2002-07-26 20:15 ` James Simmons
  0 siblings, 0 replies; 2+ messages in thread
From: James Simmons @ 2002-07-26 20:15 UTC (permalink / raw)
  To: Keith Owens; +Cc: Linux Kernel Mailing List


Fixed. Thanks.

   . ---
   |o_o |
   |:_/ |   Give Micro$oft the Bird!!!!
  //   \ \  Use Linux!!!!
 (|     | )
 /'\_   _/`\
 \___)=(___/

On Fri, 26 Jul 2002, Keith Owens wrote:

> Detected by kbuild 2.5.
>
> pp_makefile4:
> Warning: drivers/video/cfbimgblt.o is a sub-object and it appears on select().
>          This is an ambiguous combination and is not recommended.
>
> CONFIG_FB_NEOMAGIC=m, CONFIG_FB_ATY=y builds cfbimgblt as a module then
> links it into vmlinux via atyfb.
>
> Index: 28.1/drivers/video/aty/Makefile
> --- 28.1/drivers/video/aty/Makefile Fri, 26 Jul 2002 10:10:31 +1000 kaos (linux-2.5/u/b/12_Makefile 1.3 444)
> +++ 28.1(w)/drivers/video/aty/Makefile Fri, 26 Jul 2002 14:07:55 +1000 kaos (linux-2.5/u/b/12_Makefile 1.3 444)
> @@ -3,7 +3,7 @@ export-objs    :=  atyfb_base.o mach64_a
>
>  obj-$(CONFIG_FB_ATY) += atyfb.o
>
> -atyfb-y				:= atyfb_base.o mach64_accel.o ../cfbimgblt.o
> +atyfb-y				:= atyfb_base.o mach64_accel.o
>  atyfb-$(CONFIG_FB_ATY_GX)	+= mach64_gx.o
>  atyfb-$(CONFIG_FB_ATY_CT)	+= mach64_ct.o mach64_cursor.o
>  atyfb-objs			:= $(atyfb-y)
> Index: 28.1/drivers/video/Makefile
> --- 28.1/drivers/video/Makefile Fri, 26 Jul 2002 10:10:31 +1000 kaos (linux-2.5/x/b/16_Makefile 1.12 444)
> +++ 28.1(w)/drivers/video/Makefile Fri, 26 Jul 2002 14:08:51 +1000 kaos (linux-2.5/x/b/16_Makefile 1.12 444)
> @@ -89,7 +89,7 @@ obj-$(CONFIG_FB_TX3912)           += tx3
>  obj-$(CONFIG_FB_MATROX)		  += matrox/
>  obj-$(CONFIG_FB_RIVA)		  += riva/
>  obj-$(CONFIG_FB_SIS)		  += sis/
> -obj-$(CONFIG_FB_ATY)		  += aty/
> +obj-$(CONFIG_FB_ATY)		  += aty/ cfbimgblt.o
>
>  obj-$(CONFIG_FB_SUN3)             += sun3fb.o
>  obj-$(CONFIG_FB_BWTWO)            += bwtwofb.o
>
> -
> 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/
>


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

end of thread, other threads:[~2002-07-26 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-26  4:13 [patch] 2.5.28 Correct drivers/video aty build inconsistency Keith Owens
2002-07-26 20:15 ` James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®