Makefile (0d297df03890c385195fcf827432eb44f5b5918d) Makefile (67d7c3023a672c2b73d19d6d23684df670fce648)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Copyright 2009 Simtec Electronics
4
1# SPDX-License-Identifier: GPL-2.0
2#
3# Copyright 2009 Simtec Electronics
4
5include $(src)/Makefile.s3c64xx
5ifdef CONFIG_ARCH_S3C24XX
6include $(srctree)/$(src)/Makefile.s3c24xx
7endif
6
8
9ifdef CONFIG_ARCH_S3C64XX
10include $(srctree)/$(src)/Makefile.s3c64xx
11endif
12
7# Objects we always build independent of SoC choice
8
9obj-y += init.o cpu.o
10
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
11# devices
12
13obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o
21# devices
22
23obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o
24
14obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o
15obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o
16
17obj-$(CONFIG_GPIO_SAMSUNG) += gpio-samsung.o
18
19# PM support
20
21obj-$(CONFIG_SAMSUNG_PM) += pm.o pm-common.o
22obj-$(CONFIG_SAMSUNG_PM_GPIO) += pm-gpio.o
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
23obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
35obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o