2017-12-26 03:54:35 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2009-11-10 08:14:58 +08:00
|
|
|
#
|
|
|
|
# Copyright 2009 Simtec Electronics
|
|
|
|
|
2014-07-07 20:25:15 +08:00
|
|
|
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include
|
2014-05-26 05:09:57 +08:00
|
|
|
|
2019-09-02 23:47:55 +08:00
|
|
|
ifdef CONFIG_ARCH_S3C24XX
|
|
|
|
include $(src)/Makefile.s3c24xx
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_ARCH_S3C64XX
|
|
|
|
include $(src)/Makefile.s3c64xx
|
|
|
|
endif
|
|
|
|
|
2009-12-24 02:43:48 +08:00
|
|
|
# Objects we always build independent of SoC choice
|
|
|
|
|
2011-08-20 11:18:07 +08:00
|
|
|
obj-y += init.o cpu.o
|
2012-04-18 02:20:49 +08:00
|
|
|
|
2010-01-14 07:30:31 +08:00
|
|
|
# ADC
|
|
|
|
|
|
|
|
obj-$(CONFIG_S3C_ADC) += adc.o
|
|
|
|
|
2010-01-06 01:45:09 +08:00
|
|
|
# devices
|
|
|
|
|
2013-06-15 08:01:49 +08:00
|
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o
|
2010-06-10 11:57:15 +08:00
|
|
|
|
2013-06-15 08:01:49 +08:00
|
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o
|
2011-10-03 08:47:58 +08:00
|
|
|
|
2015-02-28 04:54:18 +08:00
|
|
|
obj-$(CONFIG_GPIO_SAMSUNG) += gpio-samsung.o
|
|
|
|
|
2010-01-18 09:47:45 +08:00
|
|
|
# PM support
|
2013-04-27 02:32:02 +08:00
|
|
|
|
2020-08-07 02:20:34 +08:00
|
|
|
obj-$(CONFIG_SAMSUNG_PM) += pm.o pm-common.o
|
2013-06-19 00:24:12 +08:00
|
|
|
obj-$(CONFIG_SAMSUNG_PM_GPIO) += pm-gpio.o
|
2010-01-20 11:22:24 +08:00
|
|
|
|
2010-05-20 13:05:33 +08:00
|
|
|
obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
|