Print this page
3644 Add virtio-net support into the Illumos
Reviewed by: Alexey Zaytsev, alexey.zaytsev@gmail.com
Reviewed by: Yuri Pankov, yuri.pankov@nexenta.com
Reviewed by: David Hoppner, 0xffea@gmail.com

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/Makefile.rules
          +++ new/usr/src/uts/common/Makefile.rules
↓ open down ↓ 1400 lines elided ↑ open up ↑
1401 1401          $(CTFCONVERT_O)
1402 1402  
1403 1403  $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/virtio/%.c
1404 1404          $(COMPILE.c) -o $@ $<
1405 1405          $(CTFCONVERT_O)
1406 1406  
1407 1407  $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/vioblk/%.c
1408 1408          $(COMPILE.c) -o $@ $<
1409 1409          $(CTFCONVERT_O)
1410 1410  
     1411 +$(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/vioif/%.c
     1412 +        $(COMPILE.c) -o $@ $<
     1413 +        $(CTFCONVERT_O)
1411 1414  #
1412 1415  # krtld must refer to its own bzero/bcopy until the kernel is fully linked
1413 1416  #
1414 1417  $(OBJS_DIR)/bootrd.o            := CPPFLAGS += -DKOBJ_OVERRIDES
1415 1418  $(OBJS_DIR)/doreloc.o           := CPPFLAGS += -DKOBJ_OVERRIDES
1416 1419  $(OBJS_DIR)/kobj.o              := CPPFLAGS += -DKOBJ_OVERRIDES
1417 1420  $(OBJS_DIR)/kobj_boot.o         := CPPFLAGS += -DKOBJ_OVERRIDES
1418 1421  $(OBJS_DIR)/kobj_bootflags.o    := CPPFLAGS += -DKOBJ_OVERRIDES
1419 1422  $(OBJS_DIR)/kobj_convrelstr.o   := CPPFLAGS += -DKOBJ_OVERRIDES
1420 1423  $(OBJS_DIR)/kobj_isa.o          := CPPFLAGS += -DKOBJ_OVERRIDES
↓ open down ↓ 1225 lines elided ↑ open up ↑
2646 2649  
2647 2650  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/inet/kifconf/%.c
2648 2651          @($(LHEAD) $(LINT.c) $< $(LTAIL))
2649 2652  
2650 2653  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/virtio/%.c
2651 2654          @($(LHEAD) $(LINT.c) $< $(LTAIL))
2652 2655  
2653 2656  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/vioblk/%.c
2654 2657          @($(LHEAD) $(LINT.c) $< $(LTAIL))
2655 2658  
     2659 +$(LINTS_DIR)/%.ln:              $(UTSBASE)/common/io/vioif/%.c
     2660 +        @($(LHEAD) $(LINT.c) $< $(LTAIL))
     2661 +
2656 2662  ZMODLINTFLAGS = -erroff=E_CONSTANT_CONDITION
2657 2663  
2658 2664  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/zmod/%.c
2659 2665          @($(LHEAD) $(LINT.c) $(ZMODLINTFLAGS) $< $(LTAIL))
2660 2666  
2661 2667  $(LINTS_DIR)/zlib_obj.ln:       $(ZLIB_OBJS:%.o=$(LINTS_DIR)/%.ln) \
2662 2668                                  $(UTSBASE)/common/zmod/zlib_lint.c
2663 2669          @($(LHEAD) $(LINT.c) -C $(LINTS_DIR)/zlib_obj \
2664 2670              $(UTSBASE)/common/zmod/zlib_lint.c $(LTAIL))
2665 2671  
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX