]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - fs/cramfs/Makefile
karo: tx6: add support for TX6 HW Rev. 3
[karo-tx-uboot.git] / fs / cramfs / 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)libcramfs.o
11
12 AOBJS   =
13 COBJS-$(CONFIG_CMD_CRAMFS) := cramfs.o
14 COBJS-$(CONFIG_CMD_CRAMFS) += uncompress.o
15
16 SRCS    := $(AOBJS:.o=.S) $(COBJS-y:.o=.c)
17 OBJS    := $(addprefix $(obj),$(AOBJS) $(COBJS-y))
18
19 #CPPFLAGS +=
20
21 all:    $(LIB) $(AOBJS)
22
23 $(LIB): $(obj).depend $(OBJS)
24         $(call cmd_link_o_target, $(OBJS))
25
26
27 #########################################################################
28
29 # defines $(obj).depend target
30 include $(SRCTREE)/rules.mk
31
32 sinclude $(obj).depend
33
34 #########################################################################