4 # This file and its contents are supplied under the terms of the
5 # Common Development and Distribution License ("CDDL"), version 1.0.
6 # You may only use this file in accordance with the terms of version
9 # A full copy of the text of the CDDL should have accompanied this
10 # source. A copy of the CDDL is also available via the Internet at
11 # http://www.illumos.org/license/CDDL.
16 # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
20 # Paths to the base of the uts directory trees
25 # Define the module and object file sets.
28 OBJECTS
= $(NVME_OBJS
:%=$(OBJS_DIR
)/%)
29 ROOTMODULE
= $(ROOT_DRV_DIR
)/$(MODULE
)
30 CONF_SRCDIR
= $(UTSBASE
)/common
/io
/nvme
32 # Include common rules.
34 include $(UTSBASE
)/intel
/Makefile.intel
39 ALL_TARGET
= $(BINARY
)
40 INSTALL_TARGET
= $(BINARY
) $(ROOTMODULE
) $(ROOT_CONFFILE
)
43 # Driver depends on blkdev
45 LDFLAGS
+= -dy
-N drv
/blkdev
-N misc
/sata
48 # Default build targets.
58 clobber: $(CLOBBER_DEPS
)
60 install: $(INSTALL_DEPS
)
63 # Include common targets.
65 include $(UTSBASE
)/intel
/Makefile.targ