X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fcm-bf537e%2Fconfig.mk;h=97eaafef2e2b980b9ed66325d46cefd584c18284;hb=1ad6364eeb4f578e423081d1748e8a3fdf1ab01d;hp=36d8778e9aba3b1680473adb7e4786fde742d782;hpb=fbb21ff0478f1bac0b009133bf82b7412ea0230b;p=u-boot diff --git a/board/cm-bf537e/config.mk b/board/cm-bf537e/config.mk index 36d8778e9a..97eaafef2e 100644 --- a/board/cm-bf537e/config.mk +++ b/board/cm-bf537e/config.mk @@ -4,30 +4,13 @@ # (C) Copyright 2001 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. # -# See file CREDITS for list of people who contributed to this -# project. +# SPDX-License-Identifier: GPL-2.0+ # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, -# MA 02111-1307 USA -# - -CONFIG_BFIN_CPU = bf537-0.2 -CFLAGS_lib += -O2 -CFLAGS_lib/lzma += -O2 +# FIX ME +ifneq ($(filter lib lib/lzma lib/zlib, $(obj)),) +ccflags-y := -O2 +endif # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 -LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))