]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - fs/jffs2/Makefile
karo: tx6: add support for TX6 HW Rev. 3
[karo-tx-uboot.git] / fs / jffs2 / Makefile
1 #
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 include $(TOPDIR)/config.mk
9
10 LIB     = $(obj)libjffs2.o
11
12 AOBJS   =
13 ifdef CONFIG_CMD_JFFS2
14 COBJS-$(CONFIG_JFFS2_LZO) += compr_lzo.o
15 COBJS-y += compr_rtime.o
16 COBJS-y += compr_rubin.o
17 COBJS-y += compr_zlib.o
18 COBJS-y += jffs2_1pass.o
19 COBJS-y += mini_inflate.o
20 endif
21
22 COBJS   := $(COBJS-y)
23 SRCS    := $(AOBJS:.o=.S) $(COBJS:.o=.c)
24 OBJS    := $(addprefix $(obj),$(AOBJS) $(COBJS))
25
26 #CPPFLAGS +=
27
28 all:    $(LIB) $(AOBJS)
29
30 $(LIB): $(obj).depend $(OBJS)
31         $(call cmd_link_o_target, $(OBJS))
32
33
34 #########################################################################
35
36 # defines $(obj).depend target
37 include $(SRCTREE)/rules.mk
38
39 sinclude $(obj).depend
40
41 #########################################################################