X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=post%2Fdrivers%2FMakefile;h=6720f85139572508bbcba45efd10a8591c5c1cee;hb=1a4596601fd395f3afb8f82f3f840c5e00bdd57a;hp=cb2f1deacd7083f50238c571c8fcd90c2226c148;hpb=375c2c9e57ea5b8d678475379378f4774aa9cb88;p=u-boot diff --git a/post/drivers/Makefile b/post/drivers/Makefile index cb2f1deacd..6720f85139 100644 --- a/post/drivers/Makefile +++ b/post/drivers/Makefile @@ -2,30 +2,12 @@ # (C) Copyright 2002-2006 # 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 -# - - -SUBDIRS = +include $(TOPDIR)/config.mk -LIB = libpostdrivers.a +LIB = libpostdrivers.o -COBJS = i2c.o memory.o rtc.o +COBJS-$(CONFIG_HAS_POST) += flash.o i2c.o memory.o rtc.o include $(TOPDIR)/post/rules.mk