Print this page
11553 Want pluggable TCP congestion control algorithms
Portions contributed by: Cody Peter Mello <cody.mello@joyent.com>
Reviewed by: Dan McDonald <danmcd@joyent.com>
Reviewed by: Robert Mustacchi <robert.mustacchi@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/Makefile.uts
          +++ new/usr/src/uts/Makefile.uts
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright (c) 2011 Bayard G. Bell. All rights reserved.
  25      -# Copyright (c) 2011 by Delphix. All rights reserved.
       25 +# Copyright (c) 2011,2017 by Delphix. All rights reserved.
  26   26  # Copyright (c) 2013 Andrew Stormont.  All rights reserved.
  27   27  # Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
  28   28  # Copyright (c) 2019, Joyent, Inc.
  29   29  #
  30   30  
  31   31  #
  32   32  #       This Makefile contains the common targets and definitions for
  33   33  #       all kernels. It is to be included in the Makefiles for specific
  34   34  #       implementation architectures and processor architecture dependent
  35   35  #       modules: i.e.: all driving kernel Makefiles.
↓ open down ↓ 382 lines elided ↑ open up ↑
 418  418  ROOT_QLC_FW_DIR_32      = $(ROOT_MOD_DIR)/misc/qlc
 419  419  ROOT_EMLXS_FW_DIR_32    = $(ROOT_MOD_DIR)/misc/emlxs
 420  420  ROOT_NLMISC_DIR_32      = $(ROOT_MOD_DIR)/misc
 421  421  ROOT_MACH_DIR_32        = $(ROOT_MOD_DIR)/mach
 422  422  ROOT_CPU_DIR_32         = $(ROOT_MOD_DIR)/cpu
 423  423  ROOT_TOD_DIR_32         = $(ROOT_MOD_DIR)/tod
 424  424  ROOT_FONT_DIR_32        = $(ROOT_MOD_DIR)/fonts
 425  425  ROOT_DACF_DIR_32        = $(ROOT_MOD_DIR)/dacf
 426  426  ROOT_CRYPTO_DIR_32      = $(ROOT_MOD_DIR)/crypto
 427  427  ROOT_MAC_DIR_32         = $(ROOT_MOD_DIR)/mac
      428 +ROOT_CC_DIR_32          = $(ROOT_MOD_DIR)/cc
 428  429  ROOT_KICONV_DIR_32      = $(ROOT_MOD_DIR)/kiconv
 429  430  
 430  431  ROOT_KERN_DIR_64        = $(ROOT_MOD_DIR)/$(SUBDIR64)
 431  432  ROOT_BRAND_DIR_64       = $(ROOT_MOD_DIR)/brand/$(SUBDIR64)
 432  433  ROOT_DRV_DIR_64         = $(ROOT_MOD_DIR)/drv/$(SUBDIR64)
 433  434  ROOT_DTRACE_DIR_64      = $(ROOT_MOD_DIR)/dtrace/$(SUBDIR64)
 434  435  ROOT_EXEC_DIR_64        = $(ROOT_MOD_DIR)/exec/$(SUBDIR64)
 435  436  ROOT_FS_DIR_64          = $(ROOT_MOD_DIR)/fs/$(SUBDIR64)
 436  437  ROOT_SCHED_DIR_64       = $(ROOT_MOD_DIR)/sched/$(SUBDIR64)
 437  438  ROOT_SOCK_DIR_64        = $(ROOT_MOD_DIR)/socketmod/$(SUBDIR64)
