blob: f0a008496993ec1a5fc1625068ffb69aa510a3f1 [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 Dooks2c2f69b2009-12-23 18:43:48 +00009# Objects we always build independent of SoC choice
10
Kukjin Kime6d1cb92011-08-20 12:18:07 +090011obj-y += init.o cpu.o
Kukjin Kim33bf3322012-04-17 11:20:49 -070012
Maurus Cuelenaere3929e1e2010-01-14 00:30:31 +010013# ADC
14
15obj-$(CONFIG_S3C_ADC) += adc.o
16
Ben Dooksb6a60412010-01-06 02:45:09 +090017# devices
18
Tomasz Figacd8dc7a2013-06-15 09:01:49 +090019obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o
Ben Dooks3911dab2010-06-10 12:57:15 +090020
Tomasz Figacd8dc7a2013-06-15 09:01:49 +090021obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o
22obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o
Kukjin Kimd9c452f2012-04-17 20:21:30 -070023obj-$(CONFIG_S5P_DEV_MFC) += s5p-dev-mfc.o
Ben Dooks67866fb2010-01-18 10:47:45 +090024
Banajit Goswamif00207b2011-07-20 23:44:21 +090025obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o
Ben Dooks67866fb2010-01-18 10:47:45 +090026
Sylwester Nawrockie51d5482012-11-22 14:29:18 +090027obj-$(CONFIG_S3C_SETUP_CAMIF) += setup-camif.o
Kukjin Kimd9c452f2012-04-17 20:21:30 -070028
Ben Dooks2c420fe2010-01-29 09:02:15 +000029# DMA support
30
Boojin Kimc4e16622011-09-02 09:44:35 +090031obj-$(CONFIG_S3C_DMA) += dma.o s3c-dma-ops.o
Ben Dooks2c420fe2010-01-29 09:02:15 +000032
Boojin Kimc4e16622011-09-02 09:44:35 +090033obj-$(CONFIG_SAMSUNG_DMADEV) += dma-ops.o
Jassi Brard800ede2010-05-18 11:59:06 +090034
Ben Dooks67866fb2010-01-18 10:47:45 +090035# PM support
Olof Johansson4923ee42013-04-26 11:32:02 -070036
Tomasz Figab2789912014-03-18 07:28:10 +090037obj-$(CONFIG_PM_SLEEP) += pm-common.o
Amit Daniel Kachhap89693012013-07-24 14:06:13 +090038obj-$(CONFIG_SAMSUNG_PM) += pm.o
Tomasz Figa105dddb2013-06-19 01:24:12 +090039obj-$(CONFIG_SAMSUNG_PM_GPIO) += pm-gpio.o
Ben Dooks80057452010-01-20 12:29:25 +090040obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
Tomasz Figa72551f62014-03-18 07:28:09 +090041obj-$(CONFIG_SAMSUNG_PM_DEBUG) += pm-debug.o
Ben Dooks106cc6a2010-01-20 12:22:24 +090042
Ben Dooks0317e522010-05-20 14:05:33 +090043obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
Tomasz Figaa4658e52013-06-17 23:45:33 +090044obj-$(CONFIG_SAMSUNG_WDT_RESET) += watchdog-reset.o