system-kernel-cpu-counters.mf revision 11838:32bb5d254240
1#
2# CDDL HEADER START
3#
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.
7#
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.
12#
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]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27#
28# This package will install successfully into any zone, global or
29# non-global.  The files, directories, links, and hardlinks, however,
30# will only be installed into the global zone.
31#
32<include hollow_zone_pkg>
33set name=pkg.fmri value=pkg:/system/kernel/cpu-counters@$(PKGVERS)
34set name=pkg.description value="Kernel support for CPU Performance Counters"
35set name=pkg.summary value="CPU Performance Counter driver"
36set name=info.classification value=org.opensolaris.category.2008:System/Core
37set name=variant.arch value=$(ARCH)
38set name=variant.opensolaris.zone value=global value=nonglobal
39dir path=platform group=sys
40$(i386_ONLY)dir path=platform/i86pc group=sys
41$(i386_ONLY)dir path=platform/i86pc/kernel group=sys
42$(i386_ONLY)dir path=platform/i86pc/kernel/drv group=sys
43$(i386_ONLY)dir path=platform/i86pc/kernel/drv/$(ARCH64) group=sys
44$(i386_ONLY)dir path=platform/i86pc/kernel/sys group=sys
45$(i386_ONLY)dir path=platform/i86pc/kernel/sys/$(ARCH64) group=sys
46$(sparc_ONLY)dir path=platform/sun4u group=sys
47$(sparc_ONLY)dir path=platform/sun4u/kernel group=sys
48$(sparc_ONLY)dir path=platform/sun4u/kernel/drv group=sys
49$(sparc_ONLY)dir path=platform/sun4u/kernel/drv/$(ARCH64) group=sys
50$(sparc_ONLY)dir path=platform/sun4u/kernel/sys group=sys
51$(sparc_ONLY)dir path=platform/sun4u/kernel/sys/$(ARCH64) group=sys
52$(sparc_ONLY)dir path=platform/sun4v group=sys
53$(sparc_ONLY)dir path=platform/sun4v/kernel group=sys
54$(sparc_ONLY)dir path=platform/sun4v/kernel/drv group=sys
55$(sparc_ONLY)dir path=platform/sun4v/kernel/drv/$(ARCH64) group=sys
56$(sparc_ONLY)dir path=platform/sun4v/kernel/sys group=sys
57$(sparc_ONLY)dir path=platform/sun4v/kernel/sys/$(ARCH64) group=sys
58driver name=cpc perms="shared 0666 root sys"
59$(i386_ONLY)file path=platform/i86pc/kernel/drv/$(ARCH64)/cpc group=sys
60$(i386_ONLY)file path=platform/i86pc/kernel/drv/cpc group=sys
61$(i386_ONLY)file path=platform/i86pc/kernel/drv/cpc.conf group=sys \
62    reboot-needed=false
63$(sparc_ONLY)file path=platform/sun4u/kernel/drv/$(ARCH64)/cpc group=sys
64$(sparc_ONLY)file path=platform/sun4u/kernel/drv/cpc.conf group=sys \
65    reboot-needed=false
66$(sparc_ONLY)file path=platform/sun4v/kernel/drv/$(ARCH64)/cpc group=sys
67$(sparc_ONLY)file path=platform/sun4v/kernel/drv/cpc.conf group=sys \
68    reboot-needed=false
69$(i386_ONLY)hardlink path=platform/i86pc/kernel/sys/$(ARCH64)/cpc \
70    target=../../drv/$(ARCH64)/cpc
71$(i386_ONLY)hardlink path=platform/i86pc/kernel/sys/cpc target=../drv/cpc
72$(sparc_ONLY)hardlink path=platform/sun4u/kernel/sys/$(ARCH64)/cpc \
73    target=../../drv/$(ARCH64)/cpc
74$(sparc_ONLY)hardlink path=platform/sun4v/kernel/sys/$(ARCH64)/cpc \
75    target=../../drv/$(ARCH64)/cpc
76$(i386_ONLY)legacy pkg=SUNWcpc.i arch=$(ARCH).i86pc category=system \
77    desc="Kernel support for CPU Performance Counters" \
78    hotline="Please contact your local service provider" \
79    name="CPU Performance Counter driver" vendor="Sun Microsystems, Inc." \
80    version=11.11,REV=2009.11.11
81$(sparc_ONLY)legacy pkg=SUNWcpc.u arch=$(ARCH).sun4u category=system \
82    desc="Kernel support for CPU Performance Counters" \
83    hotline="Please contact your local service provider" \
84    name="CPU Performance Counter driver" vendor="Sun Microsystems, Inc." \
85    version=11.11,REV=2009.11.11
86$(sparc_ONLY)legacy pkg=SUNWcpc.v arch=$(ARCH).sun4v category=system \
87    desc="Kernel support for CPU Performance Counters" \
88    hotline="Please contact your local service provider" \
89    name="CPU Performance Counter driver" vendor="Sun Microsystems, Inc." \
90    version=11.11,REV=2009.11.11
91license cr_Sun license=cr_Sun
92license lic_CDDL license=lic_CDDL
93