Print this page
4027 remove CLOSED_BUILD

Split Close
Expand all
Collapse all
          --- old/usr/src/Makefile
          +++ new/usr/src/Makefile
↓ open down ↓ 124 lines elided ↑ open up ↑
 125  125  
 126  126  mapfiles: bldtools
 127  127          @cd common/mapfiles; pwd; $(MAKE) install
 128  128  
 129  129  clean clobber: $(SUBDIRS) head pkg
 130  130  
 131  131  closedbins: bldtools $(ROOTDIRS) FRC
 132  132          @CLOSED_ROOT="$$ON_CLOSED_BINS/root_$(MACH)$${RELEASE_BUILD+-nd}"; \
 133  133          if [ "$$CLOSED_IS_PRESENT" = no ]; then \
 134  134                  if [ ! -d "$$CLOSED_ROOT" ]; then \
 135      -                        $(ECHO) "Error: if closed sources are not present," \
 136      -                            "ON_CLOSED_BINS must point to closed binaries."; \
      135 +                        $(ECHO) "Error: ON_CLOSED_BINS must point to closed" \
      136 +                            "binaries."; \
 137  137                          $(ECHO) "root_$(MACH)$${RELEASE_BUILD+-nd} is not" \
 138  138                              "present in $$ON_CLOSED_BINS."; \
 139  139                          exit 1; \
 140  140                  fi; \
 141  141                  $(ECHO) "Copying closed binaries from $$CLOSED_ROOT"; \
 142  142                  (cd $$CLOSED_ROOT; \
 143  143                      $(TAR) cfX - $(CODEMGR_WS)/exception_lists/closed-bins .) | \
 144  144                      (cd $(ROOT); $(TAR) xBpf -); \
 145  145                  ( cd $(ROOT); $(CTFSTRIP) $$(cd $$CLOSED_ROOT; $(FIND) \
 146  146                      ./kernel ./usr/kernel ./platform/*/kernel -type f -a -perm -u+x | \
↓ open down ↓ 54 lines elided ↑ open up ↑
 201  201  cmdheaders: FRC
 202  202          @cd cmd/fm; pwd; $(MAKE) install_h
 203  203          @cd cmd/mdb; pwd; $(MAKE) install_h
 204  204  
 205  205  check:  $(CHKHDRSUBDIRS) $(CHKMFSTSUBDIRS)
 206  206  
 207  207  #
 208  208  # Cross-reference customization: skip all of the subdirectories that
 209  209  # don't contain actual source code.
 210  210  #
 211      -$(CLOSED_BUILD)XRDIRS += ../closed
 212  211  XRPRUNE = pkg prototypes
 213  212  XRINCDIRS = uts/common head ucbhead
 214      -$(CLOSED_BUILD)XRINCDIRS = uts/common ../closed/uts/common head ucbhead
 215  213  
 216  214  cscope.out tags: FRC
 217  215          $(XREF) -f -x $@
 218  216  
 219  217  FRC:
 220  218  
 221  219  #
 222  220  # Targets for reporting compiler versions; nightly uses these.
 223  221  #
 224  222  
↓ open down ↓ 46 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX