]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - fs/ext4/Makefile
blackfin: Move machine specific gpio_port_t structure back to blackfin arch folder.
[karo-tx-uboot.git] / fs / ext4 / Makefile
1 #
2 # (C) Copyright 2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # (C) Copyright 2003
6 # Pavel Bartusek, Sysgo Real-Time Solutions AG, pba@sysgo.de
7 #
8 #
9 # SPDX-License-Identifier:      GPL-2.0+
10 #
11
12 include $(TOPDIR)/config.mk
13
14 LIB     = $(obj)libext4fs.o
15
16 AOBJS   =
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
19
20 SRCS    := $(AOBJS:.o=.S) $(COBJS-y:.o=.c)
21 OBJS    := $(addprefix $(obj),$(AOBJS) $(COBJS-y))
22
23
24 all:    $(LIB) $(AOBJS)
25
26 $(LIB): $(obj).depend $(OBJS)
27         $(call cmd_link_o_target, $(OBJS))
28
29 #########################################################################
30
31 # defines $(obj).depend target
32 include $(SRCTREE)/rules.mk
33
34 sinclude $(obj).depend
35
36 #########################################################################