xref: /openbmc/linux/arch/arm/mach-s3c/Makefile (revision 67d7c302)
171b9114dSArnd Bergmann# SPDX-License-Identifier: GPL-2.0
271b9114dSArnd Bergmann#
371b9114dSArnd Bergmann# Copyright 2009 Simtec Electronics
471b9114dSArnd Bergmann
571b9114dSArnd Bergmanninclude $(srctree)/$(src)/Makefile.s3c64xx
6*67d7c302SMasahiro Yamada
771b9114dSArnd Bergmann# Objects we always build independent of SoC choice
871b9114dSArnd Bergmann
971b9114dSArnd Bergmannobj-y				+= init.o cpu.o
10*67d7c302SMasahiro Yamada
1171b9114dSArnd Bergmann# devices
1271b9114dSArnd Bergmann
1371b9114dSArnd Bergmannobj-$(CONFIG_SAMSUNG_ATAGS)	+= platformdata.o
1471b9114dSArnd Bergmannobj-$(CONFIG_SAMSUNG_ATAGS)	+= devs.o
1571b9114dSArnd Bergmannobj-$(CONFIG_SAMSUNG_ATAGS)	+= dev-uart.o
1671b9114dSArnd Bergmann
1771b9114dSArnd Bergmannobj-$(CONFIG_GPIO_SAMSUNG)     += gpio-samsung.o
1871b9114dSArnd Bergmann
1971b9114dSArnd Bergmann# PM support
2071b9114dSArnd Bergmann
2171b9114dSArnd Bergmannobj-$(CONFIG_SAMSUNG_PM)	+= pm.o pm-common.o
2271b9114dSArnd Bergmannobj-$(CONFIG_SAMSUNG_PM_GPIO)	+= pm-gpio.o
2371b9114dSArnd Bergmannobj-$(CONFIG_SAMSUNG_WAKEMASK)	+= wakeup-mask.o
2471b9114dSArnd Bergmann