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.
18 # uts/intel/skd/Makefile
20 # This makefile drives the production of the skd module, which supports
21 # the sTec S112x PCIe SSD card.
23 # intel architecture dependent
27 # Paths to the base of the uts directory trees
32 # Define the module and object file sets.
35 OBJECTS
= $(SKD_OBJS
:%=$(OBJS_DIR
)/%)
36 ROOTMODULE
= $(ROOT_DRV_DIR
)/$(MODULE
)
37 CONF_SRCDIR
= $(UTSBASE
)/common
/io
/skd
40 # Include common rules.
42 include $(UTSBASE
)/intel
/Makefile.intel
47 ALL_TARGET
= $(BINARY
) $(CONFMOD
)
48 INSTALL_TARGET
= $(BINARY
) $(ROOTMODULE
) $(ROOT_CONFFILE
)
51 # Driver depends on blkdev
53 LDFLAGS
+= -dy
-N drv
/blkdev
58 # For now, disable these compiler warnigns; maintainers should endeavor
59 # investigate and remove these for maximum coverage. Please do not carry
60 # these forward to new Makefiles.
61 CERRWARN
+= -Wno-format
62 CERRWARN
+= -Wno-format-extra-args
65 # Default build targets.
75 clobber: $(CLOBBER_DEPS
)
77 install: $(INSTALL_DEPS
)
80 # Include common targets.
82 include $(UTSBASE
)/intel
/Makefile.targ