↓ open down ↓ 7 lines elided ↑ open up ↑
 445  446  ROOT_QLC_FW_DIR_64      = $(ROOT_MOD_DIR)/misc/qlc/$(SUBDIR64)
 446  447  ROOT_EMLXS_FW_DIR_64    = $(ROOT_MOD_DIR)/misc/emlxs/$(SUBDIR64)
 447  448  ROOT_NLMISC_DIR_64      = $(ROOT_MOD_DIR)/misc/$(SUBDIR64)
 448  449  ROOT_MACH_DIR_64        = $(ROOT_MOD_DIR)/mach/$(SUBDIR64)
 449  450  ROOT_CPU_DIR_64         = $(ROOT_MOD_DIR)/cpu/$(SUBDIR64)
 450  451  ROOT_TOD_DIR_64         = $(ROOT_MOD_DIR)/tod/$(SUBDIR64)
 451  452  ROOT_FONT_DIR_64        = $(ROOT_MOD_DIR)/fonts/$(SUBDIR64)
 452  453  ROOT_DACF_DIR_64        = $(ROOT_MOD_DIR)/dacf/$(SUBDIR64)
 453  454  ROOT_CRYPTO_DIR_64      = $(ROOT_MOD_DIR)/crypto/$(SUBDIR64)
 454  455  ROOT_MAC_DIR_64         = $(ROOT_MOD_DIR)/mac/$(SUBDIR64)
      456 +ROOT_CC_DIR_64          = $(ROOT_MOD_DIR)/cc/$(SUBDIR64)
 455  457  ROOT_KICONV_DIR_64      = $(ROOT_MOD_DIR)/kiconv/$(SUBDIR64)
 456  458  
 457  459  ROOT_KERN_DIR           = $(ROOT_KERN_DIR_$(CLASS))
 458  460  ROOT_BRAND_DIR          = $(ROOT_BRAND_DIR_$(CLASS))
 459  461  ROOT_DRV_DIR            = $(ROOT_DRV_DIR_$(CLASS))
 460  462  ROOT_DTRACE_DIR         = $(ROOT_DTRACE_DIR_$(CLASS))
 461  463  ROOT_EXEC_DIR           = $(ROOT_EXEC_DIR_$(CLASS))
 462  464  ROOT_FS_DIR             = $(ROOT_FS_DIR_$(CLASS))
 463  465  ROOT_SCHED_DIR          = $(ROOT_SCHED_DIR_$(CLASS))
 464  466  ROOT_SOCK_DIR           = $(ROOT_SOCK_DIR_$(CLASS))
↓ open down ↓ 7 lines elided ↑ open up ↑
 472  474  ROOT_QLC_FW_DIR         = $(ROOT_QLC_FW_DIR_$(CLASS))
 473  475  ROOT_EMLXS_FW_DIR       = $(ROOT_EMLXS_FW_DIR_$(CLASS))
 474  476  ROOT_NLMISC_DIR         = $(ROOT_NLMISC_DIR_$(CLASS))
 475  477  ROOT_MACH_DIR           = $(ROOT_MACH_DIR_$(CLASS))
 476  478  ROOT_CPU_DIR            = $(ROOT_CPU_DIR_$(CLASS))
 477  479  ROOT_TOD_DIR            = $(ROOT_TOD_DIR_$(CLASS))
 478  480  ROOT_FONT_DIR           = $(ROOT_FONT_DIR_$(CLASS))
 479  481  ROOT_DACF_DIR           = $(ROOT_DACF_DIR_$(CLASS))
 480  482  ROOT_CRYPTO_DIR         = $(ROOT_CRYPTO_DIR_$(CLASS))
 481  483  ROOT_MAC_DIR            = $(ROOT_MAC_DIR_$(CLASS))
      484 +ROOT_CC_DIR             = $(ROOT_CC_DIR_$(CLASS))
 482  485  ROOT_KICONV_DIR         = $(ROOT_KICONV_DIR_$(CLASS))
 483  486  ROOT_FIRMWARE_DIR       = $(ROOT_MOD_DIR)/firmware
 484  487  
 485  488  ROOT_MOD_DIRS_32        = $(ROOT_BRAND_DIR_32) $(ROOT_DRV_DIR_32)
 486  489  ROOT_MOD_DIRS_32        = $(ROOT_BRAND_DIR_32) $(ROOT_DRV_DIR_32)
 487  490  ROOT_MOD_DIRS_32        += $(ROOT_EXEC_DIR_32) $(ROOT_DTRACE_DIR_32)
 488  491  ROOT_MOD_DIRS_32        += $(ROOT_FS_DIR_32) $(ROOT_SCHED_DIR_32)
 489  492  ROOT_MOD_DIRS_32        += $(ROOT_STRMOD_DIR_32) $(ROOT_SYS_DIR_32)
 490  493  ROOT_MOD_DIRS_32        += $(ROOT_IPP_DIR_32) $(ROOT_SOCK_DIR_32)
 491  494  ROOT_MOD_DIRS_32        += $(ROOT_MISC_DIR_32) $(ROOT_MACH_DIR_32)
 492  495  ROOT_MOD_DIRS_32        += $(ROOT_KGSS_DIR_32)
 493  496  ROOT_MOD_DIRS_32        += $(ROOT_SCSI_VHCI_DIR_32)
 494  497  ROOT_MOD_DIRS_32        += $(ROOT_PMCS_FW_DIR_32)
 495  498  ROOT_MOD_DIRS_32        += $(ROOT_QLC_FW_DIR_32)
 496  499  ROOT_MOD_DIRS_32        += $(ROOT_EMLXS_FW_DIR_32)
 497  500  ROOT_MOD_DIRS_32        += $(ROOT_CPU_DIR_32) $(ROOT_FONT_DIR_32)
 498  501  ROOT_MOD_DIRS_32        += $(ROOT_TOD_DIR_32) $(ROOT_DACF_DIR_32)
 499  502  ROOT_MOD_DIRS_32        += $(ROOT_CRYPTO_DIR_32) $(ROOT_MAC_DIR_32)
      503 +ROOT_MOD_DIRS_32        += $(ROOT_CC_DIR_32)
 500  504  ROOT_MOD_DIRS_32        += $(ROOT_KICONV_DIR_32)
 501  505  ROOT_MOD_DIRS_32        += $(ROOT_FIRMWARE_DIR)
 502  506  
 503  507  USR_MOD_DIR             = $(ROOT)/usr/kernel
 504  508  
 505  509  USR_DRV_DIR_32          = $(USR_MOD_DIR)/drv
 506  510  USR_EXEC_DIR_32         = $(USR_MOD_DIR)/exec
 507  511  USR_FS_DIR_32           = $(USR_MOD_DIR)/fs
 508  512  USR_SCHED_DIR_32        = $(USR_MOD_DIR)/sched
 509  513  USR_SOCK_DIR_32         = $(USR_MOD_DIR)/socketmod
