1045fa1e1SStephen Warren# 2045fa1e1SStephen Warren# (C) Copyright 2000-2006 3045fa1e1SStephen Warren# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4045fa1e1SStephen Warren# Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. 5045fa1e1SStephen Warren# 6*1a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 7045fa1e1SStephen Warren# 8045fa1e1SStephen Warren 9045fa1e1SStephen Warreninclude $(TOPDIR)/config.mk 10045fa1e1SStephen Warren 11045fa1e1SStephen WarrenLIB = $(obj)libfs.o 12045fa1e1SStephen Warren 13045fa1e1SStephen WarrenCOBJS-y += fs.o 14045fa1e1SStephen Warren 15045fa1e1SStephen WarrenCOBJS := $(COBJS-y) 16045fa1e1SStephen WarrenSRCS := $(COBJS:.o=.c) 17045fa1e1SStephen WarrenOBJS := $(addprefix $(obj),$(COBJS)) 18045fa1e1SStephen Warren 19045fa1e1SStephen Warrenall: $(LIB) 20045fa1e1SStephen Warren 21045fa1e1SStephen Warren$(LIB): $(obj).depend $(OBJS) 22045fa1e1SStephen Warren $(call cmd_link_o_target, $(OBJS)) 23045fa1e1SStephen Warren 24045fa1e1SStephen Warren######################################################################### 25045fa1e1SStephen Warren 26045fa1e1SStephen Warren# defines $(obj).depend target 27045fa1e1SStephen Warreninclude $(SRCTREE)/rules.mk 28045fa1e1SStephen Warren 29045fa1e1SStephen Warrensinclude $(obj).depend 30045fa1e1SStephen Warren 31045fa1e1SStephen Warren######################################################################### 32