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 2009 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
25 #
26
27 ROOT_HVM_DIR = $(ROOT_PLAT_DIR)/i86hvm
28 ROOT_HVM_MOD_DIR = $(ROOT_HVM_DIR)/kernel
29 ROOT_HVM_DRV_DIR_32 = $(ROOT_HVM_MOD_DIR)/drv
30 ROOT_HVM_DRV_DIR_64 = $(ROOT_HVM_MOD_DIR)/drv/$(MACH64)
31 ROOT_HVM_DRV_DIR = $(ROOT_HVM_DRV_DIR_$(CLASS))
32 ROOT_HVM_MISC_DIR_32 = $(ROOT_HVM_MOD_DIR)/misc
33 ROOT_HVM_MISC_DIR_64 = $(ROOT_HVM_MOD_DIR)/misc/$(MACH64)
34 ROOT_HVM_MISC_DIR = $(ROOT_HVM_MISC_DIR_$(CLASS))
35 USR_HVM_DIR = $(USR_PLAT_DIR)/i86hvm
36
37 HVM_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/i86hvm/lint-libs/$(OBJS_DIR)
38
39 #
40 # Define modules.
41 #
42 HVM_DRV_KMODS= cmdk rtls xdf xnf xpv xpvd
43 HVM_MISC_KMODS= hvm_bootstrap
44 HVM_KMODS= $(HVM_DRV_KMODS) $(HVM_MISC_KMODS)
45
46 include $(UTSBASE)/i86pc/i86hvm/Makefile.files
47 #
48 # Include common rules.
49 #
50 include $(UTSBASE)/i86pc/Makefile.i86pc
51
52 LINTS_DIR = $(OBJS_DIR)
53 LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/lint-libs/$(OBJS_DIR)
54
55 #
56 # Indicate that we are building for the i86hvm semi-platform.
57 # Also use Solaris specific code in xen public header files.
58 #
59 CPPFLAGS += -DXPV_HVM_DRIVER -D_SOLARIS
60 ASFLAGS += -DXPV_HVM_DRIVER
|
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 2009 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
25 #
26 # Copyright (c) 2018, Joyent, Inc.
27
28 ROOT_HVM_DIR = $(ROOT_PLAT_DIR)/i86hvm
29 ROOT_HVM_MOD_DIR = $(ROOT_HVM_DIR)/kernel
30 ROOT_HVM_DRV_DIR_32 = $(ROOT_HVM_MOD_DIR)/drv
31 ROOT_HVM_DRV_DIR_64 = $(ROOT_HVM_MOD_DIR)/drv/$(MACH64)
32 ROOT_HVM_DRV_DIR = $(ROOT_HVM_DRV_DIR_$(CLASS))
33 ROOT_HVM_MISC_DIR_32 = $(ROOT_HVM_MOD_DIR)/misc
34 ROOT_HVM_MISC_DIR_64 = $(ROOT_HVM_MOD_DIR)/misc/$(MACH64)
35 ROOT_HVM_MISC_DIR = $(ROOT_HVM_MISC_DIR_$(CLASS))
36 USR_HVM_DIR = $(USR_PLAT_DIR)/i86hvm
37
38 HVM_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/i86hvm/lint-libs/$(OBJS_DIR)
39
40 #
41 # Define modules.
42 #
43 HVM_DRV_KMODS= cmdk rtls xdf xnf xpv xpvd
44 HVM_MISC_KMODS= hvm_bootstrap
45 HVM_KMODS= $(HVM_DRV_KMODS) $(HVM_MISC_KMODS)
46
47 include $(UTSBASE)/i86pc/i86hvm/Makefile.files
48 #
49 # Include common rules.
50 #
51 include $(UTSBASE)/i86pc/Makefile.i86pc
52
53 LINTS_DIR = $(OBJS_DIR)
54 LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/lint-libs/$(OBJS_DIR)
55
56 #
57 # Indicate that we are building for the i86hvm semi-platform.
58 # Also use Solaris specific code in xen public header files.
59 #
60 CPPFLAGS += -DXPV_HVM_DRIVER -D_SOLARIS
61 ASFLAGS += -DXPV_HVM_DRIVER
62
63 # needs work
64 SMATCH=off
|