Makefile revision b6805bf78d2bbbeeaea8909a05623587b42d58b3
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
c7ef13f6c9ef4436bc804b150e0a93307b11fa27Tinderbox User# The contents of this file are subject to the terms of the
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrews# Common Development and Distribution License (the "License").
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User# You may not use this file except in compliance with the License.
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
137fdbc214e99c4cbe57551e9e14f2015c2e42aeTinderbox User# See the License for the specific language governing permissions
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User# and limitations under the License.
02b47c5d62e1e827743684c28a08e871da454a2dMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# If applicable, add the following below this CDDL HEADER, with the
e20309353e6246485c521278131d3fced73d7957Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
e20309353e6246485c521278131d3fced73d7957Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
9a5217f827ac0e006016745e5305b31dc0c7767fTinderbox User# CDDL HEADER END
e20309353e6246485c521278131d3fced73d7957Tinderbox User# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
e20309353e6246485c521278131d3fced73d7957Tinderbox User# Use is subject to license terms.
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# This makefile drives the production of the hwa1480_fw kernel module.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Path to the base of the uts directory tree (usually /usr/src/uts).
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# Define the module and object file sets.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterOBJECTS = $(WUSB_FWMOD_OBJS:%=$(OBJS_DIR)/%)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Include common rules.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Define targets
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# For now, disable these lint checks; maintainers should endeavor
24934f08b9ff81c2be711e566e8002d145573031Tinderbox User# to investigate and remove these for maximum lint coverage.
e20309353e6246485c521278131d3fced73d7957Tinderbox User# Please do not carry these forward to new Makefiles.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Default build targets.
28a5dd720187fddb16055a0f64b63a7b66f29f64Mark Andrews# customized section for transforming firmware binary
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox UserBINSRC = $(UTSBASE)/common/io/usb/clients/hwa1480_fw/i1480
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#get build type, 32/64
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#set elfwrap option
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews $(ELFWRAP) $(WRAPOPT) -o $@ $(BINSRC)/$(MODULE)
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews# Include common targets.
b871c7156eb037d41f53828c6fcb9cc876128962Mark Andrews# Defines for local commands.
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# Warlock targets