mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 23:51:46 +00:00
0d713cf1a6
Fix building of exynos_defconfig with CONFIG_PM_SLEEP disabled and CONFIG_ARM_EXYNOS_CPUIDLE enabled by: * adding EXYNOS_CPU_SUSPEND config option * always building sleep.o * building pm.o if EXYNOS_CPU_SUSPEND is enabled * moving suspend specific code from pm.c to suspend.c * enabling pm-common.o build also for EXYNOS_CPU_SUSPEND option [ Please note that there are no changes in the code moved from pm.c to suspend.c except making few functions non-static and cleaning up includes. ] Also while at it update Copyright dates. The build error messages: drivers/built-in.o: In function `exynos_enter_core0_aftr': /home/bzolnier/linux/drivers/cpuidle/cpuidle-exynos.c:36: undefined reference to `cpu_suspend' arch/arm/mach-exynos/built-in.o:(.data+0x74): undefined reference to `exynos_enter_aftr' make: *** [vmlinux] Error 1 This patch has been tested on Exynos4210 based Origen board. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# arch/arm/plat-samsung/Makefile
|
|
#
|
|
# Copyright 2009 Simtec Electronics
|
|
#
|
|
# Licensed under GPLv2
|
|
|
|
ccflags-$(CONFIG_ARCH_MULTI_V7) += -I$(srctree)/$(src)/include
|
|
|
|
# Objects we always build independent of SoC choice
|
|
|
|
obj-y += init.o cpu.o
|
|
|
|
# ADC
|
|
|
|
obj-$(CONFIG_S3C_ADC) += adc.o
|
|
|
|
# devices
|
|
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o
|
|
obj-$(CONFIG_S5P_DEV_MFC) += s5p-dev-mfc.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o
|
|
|
|
obj-$(CONFIG_S3C_SETUP_CAMIF) += setup-camif.o
|
|
|
|
# DMA support
|
|
|
|
obj-$(CONFIG_S3C_DMA) += dma.o s3c-dma-ops.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_DMADEV) += dma-ops.o
|
|
|
|
# PM support
|
|
|
|
obj-$(CONFIG_PM_SLEEP) += pm-common.o
|
|
obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm-common.o
|
|
obj-$(CONFIG_SAMSUNG_PM) += pm.o
|
|
obj-$(CONFIG_SAMSUNG_PM_GPIO) += pm-gpio.o
|
|
obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
|
|
obj-$(CONFIG_SAMSUNG_PM_DEBUG) += pm-debug.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
|
|
obj-$(CONFIG_SAMSUNG_WDT_RESET) += watchdog-reset.o
|