GNU Linux-libre 5.19-rc6-gnu
[releases.git] / arch / arm / mach-s3c / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Copyright 2009 Simtec Electronics
4
5 ifdef CONFIG_ARCH_S3C24XX
6 include $(src)/Makefile.s3c24xx
7 endif
8
9 ifdef CONFIG_ARCH_S3C64XX
10 include $(src)/Makefile.s3c64xx
11 endif
12
13 # Objects we always build independent of SoC choice
14
15 obj-y                           += init.o cpu.o
16
17 # ADC
18
19 obj-$(CONFIG_S3C_ADC)   += adc.o
20
21 # devices
22
23 obj-$(CONFIG_SAMSUNG_ATAGS)     += platformdata.o
24
25 obj-$(CONFIG_SAMSUNG_ATAGS)     += devs.o
26 obj-$(CONFIG_SAMSUNG_ATAGS)     += dev-uart.o
27
28 obj-$(CONFIG_GPIO_SAMSUNG)     += gpio-samsung.o
29
30 # PM support
31
32 obj-$(CONFIG_SAMSUNG_PM)        += pm.o pm-common.o
33 obj-$(CONFIG_SAMSUNG_PM_GPIO)   += pm-gpio.o
34
35 obj-$(CONFIG_SAMSUNG_WAKEMASK)  += wakeup-mask.o