2011-10-03 04:46:13 +04:00
|
|
|
# arch/arm/plat-samsung/Makefile
|
2009-11-10 03:14:58 +03:00
|
|
|
#
|
|
|
|
# Copyright 2009 Simtec Electronics
|
|
|
|
#
|
|
|
|
# Licensed under GPLv2
|
|
|
|
|
2013-04-10 16:57:15 +04:00
|
|
|
ccflags-$(CONFIG_ARCH_MULTI_V7) += -I$(srctree)/$(src)/include
|
|
|
|
ccflags-$(CONFIG_ARCH_EXYNOS) += -I$(srctree)/arch/arm/mach-exynos/include
|
|
|
|
|
2009-11-10 03:14:58 +03:00
|
|
|
obj-y :=
|
|
|
|
obj-m :=
|
|
|
|
obj-n := dummy.o
|
|
|
|
obj- :=
|
|
|
|
|
2009-12-23 21:43:48 +03:00
|
|
|
# Objects we always build independent of SoC choice
|
|
|
|
|
2011-08-20 07:18:07 +04:00
|
|
|
obj-y += init.o cpu.o
|
2010-07-26 16:13:08 +04:00
|
|
|
obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET) += time.o
|
2012-04-17 22:20:49 +04:00
|
|
|
obj-$(CONFIG_S5P_HRT) += s5p-time.o
|
|
|
|
|
2012-07-12 11:57:19 +04:00
|
|
|
obj-$(CONFIG_SAMSUNG_CLOCK) += clock.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_CLOCK) += pwm-clock.o
|
2009-12-23 21:43:48 +03:00
|
|
|
|
2009-12-01 04:24:34 +03:00
|
|
|
obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o
|
2012-04-16 08:13:29 +04:00
|
|
|
obj-$(CONFIG_S5P_CLOCK) += s5p-clock.o
|
2010-01-05 20:45:09 +03:00
|
|
|
|
2010-01-06 04:14:51 +03:00
|
|
|
obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o
|
2012-04-16 08:40:33 +04:00
|
|
|
obj-$(CONFIG_S5P_IRQ) += s5p-irq.o
|
|
|
|
obj-$(CONFIG_S5P_EXT_INT) += s5p-irq-eint.o
|
|
|
|
obj-$(CONFIG_S5P_GPIO_INT) += s5p-irq-gpioint.o
|
2010-01-06 04:14:51 +03:00
|
|
|
|
2010-01-14 02:30:31 +03:00
|
|
|
# ADC
|
|
|
|
|
|
|
|
obj-$(CONFIG_S3C_ADC) += adc.o
|
|
|
|
|
2010-01-05 20:45:09 +03:00
|
|
|
# devices
|
|
|
|
|
2010-06-10 07:57:15 +04:00
|
|
|
obj-y += platformdata.o
|
|
|
|
|
2013-04-10 16:57:15 +04:00
|
|
|
obj-$(CONFIG_PLAT_SAMSUNG_SINGLE) += devs.o
|
2010-01-12 09:15:28 +03:00
|
|
|
obj-y += dev-uart.o
|
2012-04-18 07:21:30 +04:00
|
|
|
obj-$(CONFIG_S5P_DEV_MFC) += s5p-dev-mfc.o
|
2012-04-18 07:05:19 +04:00
|
|
|
obj-$(CONFIG_S5P_DEV_UART) += s5p-dev-uart.o
|
2011-10-03 04:47:58 +04:00
|
|
|
|
2011-07-20 18:44:21 +04:00
|
|
|
obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o
|
2010-01-18 04:47:45 +03:00
|
|
|
|
2012-11-22 09:29:18 +04:00
|
|
|
obj-$(CONFIG_S3C_SETUP_CAMIF) += setup-camif.o
|
2012-04-18 07:21:30 +04:00
|
|
|
obj-$(CONFIG_S5P_SETUP_MIPIPHY) += setup-mipiphy.o
|
|
|
|
|
2010-01-29 12:02:15 +03:00
|
|
|
# DMA support
|
|
|
|
|
2011-09-02 04:44:35 +04:00
|
|
|
obj-$(CONFIG_S3C_DMA) += dma.o s3c-dma-ops.o
|
2010-01-29 12:02:15 +03:00
|
|
|
|
2011-09-02 04:44:35 +04:00
|
|
|
obj-$(CONFIG_SAMSUNG_DMADEV) += dma-ops.o
|
2010-05-18 06:59:06 +04:00
|
|
|
|
2010-01-18 04:47:45 +03:00
|
|
|
# PM support
|
2010-01-29 12:02:14 +03:00
|
|
|
obj-$(CONFIG_PM) += pm.o
|
2013-04-10 16:57:15 +04:00
|
|
|
ifdef CONFIG_PLAT_SAMSUNG_SINGLE
|
2010-01-18 04:47:45 +03:00
|
|
|
obj-$(CONFIG_PM) += pm-gpio.o
|
2013-04-10 16:57:15 +04:00
|
|
|
endif
|
2010-01-20 06:29:25 +03:00
|
|
|
obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
|
2010-01-20 06:22:24 +03:00
|
|
|
|
2010-05-20 09:05:33 +04:00
|
|
|
obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
|
|
|
|
|
2012-04-16 08:57:38 +04:00
|
|
|
obj-$(CONFIG_S5P_PM) += s5p-pm.o s5p-irq-pm.o
|
|
|
|
obj-$(CONFIG_S5P_SLEEP) += s5p-sleep.o
|