Print this page
11736 Stop using $VERSION for the genunix label
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Toomas Soome <tsoome@me.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/Makefile.kmdb.targ
          +++ new/usr/src/cmd/mdb/Makefile.kmdb.targ
↓ 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  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright 2019 Joyent, Inc.
       26 +#
  25   27  
  26   28  ROOTTERMINFO = $(ROOTSHLIB)/terminfo
  27   29  
  28   30  $(PROG).core: $(OBJS) $(KMDBLIBS) $(MAPFILE)
  29   31          $(LD) -r $(BREDUCE) $(ZNOVERSION) $(ZDEFS) -M$(MAPFILE) -o $@ $(OBJS) \
  30   32              $(KMDBLIBS)
  31   33  
  32   34  $(PROG): $(PROG).core $(KCTLOBJS)
  33   35          $(LD) -dy -r -o $@ $@.core -Nmisc/ctf $(KCTLOBJS)
  34      -        $(CTFMERGE) -L VERSION -o $@ $(OBJS) $(KCTLOBJS)
       36 +        $(CTFMERGE) -l "$(UTS_LABEL)" -o $@ $(OBJS) $(KCTLOBJS)
  35   37          $(KMDB_FPTEST)
  36   38          $(POST_PROCESS)
  37   39          $(SETDYNFLAG) -f DF_1_IGNMULDEF,DF_1_NOKSYMS $@
  38   40  
  39   41  clean.lint:
  40   42          $(RM) $(ALLLINTFILES)
  41   43  
  42   44  clean:
  43   45          $(RM) $(OBJS) $(KCTLOBJS) $(PROG).core $(MAPFILE)
  44   46          $(RM) $(MAPFILE_INTERMEDIATE)
↓ open down ↓ 144 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX