diff options
author | Marek BehĂșn | 2021-05-20 13:24:19 +0200 |
---|---|---|
committer | Tom Rini | 2021-05-24 14:21:30 -0400 |
commit | baa977bd0f63c48ffd57c65f052d5a6c8f6f0fc1 (patch) | |
tree | 30cf170609a2a9818aba1c7d47f2e0250d8c7d3e /arch/arm/mach-omap2 | |
parent | 79dec66ca7438d8ed339e513c2b93c055ba2b3e8 (diff) |
ARM: omap3: fix LTO for DM3730 (and possibly other omap3 boards)
Adam Ford says that DM3730 needs board.c compiled without LTO flags.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Tested-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/omap3/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap3/Makefile b/arch/arm/mach-omap2/omap3/Makefile index 91ed8ebc9f8..151bdf6ebc9 100644 --- a/arch/arm/mach-omap2/omap3/Makefile +++ b/arch/arm/mach-omap2/omap3/Makefile @@ -9,6 +9,7 @@ CFLAGS_clock.o += -marm obj-y := lowlevel_init.o obj-y += board.o +CFLAGS_REMOVE_board.o := $(LTO_CFLAGS) obj-y += boot.o obj-y += clock.o obj-y += sys_info.o |