Brent Kandetzki | 3f1a5c1 | 2010-03-24 17:41:33 -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 | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | # SPDX-License-Identifier: GPL-2.0+ |
Brent Kandetzki | 3f1a5c1 | 2010-03-24 17:41:33 -0400 | [diff] [blame] | 8 | # |
| 9 | |
Masahiro Yamada | 6825a95 | 2014-02-04 17:24:28 +0900 | [diff] [blame] | 10 | # FIX ME |
| 11 | ifneq ($(filter lib lib/lzma lib/zlib, $(obj)),) |
| 12 | ccflags-y := -O2 |
| 13 | endif |
Brent Kandetzki | 3f1a5c1 | 2010-03-24 17:41:33 -0400 | [diff] [blame] | 14 | |
| 15 | # Set some default LDR flags based on boot mode. |
| 16 | LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 |
| 17 | LDR_FLAGS-BFIN_BOOT_UART := --port g --gpio 6 |