diff options
Diffstat (limited to 'usr/src/uts/sun4u/enchilada')
-rw-r--r-- | usr/src/uts/sun4u/enchilada/Makefile | 30 | ||||
-rw-r--r-- | usr/src/uts/sun4u/enchilada/Makefile.enchilada | 4 | ||||
-rw-r--r-- | usr/src/uts/sun4u/enchilada/Makefile.rules | 9 | ||||
-rw-r--r-- | usr/src/uts/sun4u/enchilada/platmod/Makefile | 12 | ||||
-rw-r--r-- | usr/src/uts/sun4u/enchilada/ppm/Makefile | 6 |
5 files changed, 5 insertions, 56 deletions
diff --git a/usr/src/uts/sun4u/enchilada/Makefile b/usr/src/uts/sun4u/enchilada/Makefile index 6e918ce045..a048e8c0e3 100644 --- a/usr/src/uts/sun4u/enchilada/Makefile +++ b/usr/src/uts/sun4u/enchilada/Makefile @@ -22,9 +22,7 @@ # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# -# uts/sun4u/enchilada/Makefile + # # This makefile drives the production of the sun4u enchilada platform # module. @@ -48,12 +46,8 @@ install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean 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 # @@ -61,9 +55,7 @@ check := TARGET= check # .KEEP_STATE: -def all clean clean.lint clobber modlist: $(ENCHILADA_KMODS) - -modlintlib: $(ENCHILADA_KMODS) +def all clean clobber modlist: $(ENCHILADA_KMODS) install: $(ROOT_ENCHILADA_DIR) \ $(USR_ENCHILADA_DIR) \ @@ -75,24 +67,6 @@ install: $(ROOT_ENCHILADA_DIR) \ check install_h: -lint: modlintlib - -# -# The 'lint.platmod' target lints the enchilada platform module against the sun4u -# kernel. This ends up doing all the kernel cross-checks, so it takes a couple -# of minutes. Due to the low ROI, it's not run by default, but it's a good -# idea to run this if you change os/enchilada.c. -# -LINT_LIBS = $(LINT_LIB) \ - -L$(ENCHILADA_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - -lint.platmod: modlintlib - @-$(ECHO) "\nEnchilada Platform-dependent module: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - $(ENCHILADA_KMODS): FRC @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) diff --git a/usr/src/uts/sun4u/enchilada/Makefile.enchilada b/usr/src/uts/sun4u/enchilada/Makefile.enchilada index 109aecdad6..3d8f5f796e 100644 --- a/usr/src/uts/sun4u/enchilada/Makefile.enchilada +++ b/usr/src/uts/sun4u/enchilada/Makefile.enchilada @@ -23,7 +23,7 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # Global definitions for sun4u implementation specific modules. # @@ -55,8 +55,6 @@ USR_ENCHILADA_ISYS_DIR = $(USR_ENCHILADA_INC_DIR)/sys USR_ENCHILADA_SBIN_DIR = $(USR_ENCHILADA_DIR)/sbin USR_ENCHILADA_LIB_DIR = $(USR_ENCHILADA_DIR)/lib -ENCHILADA_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/enchilada/lint-libs/$(OBJS_DIR) - # # Define objects. # diff --git a/usr/src/uts/sun4u/enchilada/Makefile.rules b/usr/src/uts/sun4u/enchilada/Makefile.rules index 8638ed2ad8..28339f2a0c 100644 --- a/usr/src/uts/sun4u/enchilada/Makefile.rules +++ b/usr/src/uts/sun4u/enchilada/Makefile.rules @@ -23,8 +23,6 @@ # Copyright 2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "%Z%%M% %I% %E% SMI" -# # # This Makefile defines the build rules for the directory @@ -45,10 +43,3 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/enchilada/os/%.c $(COMPILE.c) -o $@ $< $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/enchilada/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/enchilada/platmod/Makefile b/usr/src/uts/sun4u/enchilada/platmod/Makefile index 37a38a2ca3..e5d4fde642 100644 --- a/usr/src/uts/sun4u/enchilada/platmod/Makefile +++ b/usr/src/uts/sun4u/enchilada/platmod/Makefile @@ -40,7 +40,6 @@ UTSBASE = ../../.. # MODULE = platmod OBJECTS = $(ENCHILADA_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(ENCHILADA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_ENCHILADA_MISC_DIR)/$(MODULE) PLAT_DIR = . @@ -60,12 +59,8 @@ CLEANFILES += $(PLATLIB) $(SYM_MOD) # Define targets # ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) -# -# lint pass one enforcement -# CFLAGS += $(CCVERBOSE) # @@ -81,17 +76,10 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) check: -LINT_LIB_DIR = $(ENCHILADA_LINT_LIB_DIR) $(PLATLIB): $(OBJECTS) $(BUILD.SO) $(OBJECTS) diff --git a/usr/src/uts/sun4u/enchilada/ppm/Makefile b/usr/src/uts/sun4u/enchilada/ppm/Makefile index 81a228a19a..725a1bad52 100644 --- a/usr/src/uts/sun4u/enchilada/ppm/Makefile +++ b/usr/src/uts/sun4u/enchilada/ppm/Makefile @@ -20,11 +20,10 @@ # CDDL HEADER END # # -# uts/sun4u/enchilada/enchppm/Makefile # Copyright 2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" + # # This makefile drives the production of the platform power # management driver in the sun4u enchilada system. @@ -60,7 +59,6 @@ INSTALL_TARGET = $(ROOT_CONFFILE) NO_BUILDS = ALL_BUILDS = $(ALL_BUILDSONLY64) DEF_BUILDS = $(DEF_BUILDSONLY64) -CLEANLINTFILES += $(LINT32_FILES) # # The only thing we do from here is install the .conf file @@ -86,7 +84,7 @@ CFLAGS += -dalign # .KEEP_STATE: -def all clean clobber lint modlintlib clean.lint: +def all clean clobber: install: $(CONF_INSTALL_DEPS) |