Makefile revision b6805bf78d2bbbeeaea8909a05623587b42d58b3
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder# CDDL HEADER START
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder# The contents of this file are subject to the terms of the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Common Development and Distribution License (the "License").
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You may not use this file except in compliance with the License.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# or http://www.opensolaris.org/os/licensing.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# See the License for the specific language governing permissions
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# and limitations under the License.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0898ff703a21cf78e18cc03e8fe5a3c6d1fc25c3Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
8e494181dee5cfc59ae494e4082c71edfde24f58Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
b7839add0728fef3cbb28244373661db382f6588Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
ac0bbbcb2774629bb87986e69cf53d3402c5f575Christian Maeder# CDDL HEADER END
88c800932dd7053322501ea2039d9f234be6866cKlaus Luettich# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder# Use is subject to license terms.
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder# This makefile drives the production of the hwa1480_fw kernel module.
8410667510a76409aca9bb24ff0eda0420088274Christian Maeder# Path to the base of the uts directory tree (usually /usr/src/uts).
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Define the module and object file sets.
e593b89bfd4952698dc37feced21cefe869d87a2Christian MaederLINTS = $(UATHFW_OBJS:%.o=$(LINTS_DIR)/%.ln)
c55a0f77be7e88d3620b419ec8961f4379a586e3Klaus Luettich# Include common rules.
f4505a64a089693012a3f5c3b1f12a82cd7a2a5aKlaus Luettich# Define targets
9e748851c150e1022fb952bab3315e869aaf0214Christian Maeder# For now, disable these lint checks; maintainers should endeavor
9e748851c150e1022fb952bab3315e869aaf0214Christian Maeder# to investigate and remove these for maximum lint coverage.
9e748851c150e1022fb952bab3315e869aaf0214Christian Maeder# Please do not carry these forward to new Makefiles.
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder# Default build targets.
f4505a64a089693012a3f5c3b1f12a82cd7a2a5aKlaus Luettich# customized section for transforming firmware binary
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder#get build type, 32/64
97812b7ce9860bf514a8822a63503451795dbc65Klaus Luettich#set elfwrap option
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maeder cp $(BINSRC)/$(ORIGIN_SRC) $(BINDEST)/$(BINCOPY)
61fa0ac06ede811c7aad54ec4c4202346727368eChristian Maeder $(ELFWRAP) $(WRAPOPT) -o $@ $(BINDEST)/$(BINCOPY)
9e748851c150e1022fb952bab3315e869aaf0214Christian Maeder# Include common targets.