Makefile 1.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
# arch/arm/plat-s3c64xx/Makefile
#
# 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 15
obj-y				+= init.o
obj-y				+= time.o
16
obj-y				+= clock.o
17
obj-y				+= pwm-clock.o
18
obj-y				+= gpio.o
19
obj-y				+= gpio-config.o
20

21
obj-$(CONFIG_SAMSUNG_GPIOLIB_4BIT)	+= gpiolib.o
22
obj-$(CONFIG_SAMSUNG_CLKSRC)	+= clock-clksrc.o
23

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

27 28 29 30
# ADC

obj-$(CONFIG_S3C_ADC)	+= adc.o

31 32 33 34 35
# devices

obj-$(CONFIG_S3C_DEV_HSMMC)	+= dev-hsmmc.o
obj-$(CONFIG_S3C_DEV_HSMMC1)	+= dev-hsmmc1.o
obj-$(CONFIG_S3C_DEV_HSMMC2)	+= dev-hsmmc2.o
36
obj-$(CONFIG_S3C_DEV_HWMON)	+= dev-hwmon.o
37 38
obj-y				+= dev-i2c0.o
obj-$(CONFIG_S3C_DEV_I2C1)	+= dev-i2c1.o
39
obj-$(CONFIG_S3C_DEV_I2C2)	+= dev-i2c2.o
40
obj-$(CONFIG_S3C_DEV_FB)	+= dev-fb.o
41
obj-y				+= dev-uart.o
42 43
obj-$(CONFIG_S3C_DEV_USB_HOST)	+= dev-usb.o
obj-$(CONFIG_S3C_DEV_USB_HSOTG)	+= dev-usb-hsotg.o
44
obj-$(CONFIG_S3C_DEV_WDT)	+= dev-wdt.o
45
obj-$(CONFIG_S3C_DEV_NAND)	+= dev-nand.o
46
obj-$(CONFIG_S3C_DEV_ONENAND)	+= dev-onenand.o
47
obj-$(CONFIG_S3C_DEV_RTC)	+= dev-rtc.o
48

49
obj-$(CONFIG_SAMSUNG_DEV_ADC)	+= dev-adc.o
50
obj-$(CONFIG_SAMSUNG_DEV_TS)	+= dev-ts.o
51

52 53 54 55
# DMA support

obj-$(CONFIG_S3C_DMA)		+= dma.o

J
Jassi Brar 已提交
56 57
obj-$(CONFIG_S3C_PL330_DMA)	+= s3c-pl330.o

58 59
# PM support

60
obj-$(CONFIG_PM)		+= pm.o
61
obj-$(CONFIG_PM)		+= pm-gpio.o
62
obj-$(CONFIG_SAMSUNG_PM_CHECK)	+= pm-check.o
63

64 65
obj-$(CONFIG_SAMSUNG_WAKEMASK)	+= wakeup-mask.o

66 67 68
# PWM support

obj-$(CONFIG_HAVE_PWM)		+= pwm.o