Wolfgang Denk | 97caf67 | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 1 | # |
Mike Frysinger | a1ff826 | 2008-10-11 20:45:44 -0400 | [diff] [blame] | 2 | # Copyright (c) 2005-2008 Analog Device Inc. |
| 3 | # |
Wolfgang Denk | 97caf67 | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 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+ |
Wolfgang Denk | 97caf67 | 2006-03-12 02:12:27 +0100 | [diff] [blame] | 8 | # |
Mike Frysinger | 94bae5c | 2008-03-30 15:46:13 -0400 | [diff] [blame] | 9 | |
Masahiro Yamada | 0d68fb1 | 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 |
Mike Frysinger | 4f7a90e | 2009-06-14 22:26:31 -0400 | [diff] [blame] | 14 | |
Mike Frysinger | a1ff826 | 2008-10-11 20:45:44 -0400 | [diff] [blame] | 15 | # Set some default LDR flags based on boot mode. |
| 16 | LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 |