Makefile 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #
  2. # Makefile for the linux kernel.
  3. #
  4. # Common support
  5. obj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \
  6. serial.o devices.o dma.o fb.o
  7. obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o
  8. ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
  9. obj-y += mcbsp.o
  10. endif
  11. obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o
  12. # OCPI interconnect support for 1710, 1610 and 5912
  13. obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
  14. # Power Management
  15. obj-$(CONFIG_PM) += pm.o sleep.o
  16. i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
  17. obj-y += $(i2c-omap-m) $(i2c-omap-y)
  18. led-y := leds.o
  19. usb-fs-$(CONFIG_USB) := usb.o
  20. obj-y += $(usb-fs-m) $(usb-fs-y)
  21. # Specific board support
  22. obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o \
  23. board-nand.o
  24. obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o
  25. obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
  26. obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o board-nand.o
  27. obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o board-nand.o
  28. obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
  29. obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o \
  30. board-nand.o
  31. obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o
  32. obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o
  33. obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o
  34. obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o
  35. obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o ams-delta-fiq.o \
  36. ams-delta-fiq-handler.o
  37. obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o
  38. obj-$(CONFIG_MACH_HERALD) += board-htcherald.o
  39. ifeq ($(CONFIG_ARCH_OMAP15XX),y)
  40. # Innovator-1510 FPGA
  41. obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o
  42. endif
  43. # GPIO
  44. obj-$(CONFIG_ARCH_OMAP730) += gpio7xx.o
  45. obj-$(CONFIG_ARCH_OMAP850) += gpio7xx.o
  46. obj-$(CONFIG_ARCH_OMAP15XX) += gpio15xx.o
  47. obj-$(CONFIG_ARCH_OMAP16XX) += gpio16xx.o
  48. ifneq ($(CONFIG_FB_OMAP),)
  49. obj-y += lcd_dma.o
  50. endif