kernel: remove unused utsname_set_machine()
[unleashed.git] / usr / src / uts / sparc / pmcs8001fw / Makefile
blobaaa0b0af5b4af1ce373fc61f54f5590c611ad2b3
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
26 # This makefile drives the production of pmcs8001fw firmware kernel module.
28 # SPARC architecture dependent
32 # Path to the base of the uts directory tree (usually /usr/src/uts).
34 UTSBASE = ../../../../src/uts
37 # Define the module and object file sets.
39 MODULE = pmcs8001fw
40 OBJECTS = $(PMCS8001FW_OBJS:%=$(OBJS_DIR)/%)
41 ROOTMODULE = $(ROOT_PMCS_FW_DIR)/$(MODULE)
42 CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/pmcs
45 # Include common rules.
47 include $(UTSBASE)/sparc/Makefile.sparc
48 include $(CONF_SRCDIR)/pmcs8001fw.version
51 # Define targets
53 ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
54 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
56 LDFLAGS += -dy
59 # Extra flags
61 CPPFLAGS += -DPMCS_FIRMWARE_VERSION=${PMCS_FW_VERSION} \
62 -DPMCS_FIRMWARE_VERSION_STRING=\"${PMCS_FW_VERSION_STRING}\"
66 # Default build targets.
68 .KEEP_STATE:
70 def: $(DEF_DEPS)
72 all: $(ALL_DEPS)
74 clean: $(CLEAN_DEPS)
76 clobber: $(CLOBBER_DEPS)
78 install: $(INSTALL_DEPS)
81 # Include common targets.
83 include $(UTSBASE)/sparc/Makefile.targ