X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fmx1ads%2FMakefile;h=6dfd18e202e18dc2eed60cd36f16d7ad5fad40c1;hb=5f98d0b5d3038cb3345712bc779efacaba4322f7;hp=14a8b81c96dfbe1c1c4d8e7c67819c498889c71d;hpb=fb883a521e04437acfe989de3e152b2e4866856b;p=u-boot diff --git a/board/mx1ads/Makefile b/board/mx1ads/Makefile index 14a8b81c96..6dfd18e202 100644 --- a/board/mx1ads/Makefile +++ b/board/mx1ads/Makefile @@ -10,46 +10,7 @@ # # Ming-Len Wu # -# 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 - -include $(TOPDIR)/config.mk - -LIB = $(obj)lib$(BOARD).a - -COBJS := mx1ads.o syncflash.o -SOBJS := lowlevel_init.o - -SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) -OBJS := $(addprefix $(obj),$(COBJS)) -SOBJS := $(addprefix $(obj),$(SOBJS)) - -$(LIB): $(obj).depend $(OBJS) $(SOBJS) - $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) - -clean: - rm -f $(SOBJS) $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak .depend - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend +# SPDX-License-Identifier: GPL-2.0+ -######################################################################### +obj-y := mx1ads.o syncflash.o +obj-y += lowlevel_init.o