1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright 2009 Simtec Electronics
5 ifdef CONFIG_ARCH_S3C24XX
6 include $(srctree)/$(src)/Makefile.s3c24xx
9 ifdef CONFIG_ARCH_S3C64XX
10 include $(srctree)/$(src)/Makefile.s3c64xx
13 # Objects we always build independent of SoC choice
19 obj-$(CONFIG_S3C_ADC) += adc.o
23 obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o
25 obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o
26 obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o
28 obj-$(CONFIG_GPIO_SAMSUNG) += gpio-samsung.o
32 obj-$(CONFIG_SAMSUNG_PM) += pm.o pm-common.o
33 obj-$(CONFIG_SAMSUNG_PM_GPIO) += pm-gpio.o
35 obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o