]> git.ipfire.org Git - people/ms/u-boot.git/blame - fs/zfs/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / fs / zfs / Makefile
CommitLineData
4d3c95f5
JL
1#
2# (C) Copyright 2012
3# Jorgen Lundman <lundman at lundman.net>
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
4d3c95f5
JL
6#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)libzfs.o
11
12AOBJS =
13COBJS-$(CONFIG_CMD_ZFS) := dev.o zfs.o zfs_fletcher.o zfs_sha256.o zfs_lzjb.o
14
15SRCS := $(AOBJS:.o=.S) $(COBJS-y:.o=.c)
16OBJS := $(addprefix $(obj),$(AOBJS) $(COBJS-y))
17
18
19all: $(LIB) $(AOBJS)
20
21$(LIB): $(obj).depend $(OBJS)
22 $(call cmd_link_o_target, $(OBJS))
23
24#########################################################################
25
26# defines $(obj).depend target
27include $(SRCTREE)/rules.mk
28
29sinclude $(obj).depend
30
31#########################################################################