3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6 # Pavel Bartusek, Sysgo Real-Time Solutions AG, pba@sysgo.de
9 # SPDX-License-Identifier: GPL-2.0+
12 include $(TOPDIR)/config.mk
14 LIB = $(obj)libext4fs.o
17 COBJS-$(CONFIG_FS_EXT4) := ext4fs.o ext4_common.o dev.o
18 COBJS-$(CONFIG_EXT4_WRITE) += ext4_write.o ext4_journal.o crc16.o
20 SRCS := $(AOBJS:.o=.S) $(COBJS-y:.o=.c)
21 OBJS := $(addprefix $(obj),$(AOBJS) $(COBJS-y))
26 $(LIB): $(obj).depend $(OBJS)
27 $(call cmd_link_o_target, $(OBJS))
29 #########################################################################
31 # defines $(obj).depend target
32 include $(SRCTREE)/rules.mk
34 sinclude $(obj).depend
36 #########################################################################