From: 黄涛 Date: Fri, 10 Aug 2012 07:47:37 +0000 (+0800) Subject: rk2928: pm: build pm.c use Thumb instruction set X-Git-Tag: firefly_0821_release~8912^2~13 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cf1a1774b3518e5b99eb36526405093109cda7a3;p=firefly-linux-kernel-4.4.55.git rk2928: pm: build pm.c use Thumb instruction set --- diff --git a/arch/arm/mach-rk2928/Makefile b/arch/arm/mach-rk2928/Makefile index 68053947e830..a2169a7bc77c 100644 --- a/arch/arm/mach-rk2928/Makefile +++ b/arch/arm/mach-rk2928/Makefile @@ -7,6 +7,7 @@ obj-y += iomux.o obj-y += clock.o obj-y += clock_data.o obj-$(CONFIG_PM) += pm.o +CFLAGS_pm.o += -Os -mthumb obj-$(CONFIG_MACH_RK2928_FPGA) += board-rk2928-fpga.o board-rk2928-fpga-key.o obj-$(CONFIG_MACH_RK2928_SDK) += board-rk2928-sdk.o board-rk2928-sdk-key.o