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