Makefile 895 B

123456789101112131415161718192021222324252627282930313233343536
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Copyright 2009 Simtec Electronics
  4. ccflags-$(CONFIG_ARCH_S3C64XX) := -I$(srctree)/arch/arm/mach-s3c64xx/include
  5. ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include
  6. # Objects we always build independent of SoC choice
  7. obj-y += init.o cpu.o
  8. # ADC
  9. obj-$(CONFIG_S3C_ADC) += adc.o
  10. # devices
  11. obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o
  12. obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o
  13. obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o
  14. obj-$(CONFIG_GPIO_SAMSUNG) += gpio-samsung.o
  15. # PM support
  16. obj-$(CONFIG_PM_SLEEP) += pm-common.o
  17. obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm-common.o
  18. obj-$(CONFIG_SAMSUNG_PM) += pm.o
  19. obj-$(CONFIG_SAMSUNG_PM_GPIO) += pm-gpio.o
  20. obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
  21. obj-$(CONFIG_SAMSUNG_PM_DEBUG) += pm-debug.o
  22. obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
  23. obj-$(CONFIG_SAMSUNG_WDT_RESET) += watchdog-reset.o