Mike Frysinger | fa23a1b | 2008-10-12 21:54:07 -0400 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2005-2008 Analog Device Inc. |
| 3 | # |
| 4 | # (C) Copyright 2001 |
| 5 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 6 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | # SPDX-License-Identifier: GPL-2.0+ |
Mike Frysinger | fa23a1b | 2008-10-12 21:54:07 -0400 | [diff] [blame] | 8 | # |
| 9 | |
Peter Tyser | 685b7f5 | 2010-04-12 22:28:05 -0500 | [diff] [blame] | 10 | CFLAGS_lib += -O2 |
| 11 | CFLAGS_lib/lzma += -O2 |
Mike Frysinger | 5a1503b | 2011-05-16 14:25:42 -0400 | [diff] [blame] | 12 | CFLAGS_lib/zlib += -O2 |
Mike Frysinger | 4f7a90e | 2009-06-14 22:26:31 -0400 | [diff] [blame] | 13 | |
Mike Frysinger | fa23a1b | 2008-10-12 21:54:07 -0400 | [diff] [blame] | 14 | # Set some default LDR flags based on boot mode. |
| 15 | LDR_FLAGS-BFIN_BOOT_PARA := --dma 6 |
| 16 | LDR_FLAGS-BFIN_BOOT_FIFO := --dma 1 |
| 17 | LDR_FLAGS-BFIN_BOOT_SPI_MASTER := --dma 1 |
| 18 | LDR_FLAGS-BFIN_BOOT_UART := --dma 1 |