summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4u/taco/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sun4u/taco/Makefile')
-rw-r--r--usr/src/uts/sun4u/taco/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr/src/uts/sun4u/taco/Makefile b/usr/src/uts/sun4u/taco/Makefile
index d8fb18b675..6302ecaed2 100644
--- a/usr/src/uts/sun4u/taco/Makefile
+++ b/usr/src/uts/sun4u/taco/Makefile
@@ -21,7 +21,7 @@
#
#
# uts/sun4u/taco/Makefile
-# Copyright 2002-2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#pragma ident "%Z%%M% %I% %E% SMI"
@@ -51,6 +51,8 @@ clobber := TARGET= clobber
lint := TARGET= lint
lintlib := TARGET= lintlib
modlintlib := TARGET= modlintlib
+modlist := TARGET= modlist
+modlist := NO_STATE= -K $$MODSTATE$$$$
clean.lint := TARGET= clean.lint
check := TARGET= check
@@ -59,7 +61,7 @@ check := TARGET= check
#
.KEEP_STATE:
-def all clean clean.lint clobber: $(TACO_KMODS)
+def all clean clean.lint clobber modlist: $(TACO_KMODS)
modlintlib: $(TACO_KMODS)
@@ -92,6 +94,7 @@ lint: modlintlib
LINT_LIBS = $(LINT_LIB) \
-L$(TACO_LINT_LIB_DIR) \
-L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \
+ $(CLOSED_LINT_KMODS:%=-l%) \
-L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%)
lint.platmod: modlintlib
@@ -99,7 +102,7 @@ lint.platmod: modlintlib
@-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
$(TACO_KMODS): FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
+ @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
$(TACO_CRYPTO_LINKS): $(ROOT_TACO_CRYPTO_DIR_64)
-$(RM) $(ROOT_TACO_CRYPTO_DIR_64)/$@;