kernel: remove unused utsname_set_machine()
[unleashed.git] / usr / src / uts / sun4u / lw8 / Makefile
blobe6af55fa84c82360ec5f4d51a42abcbf5c644c45
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
23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
26 # This makefile drives the production of the sun4u lw8 platform
27 # module.
29 # sun4u implementation architecture dependent
33 # Path to the base of the uts directory tree (usually /usr/src/uts).
35 UTSBASE = ../..
38 # Include common rules.
40 include $(UTSBASE)/sun4u/lw8/Makefile.lw8
42 def := TARGET= def
43 all := TARGET= all
44 install := TARGET= install
45 install_h := TARGET= install_h
46 clean := TARGET= clean
47 clobber := TARGET= clobber
48 modlist := TARGET= modlist
49 modlist := NO_STATE= -K $$MODSTATE$$$$
50 check := TARGET= check
53 # Default build targets.
55 .KEEP_STATE:
57 def all clean clobber modlist: $(LW8_KMODS)
59 IMPLEMENTED_PLATFORM = SUNW,Netra-T12
60 LINKS2DESTDIR = ../../SUNW,Sun-Fire/kernel
61 LINKS3DESTDIR = ../../../../SUNW,Sun-Fire/kernel/drv/sparcv9
62 LINKS4DESTDIR = ../../../../SUNW,Sun-Fire/kernel/misc/sparcv9
63 LW8_LINKS_2 = SUNW,Netra-T12/kernel/cpu
64 LW8_LINKS_2 += SUNW,Netra-T12/kernel/sparcv9
65 LW8_LINKS_3 = SUNW,Netra-T12/kernel/drv/sparcv9/sgcn
66 LW8_LINKS_3 += SUNW,Netra-T12/kernel/drv/sparcv9/sgsbbc
67 LW8_LINKS_3 += SUNW,Netra-T12/kernel/drv/sparcv9/ssm
68 LW8_LINKS_4 = SUNW,Netra-T12/kernel/misc/sparcv9/sbdp
69 LW8_PLAT_LINKS_2 = $(LW8_LINKS_2:%=$(ROOT_PLAT_DIR)/%)
70 LW8_PLAT_LINKS_3 = $(LW8_LINKS_3:%=$(ROOT_PLAT_DIR)/%)
71 LW8_PLAT_LINKS_4 = $(LW8_LINKS_4:%=$(ROOT_PLAT_DIR)/%)
73 install: $(ROOT_LW8_DIR) $(USR_LW8_DIR) \
74 $(USR_LW8_INC_DIR) \
75 $(USR_LW8_SBIN_DIR) \
76 $(USR_LW8_LIB_DIR) \
77 .WAIT $(LW8_KMODS) \
78 $(LW8_PLAT_LINKS_2) \
79 $(LW8_PLAT_LINKS_3) \
80 $(LW8_PLAT_LINKS_4) \
81 $(LW8_CRYPTO_LINKS)
83 $(LW8_KMODS): FRC
84 @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
86 install_h check: FRC
87 @cd sys; pwd; $(MAKE) $(TARGET)
89 $(LW8_PLAT_LINKS_2): $(ROOT_LW8_MOD_DIR)
90 $(RM) $@; $(SYMLINK) $(LINKS2DESTDIR)/$(@F) $@
92 $(LW8_PLAT_LINKS_3): $(ROOT_LW8_DRV_DIR_64)
93 $(RM) $@; $(SYMLINK) $(LINKS3DESTDIR)/$(@F) $@
95 $(LW8_PLAT_LINKS_4): $(ROOT_LW8_DRV_DIR_64)
96 $(RM) $@; $(SYMLINK) $(LINKS4DESTDIR)/$(@F) $@
98 $(LW8_CRYPTO_LINKS): $(ROOT_LW8_CRYPTO_DIR_64)
99 -$(RM) $(ROOT_LW8_CRYPTO_DIR_64)/$@;
100 $(SYMLINK) $(ROOT_US3_CRYPTO_LINK)/$@ $(ROOT_LW8_CRYPTO_DIR_64)/$@
104 # Include common targets.
106 include $(UTSBASE)/sun4u/lw8/Makefile.targ