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