↓ open down ↓ 73 lines elided ↑ open up ↑
 583  587  # problem with dependencies, sometimes it does get rebuilt, which then messes
 584  588  # up the other modules.  So we always force the issue here rather than try to
 585  589  # build genunix in parallel with everything else.
 586  590  #
 587  591  PARALLEL_KMODS = $(DRV_KMODS) $(EXEC_KMODS) $(FS_KMODS) $(SCHED_KMODS) \
 588  592                   $(TOD_KMODS) $(STRMOD_KMODS) $(SYS_KMODS) $(MISC_KMODS) \
 589  593                   $(NLMISC_KMODS) $(MACH_KMODS) $(CPU_KMODS) $(GSS_KMODS) \
 590  594                   $(MMU_KMODS) $(DACF_KMODS) $(EXPORT_KMODS) $(IPP_KMODS) \
 591  595                   $(CRYPTO_KMODS) $(PCBE_KMODS) \
 592  596                   $(DRV_KMODS_$(CLASS)) $(MISC_KMODS_$(CLASS)) $(MAC_KMODS) \
 593      -                 $(BRAND_KMODS) $(KICONV_KMODS) \
      597 +                 $(BRAND_KMODS) $(KICONV_KMODS) $(CC_KMODS) \
 594  598                   $(SOCKET_KMODS)
 595  599  
 596  600  KMODS = $(GENUNIX_KMODS) $(PARALLEL_KMODS)
 597  601  
 598  602  $(PARALLEL_KMODS): $(GENUNIX_KMODS)
 599  603  
 600  604  LINT_KMODS = $(DRV_KMODS) $(EXEC_KMODS) $(FS_KMODS) $(SCHED_KMODS) \
 601  605            $(TOD_KMODS) $(STRMOD_KMODS) $(SYS_KMODS) $(MISC_KMODS) \
 602  606            $(MACH_KMODS) $(GSS_KMODS) $(DACF_KMODS) $(IPP_KMODS) \
 603  607            $(CRYPTO_KMODS) $(PCBE_KMODS) \
 604  608            $(DRV_KMODS_$(CLASS)) $(MISC_KMODS_$(CLASS)) $(MAC_KMODS) \
 605      -          $(BRAND_KMODS) $(KICONV_KMODS) $(SOCKET_KMODS)
      609 +          $(BRAND_KMODS) $(KICONV_KMODS) $(CC_KMODS) $(SOCKET_KMODS)
 606  610  
 607  611  #
 608  612  #       Files to be compiled with -xa, to generate basic block execution
 609  613  #       count data.
 610  614  #
 611  615  #       There are several ways to compile parts of the kernel for kcov:
 612  616  #               1)  Add targets to BB_FILES here or in other Makefiles
 613  617  #                       (they must in the form of $(OBJS_DIR)/target.o)
 614  618  #               2)  setenv BB_FILES '$(XXX_OBJS:%=$(OBJS_DIR)/%)'
 615  619  #               3)  setenv BB_FILES '$(OBJECTS)'
↓ open down ↓ 39 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX