Makefile 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # arch/arm/mach-s3c64xx/Makefile
  2. #
  3. # Copyright 2008 Openmoko, Inc.
  4. # Copyright 2008 Simtec Electronics
  5. #
  6. # Licensed under GPLv2
  7. ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
  8. asflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
  9. # PM
  10. obj-$(CONFIG_PM) += pm.o
  11. obj-$(CONFIG_PM_SLEEP) += sleep.o
  12. obj-$(CONFIG_CPU_IDLE) += cpuidle.o
  13. ifdef CONFIG_SAMSUNG_ATAGS
  14. obj-$(CONFIG_PM_SLEEP) += irq-pm.o
  15. # Core
  16. obj-y += common.o
  17. obj-$(CONFIG_CPU_S3C6400) += s3c6400.o
  18. obj-$(CONFIG_CPU_S3C6410) += s3c6410.o
  19. # DMA support
  20. obj-$(CONFIG_S3C64XX_PL080) += pl080.o
  21. # Device support
  22. obj-y += dev-uart.o
  23. obj-y += dev-audio.o
  24. # Device setup
  25. obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP) += setup-fb-24bpp.o
  26. obj-$(CONFIG_S3C64XX_SETUP_I2C0) += setup-i2c0.o
  27. obj-$(CONFIG_S3C64XX_SETUP_I2C1) += setup-i2c1.o
  28. obj-$(CONFIG_S3C64XX_SETUP_IDE) += setup-ide.o
  29. obj-$(CONFIG_S3C64XX_SETUP_KEYPAD) += setup-keypad.o
  30. obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o
  31. obj-$(CONFIG_S3C64XX_SETUP_SPI) += setup-spi.o
  32. obj-$(CONFIG_S3C64XX_SETUP_USB_PHY) += setup-usb-phy.o
  33. obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o
  34. # Machine support
  35. obj-$(CONFIG_MACH_ANW6410) += mach-anw6410.o
  36. obj-$(CONFIG_MACH_HMT) += mach-hmt.o
  37. obj-$(CONFIG_MACH_MINI6410) += mach-mini6410.o
  38. obj-$(CONFIG_MACH_NCP) += mach-ncp.o
  39. obj-$(CONFIG_MACH_REAL6410) += mach-real6410.o
  40. obj-$(CONFIG_MACH_SMARTQ) += mach-smartq.o
  41. obj-$(CONFIG_MACH_SMARTQ5) += mach-smartq5.o
  42. obj-$(CONFIG_MACH_SMARTQ7) += mach-smartq7.o
  43. obj-$(CONFIG_MACH_SMDK6400) += mach-smdk6400.o
  44. obj-$(CONFIG_MACH_SMDK6410) += mach-smdk6410.o
  45. obj-$(CONFIG_MACH_WLF_CRAGG_6410) += mach-crag6410.o mach-crag6410-module.o
  46. endif
  47. obj-$(CONFIG_MACH_S3C64XX_DT) += mach-s3c64xx-dt.o