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