]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - fs/zfs/Makefile
karo: tx6: add support for TX6 HW Rev. 3
[karo-tx-uboot.git] / fs / zfs / Makefile
1 #
2 # (C) Copyright 2012
3 # Jorgen Lundman <lundman at lundman.net>
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 include $(TOPDIR)/config.mk
9
10 LIB     = $(obj)libzfs.o
11
12 AOBJS   =
13 COBJS-$(CONFIG_CMD_ZFS) := dev.o zfs.o zfs_fletcher.o zfs_sha256.o zfs_lzjb.o
14
15 SRCS    := $(AOBJS:.o=.S) $(COBJS-y:.o=.c)
16 OBJS    := $(addprefix $(obj),$(AOBJS) $(COBJS-y))
17
18
19 all:    $(LIB) $(AOBJS)
20
21 $(LIB): $(obj).depend $(OBJS)
22         $(call cmd_link_o_target, $(OBJS))
23
24 #########################################################################
25
26 # defines $(obj).depend target
27 include $(SRCTREE)/rules.mk
28
29 sinclude $(obj).depend
30
31 #########################################################################