Makefile 1.1 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 14
# Objects we always build independent of SoC choice

obj-y				+= clock.o
15
obj-y				+= pwm-clock.o
16
obj-y				+= gpio.o
17
obj-y				+= gpio-config.o
18

19
obj-$(CONFIG_SAMSUNG_GPIOLIB_4BIT)	+= gpiolib.o
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 31 32 33 34 35 36
# 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
obj-y				+= dev-i2c0.o
obj-$(CONFIG_S3C_DEV_I2C1)	+= dev-i2c1.o
obj-$(CONFIG_S3C_DEV_FB)	+= dev-fb.o
37
obj-y				+= dev-uart.o
38 39 40
obj-$(CONFIG_S3C_DEV_USB_HOST)	+= dev-usb.o
obj-$(CONFIG_S3C_DEV_USB_HSOTG)	+= dev-usb-hsotg.o
obj-$(CONFIG_S3C_DEV_NAND)	+= dev-nand.o
41

42 43 44 45
# DMA support

obj-$(CONFIG_S3C_DMA)		+= dma.o

46 47
# PM support

48
obj-$(CONFIG_PM)		+= pm.o
49
obj-$(CONFIG_PM)		+= pm-gpio.o
50
obj-$(CONFIG_SAMSUNG_PM_CHECK)	+= pm-check.o
51 52 53 54

# PWM support

obj-$(CONFIG_HAVE_PWM)		+= pwm.o