Kukjin Kim | 61c542b | 2011-10-03 09:46:13 +0900 | [diff] [blame] | 1 | # arch/arm/plat-samsung/Makefile |
Ben Dooks | cf38367 | 2009-11-10 00:14:58 +0000 | [diff] [blame] | 2 | # |
| 3 | # Copyright 2009 Simtec Electronics |
| 4 | # |
| 5 | # Licensed under GPLv2 |
| 6 | |
Arnd Bergmann | af37eec | 2014-07-07 14:25:15 +0200 | [diff] [blame] | 7 | ccflags-$(CONFIG_ARCH_S3C64XX) := -I$(srctree)/arch/arm/mach-s3c64xx/include |
| 8 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include |
Arnd Bergmann | 9dfa92e | 2014-05-26 06:09:57 +0900 | [diff] [blame] | 9 | |
Ben Dooks | 2c2f69b | 2009-12-23 18:43:48 +0000 | [diff] [blame] | 10 | # Objects we always build independent of SoC choice |
| 11 | |
Kukjin Kim | e6d1cb9 | 2011-08-20 12:18:07 +0900 | [diff] [blame] | 12 | obj-y += init.o cpu.o |
Kukjin Kim | 33bf332 | 2012-04-17 11:20:49 -0700 | [diff] [blame] | 13 | |
Maurus Cuelenaere | 3929e1e | 2010-01-14 00:30:31 +0100 | [diff] [blame] | 14 | # ADC |
| 15 | |
| 16 | obj-$(CONFIG_S3C_ADC) += adc.o |
| 17 | |
Ben Dooks | b6a6041 | 2010-01-06 02:45:09 +0900 | [diff] [blame] | 18 | # devices |
| 19 | |
Tomasz Figa | cd8dc7a | 2013-06-15 09:01:49 +0900 | [diff] [blame] | 20 | obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o |
Ben Dooks | 3911dab | 2010-06-10 12:57:15 +0900 | [diff] [blame] | 21 | |
Tomasz Figa | cd8dc7a | 2013-06-15 09:01:49 +0900 | [diff] [blame] | 22 | obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o |
| 23 | obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o |
Ben Dooks | 67866fb | 2010-01-18 10:47:45 +0900 | [diff] [blame] | 24 | |
Arnd Bergmann | 0f20e45 | 2015-02-27 21:54:18 +0100 | [diff] [blame] | 25 | obj-$(CONFIG_GPIO_SAMSUNG) += gpio-samsung.o |
| 26 | |
Ben Dooks | 67866fb | 2010-01-18 10:47:45 +0900 | [diff] [blame] | 27 | # PM support |
Olof Johansson | 4923ee4 | 2013-04-26 11:32:02 -0700 | [diff] [blame] | 28 | |
Tomasz Figa | b278991 | 2014-03-18 07:28:10 +0900 | [diff] [blame] | 29 | obj-$(CONFIG_PM_SLEEP) += pm-common.o |
Bartlomiej Zolnierkiewicz | 0d713cf | 2014-09-25 18:02:45 +0900 | [diff] [blame] | 30 | obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm-common.o |
Amit Daniel Kachhap | 8969301 | 2013-07-24 14:06:13 +0900 | [diff] [blame] | 31 | obj-$(CONFIG_SAMSUNG_PM) += pm.o |
Tomasz Figa | 105dddb | 2013-06-19 01:24:12 +0900 | [diff] [blame] | 32 | obj-$(CONFIG_SAMSUNG_PM_GPIO) += pm-gpio.o |
Ben Dooks | 8005745 | 2010-01-20 12:29:25 +0900 | [diff] [blame] | 33 | obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o |
Tomasz Figa | 72551f6 | 2014-03-18 07:28:09 +0900 | [diff] [blame] | 34 | obj-$(CONFIG_SAMSUNG_PM_DEBUG) += pm-debug.o |
Ben Dooks | 106cc6a | 2010-01-20 12:22:24 +0900 | [diff] [blame] | 35 | |
Ben Dooks | 0317e52 | 2010-05-20 14:05:33 +0900 | [diff] [blame] | 36 | obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o |
Tomasz Figa | a4658e5 | 2013-06-17 23:45:33 +0900 | [diff] [blame] | 37 | obj-$(CONFIG_SAMSUNG_WDT_RESET) += watchdog-reset.o |