mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 02:54:32 +08:00
e2404e7c3f
Now that the disentangling is complete, stop including intel-gtt.c from intel-agp.c. The linux build system _really_ doesn't allow .c source files with the same name as the module. It fails with the following message when trying to build such a bugger: make[3]: Circular drivers/char/agp/intel-agp.o <- drivers/char/agp/intel-agp.o dependency dropped. Instead of renameing intel-agp.c I've simply created a new module out of intel-gtt.c. Renaming intel-agp.ko to something else is not an option for it will surely kill someones boot process. This also paves the way to use the gtt code without loading the agp driver. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
23 lines
805 B
Makefile
23 lines
805 B
Makefile
agpgart-y := backend.o frontend.o generic.o isoch.o
|
|
|
|
agpgart-$(CONFIG_COMPAT) += compat_ioctl.o
|
|
|
|
obj-$(CONFIG_AGP) += agpgart.o
|
|
obj-$(CONFIG_AGP_ALI) += ali-agp.o
|
|
obj-$(CONFIG_AGP_ATI) += ati-agp.o
|
|
obj-$(CONFIG_AGP_AMD) += amd-k7-agp.o
|
|
obj-$(CONFIG_AGP_AMD64) += amd64-agp.o
|
|
obj-$(CONFIG_AGP_ALPHA_CORE) += alpha-agp.o
|
|
obj-$(CONFIG_AGP_EFFICEON) += efficeon-agp.o
|
|
obj-$(CONFIG_AGP_HP_ZX1) += hp-agp.o
|
|
obj-$(CONFIG_AGP_PARISC) += parisc-agp.o
|
|
obj-$(CONFIG_AGP_I460) += i460-agp.o
|
|
obj-$(CONFIG_AGP_INTEL) += intel-agp.o
|
|
obj-$(CONFIG_AGP_INTEL) += intel-gtt.o
|
|
obj-$(CONFIG_AGP_NVIDIA) += nvidia-agp.o
|
|
obj-$(CONFIG_AGP_SGI_TIOCA) += sgi-agp.o
|
|
obj-$(CONFIG_AGP_SIS) += sis-agp.o
|
|
obj-$(CONFIG_AGP_SWORKS) += sworks-agp.o
|
|
obj-$(CONFIG_AGP_UNINORTH) += uninorth-agp.o
|
|
obj-$(CONFIG_AGP_VIA) += via-agp.o
|