Makefile
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:6k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. # Makefile for the Linux video drivers.
  2. # 5 Aug 1999, James Simmons, <mailto:jsimmons@edgeglobal.com>
  3. # Rewritten to use lists instead of if-statements.
  4. O_TARGET := video.o
  5. mod-subdirs := matrox
  6. # All of the (potential) objects that export symbols.
  7. # This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
  8. export-objs    := fbmem.o fbcmap.o fbcon.o fbmon.o modedb.o 
  9.   fbcon-afb.o fbcon-ilbm.o 
  10.   fbcon-vga.o fbcon-iplan2p2.o fbcon-iplan2p4.o 
  11.   fbcon-iplan2p8.o fbcon-vga-planes.o fbcon-cfb16.o 
  12.   fbcon-cfb2.o fbcon-cfb24.o fbcon-cfb32.o fbcon-cfb4.o 
  13.   fbcon-cfb8.o fbcon-mac.o fbcon-mfb.o 
  14.   cyber2000fb.o sa1100fb.o fbcon-hga.o pxafb.o s3c2410fb.o
  15. # Each configuration option enables a list of files.
  16. obj-$(CONFIG_DUMMY_CONSOLE)       += dummycon.o
  17. obj-$(CONFIG_SGI_NEWPORT_CONSOLE) += newport_con.o
  18. obj-$(CONFIG_PROM_CONSOLE)        += promcon.o promcon_tbl.o
  19. obj-$(CONFIG_STI_CONSOLE)         += sticon.o sticon-bmode.o sticore.o
  20. obj-$(CONFIG_VGA_CONSOLE)         += vgacon.o
  21. obj-$(CONFIG_MDA_CONSOLE)         += mdacon.o
  22. obj-$(CONFIG_FONT_SUN8x16)        += font_sun8x16.o
  23. obj-$(CONFIG_FONT_SUN12x22)       += font_sun12x22.o
  24. obj-$(CONFIG_FONT_8x8)            += font_8x8.o
  25. obj-$(CONFIG_FONT_8x16)           += font_8x16.o
  26. obj-$(CONFIG_FONT_6x11)           += font_6x11.o
  27. obj-$(CONFIG_FONT_PEARL_8x8)      += font_pearl_8x8.o
  28. obj-$(CONFIG_FONT_ACORN_8x8)      += font_acorn_8x8.o
  29. # Add fbmon.o back into obj-$(CONFIG_FB) in 2.5.x
  30. obj-$(CONFIG_FB)                  += fbmem.o fbcmap.o modedb.o fbcon.o fonts.o
  31. # Only include macmodes.o if we have FB support and are PPC
  32. ifeq ($(CONFIG_FB),y)
  33. obj-$(CONFIG_PPC)                 += macmodes.o
  34. endif
  35. obj-$(CONFIG_FB_ACORN)            += acornfb.o
  36. obj-$(CONFIG_FB_AMIGA)            += amifb.o
  37. obj-$(CONFIG_FB_PM2)              += pm2fb.o fbgen.o
  38. obj-$(CONFIG_FB_PM3)              += pm3fb.o fbgen.o
  39. obj-$(CONFIG_FB_APOLLO)           += dnfb.o
  40. obj-$(CONFIG_FB_Q40)              += q40fb.o
  41. obj-$(CONFIG_FB_ATARI)            += atafb.o
  42. obj-$(CONFIG_FB_ATY128)           += aty128fb.o
  43. obj-$(CONFIG_FB_RADEON)   += radeonfb.o
  44. obj-$(CONFIG_FB_IGA)              += igafb.o
  45. obj-$(CONFIG_FB_CONTROL)          += controlfb.o
  46. obj-$(CONFIG_FB_PLATINUM)         += platinumfb.o
  47. obj-$(CONFIG_FB_VALKYRIE)         += valkyriefb.o
  48. obj-$(CONFIG_FB_CT65550)          += chipsfb.o
  49. obj-$(CONFIG_FB_CLPS711X)         += clps711xfb.o
  50. obj-$(CONFIG_FB_CYBER)            += cyberfb.o
  51. obj-$(CONFIG_FB_CYBER2000)        += cyber2000fb.o
  52. obj-$(CONFIG_FB_SGIVW)            += sgivwfb.o
  53. obj-$(CONFIG_FB_3DFX)             += tdfxfb.o
  54. obj-$(CONFIG_FB_MAC)              += macfb.o macmodes.o
  55. obj-$(CONFIG_FB_HP300)            += hpfb.o
  56. obj-$(CONFIG_FB_OF)               += offb.o
  57. obj-$(CONFIG_FB_IMSTT)            += imsttfb.o
  58. obj-$(CONFIG_FB_RETINAZ3)         += retz3fb.o
  59. obj-$(CONFIG_FB_CLGEN)            += clgenfb.o fbgen.o
  60. obj-$(CONFIG_FB_TRIDENT)          += tridentfb.o fbgen.o
  61. obj-$(CONFIG_FB_S3TRIO)           += S3triofb.o
  62. obj-$(CONFIG_FB_TGA)              += tgafb.o fbgen.o
  63. obj-$(CONFIG_FB_VESA)             += vesafb.o 
  64. obj-$(CONFIG_FB_VGA16)            += vga16fb.o fbcon-vga-planes.o
  65. obj-$(CONFIG_FB_VIRGE)            += virgefb.o
  66. obj-$(CONFIG_FB_G364)             += g364fb.o
  67. obj-$(CONFIG_FB_FM2)              += fm2fb.o
  68. obj-$(CONFIG_FB_CREATOR)          += creatorfb.o sbusfb.o
  69. obj-$(CONFIG_FB_CGSIX)            += cgsixfb.o sbusfb.o
  70. obj-$(CONFIG_FB_BWTWO)            += bwtwofb.o sbusfb.o
  71. obj-$(CONFIG_FB_CGTHREE)          += cgthreefb.o sbusfb.o
  72. obj-$(CONFIG_FB_TCX)              += tcxfb.o sbusfb.o
  73. obj-$(CONFIG_FB_CGFOURTEEN)       += cgfourteenfb.o sbusfb.o
  74. obj-$(CONFIG_FB_P9100)            += p9100fb.o sbusfb.o
  75. obj-$(CONFIG_FB_LEO)              += leofb.o sbusfb.o
  76. obj-$(CONFIG_FB_STI)           += stifb.o sticore.o fbgen.o
  77. obj-$(CONFIG_FB_PMAG_BA)          += pmag-ba-fb.o
  78. obj-$(CONFIG_FB_PMAGB_B)          += pmagb-b-fb.o
  79. obj-$(CONFIG_FB_MAXINE)           += maxinefb.o
  80. obj-$(CONFIG_FB_TX3912)           += tx3912fb.o
  81. subdir-$(CONFIG_FB_MATROX)   += matrox
  82. ifeq ($(CONFIG_FB_MATROX),y)
  83. obj-y   += matrox/matrox.o
  84. endif
  85. subdir-$(CONFIG_FB_RIVA)   += riva
  86. ifeq ($(CONFIG_FB_RIVA),y)
  87. obj-y   += riva/rivafb.o
  88. endif
  89. subdir-$(CONFIG_FB_SIS)   += sis
  90. ifeq ($(CONFIG_FB_SIS),y)
  91. obj-y   += sis/sisfb.o
  92. endif
  93. subdir-$(CONFIG_FB_ATY)   += aty
  94. ifeq ($(CONFIG_FB_ATY),y)
  95. obj-y   += aty/atyfb.o
  96. endif
  97. obj-$(CONFIG_FB_SUN3)             += sun3fb.o
  98. obj-$(CONFIG_FB_BWTWO)            += bwtwofb.o
  99. obj-$(CONFIG_FB_HGA)              += hgafb.o  
  100. obj-$(CONFIG_FB_SA1100)           += sa1100fb.o
  101. obj-$(CONFIG_FB_PXA)   += pxafb.o
  102. obj-$(CONFIG_FB_E13806)   += sed13806fb.o fbgen.o
  103. obj-$(CONFIG_FB_VIRTUAL)          += vfb.o  
  104. obj-$(CONFIG_FB_HIT)              += hitfb.o fbgen.o
  105. obj-$(CONFIG_FB_E1355)            += epson1355fb.o fbgen.o
  106. obj-$(CONFIG_FB_PVR2)             += pvr2fb.o
  107. obj-$(CONFIG_FB_VOODOO1)          += sstfb.o
  108. obj-$(CONFIG_FB_ANAKIN)           += anakinfb.o
  109. obj-$(CONFIG_FB_S3C2400)   += s3c2400fb.o
  110. obj-$(CONFIG_FB_GAMEPARK_FSTN)   += s6b7024fb.o fbgen.o
  111. obj-$(CONFIG_FB_S3C2410)   += s3c2410fb.o
  112. # Generic Low Level Drivers
  113. obj-$(CONFIG_FBCON_AFB)           += fbcon-afb.o
  114. obj-$(CONFIG_FBCON_CFB2)          += fbcon-cfb2.o
  115. obj-$(CONFIG_FBCON_CFB4)          += fbcon-cfb4.o
  116. obj-$(CONFIG_FBCON_CFB8)          += fbcon-cfb8.o
  117. obj-$(CONFIG_FBCON_CFB16)         += fbcon-cfb16.o
  118. obj-$(CONFIG_FBCON_CFB24)         += fbcon-cfb24.o
  119. obj-$(CONFIG_FBCON_CFB32)         += fbcon-cfb32.o
  120. obj-$(CONFIG_FBCON_ILBM)          += fbcon-ilbm.o
  121. obj-$(CONFIG_FBCON_IPLAN2P2)      += fbcon-iplan2p2.o
  122. obj-$(CONFIG_FBCON_IPLAN2P4)      += fbcon-iplan2p4.o
  123. obj-$(CONFIG_FBCON_IPLAN2P8)      += fbcon-iplan2p8.o
  124. obj-$(CONFIG_FBCON_IPLAN2P16)     += fbcon-iplan2p16.o
  125. obj-$(CONFIG_FBCON_MAC)           += fbcon-mac.o
  126. obj-$(CONFIG_FBCON_MFB)           += fbcon-mfb.o
  127. obj-$(CONFIG_FBCON_VGA)           += fbcon-vga.o
  128. obj-$(CONFIG_FBCON_HGA)           += fbcon-hga.o
  129. obj-$(CONFIG_FBCON_STI)           += fbcon-sti.o
  130. ifeq ($(CONFIG_SA1100_G200),y)
  131.   obj-$(CONFIG_FB_SA1100) += g200_frontlight.o
  132. endif
  133. ifeq ($(CONFIG_SA1100_GILL),y)
  134.   obj-$(CONFIG_FB_SA1100) += gill_frontlight.o
  135. endif
  136. include $(TOPDIR)/Rules.make
  137. clean:
  138. rm -f core *.o *.a *.s
  139. ../conmakehash: ../conmakehash.c
  140. $(HOSTCC) $(HOSTCFLAGS) -o ../conmakehash ../conmakehash.c
  141. promcon_tbl.c: prom.uni ../char/conmakehash
  142. ../char/conmakehash prom.uni | 
  143. sed -e '/#include <[^>]*>/p' -e 's/types/init/' 
  144.     -e 's/dfont(_uni.*])/promfont1 __initdata/' > promcon_tbl.c
  145. promcon_tbl.o: promcon_tbl.c $(TOPDIR)/include/linux/types.h