1c474a8ebSMinkyu Kang# 2c474a8ebSMinkyu Kang# (C) Copyright 2000, 2001, 2002 3c474a8ebSMinkyu Kang# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4c474a8ebSMinkyu Kang# 5c474a8ebSMinkyu Kang# (C) Copyright 2008 6c474a8ebSMinkyu Kang# Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de> 7c474a8ebSMinkyu Kang# 8*1a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 9c474a8ebSMinkyu Kang# 10c474a8ebSMinkyu Kang 11c474a8ebSMinkyu Kanginclude $(TOPDIR)/config.mk 12c474a8ebSMinkyu Kang 136d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 14c474a8ebSMinkyu Kang 15c474a8ebSMinkyu KangCOBJS-y := goni.o onenand.o 16c474a8ebSMinkyu KangSOBJS := lowlevel_init.o 17c474a8ebSMinkyu Kang 18c474a8ebSMinkyu KangSRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) 19c474a8ebSMinkyu KangOBJS := $(addprefix $(obj),$(COBJS-y)) 20c474a8ebSMinkyu KangSOBJS := $(addprefix $(obj),$(SOBJS)) 21c474a8ebSMinkyu Kang 22c474a8ebSMinkyu Kang$(LIB): $(obj).depend $(SOBJS) $(OBJS) 236d8962e8SSebastien Carlier $(call cmd_link_o_target, $(SOBJS) $(OBJS)) 24c474a8ebSMinkyu Kang 25c474a8ebSMinkyu Kang######################################################################### 26c474a8ebSMinkyu Kang 27c474a8ebSMinkyu Kang# defines $(obj).depend target 28c474a8ebSMinkyu Kanginclude $(SRCTREE)/rules.mk 29c474a8ebSMinkyu Kang 30c474a8ebSMinkyu Kangsinclude $(obj).depend 31c474a8ebSMinkyu Kang 32c474a8ebSMinkyu Kang######################################################################### 33