Makefile 2.0 KB
Newer Older
1
# arch/arm/plat-samsung/Makefile
2 3 4 5 6 7 8 9 10 11
#
# Copyright 2009 Simtec Electronics
#
# Licensed under GPLv2

obj-y				:=
obj-m				:=
obj-n				:= dummy.o
obj-				:=

12 13
# Objects we always build independent of SoC choice

14
obj-y				+= init.o cpu.o
C
Changhwan Youn 已提交
15
obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET)   += time.o
16
obj-y				+= clock.o
17
obj-y				+= pwm-clock.o
18
obj-y				+= dev-asocdma.o
19

20
obj-$(CONFIG_SAMSUNG_CLKSRC)	+= clock-clksrc.o
21

22
obj-$(CONFIG_SAMSUNG_IRQ_UART)	+= irq-uart.o
23 24
obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o

25 26 27 28
# ADC

obj-$(CONFIG_S3C_ADC)	+= adc.o

29 30
# devices

31 32
obj-y				+= platformdata.o

33
obj-y				+= devs.o
34 35 36
obj-$(CONFIG_S3C_DEV_HSMMC)	+= dev-hsmmc.o
obj-$(CONFIG_S3C_DEV_HSMMC1)	+= dev-hsmmc1.o
obj-$(CONFIG_S3C_DEV_HSMMC2)	+= dev-hsmmc2.o
37
obj-$(CONFIG_S3C_DEV_HSMMC3)	+= dev-hsmmc3.o
38
obj-$(CONFIG_S3C_DEV_HWMON)	+= dev-hwmon.o
39 40
obj-y				+= dev-i2c0.o
obj-$(CONFIG_S3C_DEV_I2C1)	+= dev-i2c1.o
41
obj-$(CONFIG_S3C_DEV_I2C2)	+= dev-i2c2.o
42 43 44 45 46
obj-$(CONFIG_S3C_DEV_I2C3)	+= dev-i2c3.o
obj-$(CONFIG_S3C_DEV_I2C4)	+= dev-i2c4.o
obj-$(CONFIG_S3C_DEV_I2C5)	+= dev-i2c5.o
obj-$(CONFIG_S3C_DEV_I2C6)	+= dev-i2c6.o
obj-$(CONFIG_S3C_DEV_I2C7)	+= dev-i2c7.o
47
obj-$(CONFIG_S3C_DEV_FB)	+= dev-fb.o
48
obj-y				+= dev-uart.o
49 50
obj-$(CONFIG_S3C_DEV_USB_HOST)	+= dev-usb.o
obj-$(CONFIG_S3C_DEV_USB_HSOTG)	+= dev-usb-hsotg.o
51
obj-$(CONFIG_S3C_DEV_WDT)	+= dev-wdt.o
52
obj-$(CONFIG_S3C_DEV_NAND)	+= dev-nand.o
53
obj-$(CONFIG_S3C_DEV_ONENAND)	+= dev-onenand.o
54
obj-$(CONFIG_S3C_DEV_RTC)	+= dev-rtc.o
55

56
obj-$(CONFIG_SAMSUNG_DEV_ADC)	+= dev-adc.o
57
obj-$(CONFIG_SAMSUNG_DEV_IDE)	+= dev-ide.o
58
obj-$(CONFIG_SAMSUNG_DEV_TS)	+= dev-ts.o
59
obj-$(CONFIG_SAMSUNG_DEV_KEYPAD)	+= dev-keypad.o
60
obj-$(CONFIG_SAMSUNG_DEV_PWM)	+= dev-pwm.o
61
obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT)	+= dev-backlight.o
62

63 64
# DMA support

65
obj-$(CONFIG_S3C_DMA)		+= dma.o s3c-dma-ops.o
66

67
obj-$(CONFIG_SAMSUNG_DMADEV)	+= dma-ops.o
J
Jassi Brar 已提交
68

69 70
# PM support

71
obj-$(CONFIG_PM)		+= pm.o
72
obj-$(CONFIG_PM)		+= pm-gpio.o
73
obj-$(CONFIG_SAMSUNG_PM_CHECK)	+= pm-check.o
74

75 76
obj-$(CONFIG_SAMSUNG_WAKEMASK)	+= wakeup-mask.o

77 78 79 80
# PD support

obj-$(CONFIG_SAMSUNG_PD)	+= pd.o

81 82 83
# PWM support

obj-$(CONFIG_HAVE_PWM)		+= pwm.o