blob: 5fe175017f07bad4d698ad226e38b2c41cec0bb4 [file] [log] [blame]
Kukjin Kim61c542b2011-10-03 09:46:13 +09001# arch/arm/plat-samsung/Makefile
Ben Dookscf383672009-11-10 00:14:58 +00002#
3# Copyright 2009 Simtec Electronics
4#
5# Licensed under GPLv2
6
Arnd Bergmann9dfa92e2014-05-26 06:09:57 +09007ccflags-$(CONFIG_ARCH_MULTI_V7) += -I$(srctree)/$(src)/include
Arnd Bergmann9dfa92e2014-05-26 06:09:57 +09008
Ben Dookscf383672009-11-10 00:14:58 +00009obj-y :=
10obj-m :=
11obj-n := dummy.o
12obj- :=
13
Ben Dooks2c2f69b2009-12-23 18:43:48 +000014# Objects we always build independent of SoC choice
15
Kukjin Kime6d1cb92011-08-20 12:18:07 +090016obj-y += init.o cpu.o
Kukjin Kim33bf3322012-04-17 11:20:49 -070017
Maurus Cuelenaere3929e1e2010-01-14 00:30:31 +010018# ADC
19
20obj-$(CONFIG_S3C_ADC) += adc.o
21
Ben Dooksb6a60412010-01-06 02:45:09 +090022# devices
23
Tomasz Figacd8dc7a2013-06-15 09:01:49 +090024obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o
Ben Dooks3911dab2010-06-10 12:57:15 +090025
Tomasz Figacd8dc7a2013-06-15 09:01:49 +090026obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o
27obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o
Kukjin Kimd9c452f2012-04-17 20:21:30 -070028obj-$(CONFIG_S5P_DEV_MFC) += s5p-dev-mfc.o
Ben Dooks67866fb2010-01-18 10:47:45 +090029
Banajit Goswamif00207b2011-07-20 23:44:21 +090030obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o
Ben Dooks67866fb2010-01-18 10:47:45 +090031
Sylwester Nawrockie51d5482012-11-22 14:29:18 +090032obj-$(CONFIG_S3C_SETUP_CAMIF) += setup-camif.o
Kukjin Kimd9c452f2012-04-17 20:21:30 -070033
Ben Dooks2c420fe2010-01-29 09:02:15 +000034# DMA support
35
Boojin Kimc4e16622011-09-02 09:44:35 +090036obj-$(CONFIG_S3C_DMA) += dma.o s3c-dma-ops.o
Ben Dooks2c420fe2010-01-29 09:02:15 +000037
Boojin Kimc4e16622011-09-02 09:44:35 +090038obj-$(CONFIG_SAMSUNG_DMADEV) += dma-ops.o
Jassi Brard800ede2010-05-18 11:59:06 +090039
Ben Dooks67866fb2010-01-18 10:47:45 +090040# PM support
Olof Johansson4923ee42013-04-26 11:32:02 -070041
Tomasz Figab2789912014-03-18 07:28:10 +090042obj-$(CONFIG_PM_SLEEP) += pm-common.o
Amit Daniel Kachhap89693012013-07-24 14:06:13 +090043obj-$(CONFIG_SAMSUNG_PM) += pm.o
Tomasz Figa105dddb2013-06-19 01:24:12 +090044obj-$(CONFIG_SAMSUNG_PM_GPIO) += pm-gpio.o
Ben Dooks80057452010-01-20 12:29:25 +090045obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
Tomasz Figa72551f62014-03-18 07:28:09 +090046obj-$(CONFIG_SAMSUNG_PM_DEBUG) += pm-debug.o
Ben Dooks106cc6a2010-01-20 12:22:24 +090047
Ben Dooks0317e522010-05-20 14:05:33 +090048obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
Tomasz Figaa4658e52013-06-17 23:45:33 +090049obj-$(CONFIG_SAMSUNG_WDT_RESET) += watchdog-reset.o