Print this page
4057 Add sfxge support
Contributed by: Solarflare Communications Inc.
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andrew Rybchenko <arybchenko@solarflare.com>
Approved by: TBD

@@ -19,11 +19,11 @@
 # CDDL HEADER END
 #
 
 #
 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
-# Copyright 2013 Garrett D'Amore <garrett@damore.org>
+# Copyright 2016 Garrett D'Amore <garrett@damore.org>
 # Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
 # Copyright 2013 Saso Kiselkov. All rights reserved.
 #
 
 #

@@ -1440,10 +1440,18 @@
 
 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/yge/%.c
         $(COMPILE.c) -o $@ $<
         $(CTFCONVERT_O)
 
+$(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/sfxge/%.c
+        $(COMPILE.c) -o $@ $<
+        $(CTFCONVERT_O)
+
+$(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/sfxge/common/%.c
+        $(COMPILE.c) -o $@ $<
+        $(CTFCONVERT_O)
+
 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/skd/%.c
         $(COMPILE.c) -o $@ $<
         $(CTFCONVERT_O)
 
 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/virtio/%.c

@@ -2754,10 +2762,16 @@
         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 
 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/yge/%.c
         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 
+$(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/sfxge/%.c
+        @($(LHEAD) $(LINT.c) $< $(LTAIL))
+
+$(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/sfxge/common/%.c
+        @($(LHEAD) $(LINT.c) $< $(LTAIL))
+
 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/skd/%.c
         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 
 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/fsreparse/%.c
         @($(LHEAD) $(LINT.c) $< $(LTAIL))