summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorkrishna <none@none>2006-06-19 11:27:31 -0700
committerkrishna <none@none>2006-06-19 11:27:31 -0700
commit88543b5cfb7f04aeebd3e525cacd360547c0c16c (patch)
tree76558d52546b172fe17aadc173ed58f40561d9a2 /usr/src
parent428cee1ba676b0cc80da92fb058bb7ee03143df7 (diff)
downloadillumos-joyent-88543b5cfb7f04aeebd3e525cacd360547c0c16c.tar.gz
6357052 zulu driver Makefile breaks lint without debug build
6419846 'make lint' and 'make check' should work in open-only ON workspaces 6419983 mc-amd driver Makefile breaks lint without debug build Contributed by Richard Lowe <richlowe@richlowe.net>.
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/tools/env/opensolaris.sh6
-rw-r--r--usr/src/uts/i86pc/Makefile7
-rw-r--r--usr/src/uts/i86pc/mc-amd/Makefile6
-rw-r--r--usr/src/uts/intel/Makefile9
-rw-r--r--usr/src/uts/intel/sys/Makefile1
-rw-r--r--usr/src/uts/sparc/Makefile9
-rw-r--r--usr/src/uts/sun4u/zuluvm/Makefile9
7 files changed, 22 insertions, 25 deletions
diff --git a/usr/src/tools/env/opensolaris.sh b/usr/src/tools/env/opensolaris.sh
index cebf489428..fda3dda26f 100644
--- a/usr/src/tools/env/opensolaris.sh
+++ b/usr/src/tools/env/opensolaris.sh
@@ -18,7 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
@@ -34,12 +34,14 @@
# do not run protocmp or checkpaths (-N)
# do not bringover from the parent (-n)
# creates cpio archives for bfu (-a)
+# runs 'make check' (-C)
+# runs lint in usr/src (-l plus the LINTDIRS variable)
# sends mail on completion (-m and the MAILTO variable)
# checks for changes in ELF runpaths (-r)
# build and use this workspace's tools in $SRC/tools (-t)
# use dmake instead of pmake (-d)
#
-NIGHTLY_OPTIONS="-FNnadDmrt"; export NIGHTLY_OPTIONS
+NIGHTLY_OPTIONS="-FNnaCdDlmrt"; export NIGHTLY_OPTIONS
# This is a variable for the rest of the script - GATE doesn't matter to
# nightly itself
diff --git a/usr/src/uts/i86pc/Makefile b/usr/src/uts/i86pc/Makefile
index a4bafb16ff..2ae5ed9c24 100644
--- a/usr/src/uts/i86pc/Makefile
+++ b/usr/src/uts/i86pc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -163,7 +162,7 @@ globallint := LINTFLAGS += -erroff=E_NAME_MULTIPLY_DEF2
globallint:
@-$(ECHO) "\nFULL KERNEL: global crosschecks:"
- @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) | $(LGREP.i86pc)
+ @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.i86pc) | $(LGREP.2)
lint: lintlib .WAIT modlintlib .WAIT $(INTEL_LINTS) $(LINT_DEPS)
diff --git a/usr/src/uts/i86pc/mc-amd/Makefile b/usr/src/uts/i86pc/mc-amd/Makefile
index d7c876fa41..a360c43854 100644
--- a/usr/src/uts/i86pc/mc-amd/Makefile
+++ b/usr/src/uts/i86pc/mc-amd/Makefile
@@ -1,9 +1,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -63,6 +62,7 @@ CLEANFILES += $(MCAMD_OFF_H)
CLOBBERFILES += $(MCAMD_OFF_H)
$(OBJECTS): $(MCAMD_OFF_H)
+$(LINTS): $(MCAMD_OFF_H)
#
# Create mcamd_off.h
diff --git a/usr/src/uts/intel/Makefile b/usr/src/uts/intel/Makefile
index b935dec98e..5ddfbe5117 100644
--- a/usr/src/uts/intel/Makefile
+++ b/usr/src/uts/intel/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -21,7 +20,7 @@
#
# uts/intel/Makefile
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -39,7 +38,7 @@ LINT_LIBS = $(LINT_LIB) $(GEN_LINT_LIB) \
$(CLOSED_LINT_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
# EXPORT DELETE START
-LINT_LIBS += $(SVVS_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
+$(CLOSED_BUILD)LINT_LIBS += $(SVVS_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
$(CLOSED_BUILD)LINT_CLOSED_XMOD3 = $(CLOSED_XMODS:lsimega=)
$(CLOSED_BUILD)LINT_CLOSED_XMOD2 = $(LINT_CLOSED_XMOD3:adpu320=)
$(CLOSED_BUILD)LINT_CLOSED_XMOD1 = $(LINT_CLOSED_XMOD2:e1000g=)
diff --git a/usr/src/uts/intel/sys/Makefile b/usr/src/uts/intel/sys/Makefile
index dfef18a793..550c2eeb98 100644
--- a/usr/src/uts/intel/sys/Makefile
+++ b/usr/src/uts/intel/sys/Makefile
@@ -120,7 +120,6 @@ ROOTFSHDRS= $(FSHDRS:%=$(ROOTDIR)/fs/%)
CHECKHDRS= \
$(HDRS:%.h=%.check) \
$(SUBHDRS:%.h=%.check) \
- $(CLOSEDHDRS:%.h=$(CLOSED)/uts/intel/sys/%.check) \
$(FSHDRS:%.h=fs/%.check)
$(CLOSED_BUILD)CHECKHDRS += $(CLOSEDHDRS:%.h=$(CLOSED)/uts/intel/sys/%.check)
diff --git a/usr/src/uts/sparc/Makefile b/usr/src/uts/sparc/Makefile
index 7567b93bff..c597432d5c 100644
--- a/usr/src/uts/sparc/Makefile
+++ b/usr/src/uts/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -22,7 +21,7 @@
#
#ident "%Z%%M% %I% %E% SMI"
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# uts/sparc/Makefile
@@ -42,7 +41,7 @@ LINT_LIBS = $(LINT_LIB) $(GEN_LINT_LIB) \
$(CLOSED_BUILD)LINT_LIBS += $(CLOSED_LINT_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
# EXPORT DELETE START
-LINT_LIBS += $(SVVS_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
+$(CLOSED_BUILD)LINT_LIBS += $(SVVS_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
LINT_LIBS += $(LINT_XMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln)
$(CLOSED_BUILD)CLOSED_LINT_XMODS = $(CLOSED_XMODS:e1000g=)
$(CLOSED_BUILD)LINT_LIBS += $(CLOSED_LINT_XMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
diff --git a/usr/src/uts/sun4u/zuluvm/Makefile b/usr/src/uts/sun4u/zuluvm/Makefile
index 968078a072..c822a6bd78 100644
--- a/usr/src/uts/sun4u/zuluvm/Makefile
+++ b/usr/src/uts/sun4u/zuluvm/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
@@ -110,7 +109,7 @@ install: $(INSTALL_DEPS)
#
AS_INC_PATH += -I$(OBJS_DIR)
-ZULUVM_DEPS += zulu_hat_asm.o zulu_asm.o zulu_asm.ln
+ZULUVM_DEPS += zulu_hat_asm.o zulu_asm.o zulu_asm.ln zulu_hat_asm.ln
CLEANFILES += $(ZULUVM_OFFSETS_H) $(ZULUVM_OFFSETS_OUT)