Print this page
OS-3330 NTP should ship with CTF data
OS-3331 OpenLLDP should ship with CTF data

Split Close
Expand all
Collapse all
          --- old/./Makefile.defs
          +++ new/./Makefile.defs
↓ open down ↓ 19 lines elided ↑ open up ↑
  20   20  #
  21   21  # Copyright (c) 2014, Joyent, Inc.
  22   22  #
  23   23  
  24   24  BASE =          $(PWD)
  25   25  DESTDIR =       $(BASE)/../proto
  26   26  VER.32 =        $(VER)-32$(STRAP)
  27   27  VER.64 =        $(VER)-64$(STRAP)
  28   28  OBJ.32 =        $(VER.32)$(SEPARATE_BUILD:yes=.build)
  29   29  OBJ.64 =        $(VER.64)$(SEPARATE_BUILD:yes=.build)
       30 +CTF.32 =        ctfobjects-32$(STRAP)
       31 +CTF.64 =        ctfobjects-64$(STRAP)
  30   32  
  31   33  ifeq ($(STRAP),strap)
  32   34  STRAPPROTO =    $(DESTDIR)
  33   35  else
  34   36  STRAPPROTO =    $(DESTDIR:proto=proto.strap)
  35   37  endif
  36   38  
  37   39  PATH =          $(STRAPPROTO)/usr/bin:/usr/bin:/usr/sbin:/sbin:/opt/local/bin
  38   40  
  39   41  MAKE =          gmake
↓ open down ↓ 112 lines elided ↑ open up ↑
 152  154          for p in $(PATCHES); do \
 153  155              echo "Applying $$p"; \
 154  156              $(GPATCH) -d .unpack32/$(VER) -p$(PATCHSTRIP) < "$$p" || exit 1; \
 155  157              done
 156  158  
 157  159  APPLY_PATCHES.64 = \
 158  160          for p in $(PATCHES); do \
 159  161              echo "Applying $$p"; \
 160  162              $(GPATCH) -d .unpack64/$(VER) -p$(PATCHSTRIP) < "$$p" || exit 1; \
 161  163              done
      164 +
      165 +MAKE_CTF =              $(BASE)/../tools/make-ctf
      166 +MAKE_CTF.32 =           $(MAKE_CTF) $(OBJ.32) $(CTF.32) $(VER)
      167 +MAKE_CTF.64 =           $(MAKE_CTF) $(OBJ.64) $(CTF.64) $(VER)
 162  168  
 163  169  .DEFAULT_GOAL =         all
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX