diff options
author | Patrick Mooney <pmooney@pfmooney.com> | 2019-06-13 16:03:23 +0000 |
---|---|---|
committer | Jason King <jason.king@joyent.com> | 2020-10-16 15:17:17 -0500 |
commit | 91ab9467e54c18d8133142e5704929a65e13a449 (patch) | |
tree | 8ffeb0fa940db40f4edc57059c3f6f55cc868ecb /usr/src/uts/sun4u | |
parent | f0a052391861a2b96cf28973c3b7f2854591aa79 (diff) | |
download | illumos-gate-91ab9467e54c18d8133142e5704929a65e13a449.tar.gz |
13221 mapfile name for unix should be less generic
Reviewed by: Robert Mustacchi <robert.mustacchi@joyent.com>
Reviewed by: John Levon <john.levon@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/sun4u')
-rw-r--r-- | usr/src/uts/sun4u/Makefile.sun4u | 5 | ||||
-rw-r--r-- | usr/src/uts/sun4u/opl/unix/Makefile | 7 | ||||
-rw-r--r-- | usr/src/uts/sun4u/serengeti/unix/Makefile | 17 | ||||
-rw-r--r-- | usr/src/uts/sun4u/unix/Makefile | 15 |
4 files changed, 24 insertions, 20 deletions
diff --git a/usr/src/uts/sun4u/Makefile.sun4u b/usr/src/uts/sun4u/Makefile.sun4u index 1c08aff3ef..7b4b7c0985 100644 --- a/usr/src/uts/sun4u/Makefile.sun4u +++ b/usr/src/uts/sun4u/Makefile.sun4u @@ -24,6 +24,7 @@ # Use is subject to license terms. # Copyright (c) 2013 Andrew Stormont. All rights reserved. # Copyright 2019 Peter Tribble. +# Copyright 2019 Joyent, Inc. # # This makefile contains the common definitions for the sun4u unix # and all sun4u implementation architecture dependent modules. @@ -222,14 +223,14 @@ LINT_DEFS = -m64 # # The following must be defined for all implementations: # -# MAPFILE: ld mapfile for the build of kernel/unix. +# UNIX_MAPFILE: ld mapfile for the build of kernel/unix. # MODSTUBS: Module stubs source file. # GENCONST_SRC: genconst.c # OFFSETS: offsets.in # PLATFORM_OFFSETS: Platform specific mach_offsets.in # FDOFFSETS: fd_offsets.in # -MAPFILE = $(UTSBASE)/sun4/conf/Mapfile +UNIX_MAPFILE = $(UTSBASE)/sun4/conf/Mapfile MODSTUBS = $(UTSBASE)/sparc/ml/modstubs.s GENCONST_SRC = $(UTSBASE)/sun4/ml/genconst.c OFFSETS = $(UTSBASE)/sun4/ml/offsets.in diff --git a/usr/src/uts/sun4u/opl/unix/Makefile b/usr/src/uts/sun4u/opl/unix/Makefile index ea0798ad82..89c2ab6b32 100644 --- a/usr/src/uts/sun4u/opl/unix/Makefile +++ b/usr/src/uts/sun4u/opl/unix/Makefile @@ -21,6 +21,7 @@ # # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. +# Copyright 2019 Joyent, Inc. # # @@ -147,15 +148,15 @@ install: $(INSTALL_DEPS) symcheck: $(SYM_DEPS) -$(UNIX_BIN): $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(MAPFILE) $(LIBS) \ +$(UNIX_BIN): $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(UNIX_MAPFILE) $(LIBS) \ $(DTRACESTUBS) - $(LD) -dy -b -o $@ -e _start -M $(MAPFILE) \ + $(LD) -dy -b -o $@ -e _start -M $(UNIX_MAPFILE) \ $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBOPTS) $(DTRACESTUBS) $(CTFMERGE_UNIQUIFY_AGAINST_GENUNIX) $(POST_PROCESS) symcheck.targ: $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBS) $(DTRACESTUBS) - $(LD) -dy -b -o $(SYM_MOD) -M $(MAPFILE) \ + $(LD) -dy -b -o $(SYM_MOD) -M $(UNIX_MAPFILE) \ $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBOPTS) $(DTRACESTUBS) $(UNIX_O): $(OBJECTS) $(OBJS_DIR)/vers.o diff --git a/usr/src/uts/sun4u/serengeti/unix/Makefile b/usr/src/uts/sun4u/serengeti/unix/Makefile index ae5a397012..0fb8a3eeae 100644 --- a/usr/src/uts/sun4u/serengeti/unix/Makefile +++ b/usr/src/uts/sun4u/serengeti/unix/Makefile @@ -22,6 +22,7 @@ # # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. +# Copyright 2019 Joyent, Inc. # # @@ -108,7 +109,7 @@ CLOBBERFILES = $(CLEANFILES) $(UNIX_BIN) CLEANLINTFILES += $(LINT_LIB) # -# lint pass one enforcement +# lint pass one enforcement # Turn on doubleword alignment for 64 bit counter timer registers # CFLAGS += $(CCVERBOSE) -dalign @@ -142,20 +143,20 @@ lint: $(LINT_DEPS) clean.lint: $(CLEAN_LINT_DEPS) -install: $(INSTALL_DEPS) +install: $(INSTALL_DEPS) symcheck: $(SYM_DEPS) -$(UNIX_BIN): $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(MAPFILE) $(LIBS) \ - $(DTRACESTUBS) - $(LD) -dy -b -o $@ -e _start -M $(MAPFILE) \ - $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBOPTS) $(DTRACESTUBS) +$(UNIX_BIN): $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(UNIX_MAPFILE) $(LIBS) \ + $(DTRACESTUBS) + $(LD) -dy -b -o $@ -e _start -M $(UNIX_MAPFILE) \ + $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBOPTS) $(DTRACESTUBS) $(CTFMERGE_UNIQUIFY_AGAINST_GENUNIX) $(POST_PROCESS) symcheck.targ: $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBS) - $(LD) -dy -b -o $(SYM_MOD) -M $(MAPFILE) \ - $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBOPTS) $(DTRACESTUBS) + $(LD) -dy -b -o $(SYM_MOD) -M $(UNIX_MAPFILE) \ + $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBOPTS) $(DTRACESTUBS) $(UNIX_O): $(OBJECTS) $(OBJS_DIR)/vers.o $(LD) -r -o $@ $(OBJECTS) $(OBJS_DIR)/vers.o diff --git a/usr/src/uts/sun4u/unix/Makefile b/usr/src/uts/sun4u/unix/Makefile index 9610b65e09..73c5a41f02 100644 --- a/usr/src/uts/sun4u/unix/Makefile +++ b/usr/src/uts/sun4u/unix/Makefile @@ -22,6 +22,7 @@ # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. +# Copyright 2019 Joyent, Inc. # # @@ -103,7 +104,7 @@ CLOBBERFILES = $(CLEANFILES) $(UNIX_BIN) CLEANLINTFILES += $(LINT_LIB) # -# lint pass one enforcement +# lint pass one enforcement # Turn on doubleword alignment for 64 bit counter timer registers # CFLAGS += $(CCVERBOSE) -dalign @@ -149,13 +150,13 @@ lint: $(LINT_DEPS) clean.lint: $(CLEAN_LINT_DEPS) -install: $(INSTALL_DEPS) +install: $(INSTALL_DEPS) -$(UNIX_BIN): $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(MAPFILE) $(LIBS) \ - $(DTRACESTUBS) - $(LD) -dy -b -o $@ -e _start -M $(MAPFILE) \ - $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBOPTS) $(DTRACESTUBS) +$(UNIX_BIN): $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(UNIX_MAPFILE) $(LIBS) \ + $(DTRACESTUBS) + $(LD) -dy -b -o $@ -e _start -M $(UNIX_MAPFILE) \ + $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBOPTS) $(DTRACESTUBS) $(CTFMERGE_UNIQUIFY_AGAINST_GENUNIX) $(POST_PROCESS) $(CHK4UBINARY) @@ -164,7 +165,7 @@ $(UNIX32_LINK): $(ROOT_PSM_KERN_DIR_32) $(UNIX_BIN) -$(RM) $@; ln -s $(SUBDIR64)/$(UNIX) $@ symcheck: $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBS) - $(LD) -dy -b -o $(SYM_MOD) -M $(MAPFILE) \ + $(LD) -dy -b -o $(SYM_MOD) -M $(UNIX_MAPFILE) \ $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBOPTS) $(DTRACESTUBS) $(UNIX_O): $(OBJECTS) $(OBJS_DIR)/vers.o |