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>

@@ -23,11 +23,11 @@
 # Use is subject to license terms.
 #
 # Copyright (c) 2013 by Delphix. All rights reserved.
 # Copyright (c) 2019 Carlos Neira <cneirabustos@gmail.com>
 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
-# Copyright (c) 2019, Joyent, Inc.
+# Copyright 2019 Joyent, Inc.
 #
 
 .KEEP_STATE:
 .SUFFIXES:
 

@@ -209,11 +209,11 @@
 $(KMODFILE): kmod .WAIT $(KMODOBJS) $(MAPFILE)
         $(LD) -dy -r $(MAPFILE:%=-M%) -Nmisc/kmdbmod -o $@ $(KMODOBJS) \
         $(STANDOBJS)
         $(KMDB_LINKTEST_CMD)
         $(KMDB_FPTEST_CMD)
-        $(CTFMERGE) -f -L VERSION -o $@ $(KMODOBJS)
+        $(CTFMERGE) -l "$(UTS_LABEL)" -o $@ $(KMODOBJS)
         $(POST_PROCESS)
         $(SETDYNFLAG) -f DF_1_NOKSYMS $@
 
 linktest: linktest_check .WAIT kmod .WAIT $(KMODOBJS)
         $(KMDB_LINKTEST)