2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2011, Andrzej Szeszo
14 # Copyright 2011, Alasdair Lumsden <alasdairrr@gmail.com>
15 # Copyright 2012, Piotr Jasiukajtis
16 # Copyright 2012, Jon Tibble
17 # Copyright 2018, Michal Nowak
20 BUILD_STYLE
= justmake
22 include ..
/..
/..
/make-rules
/shared-macros.mk
24 COMPONENT_NAME
= illumos-kvm
25 COMPONENT_VERSION
= a82c4d2a9555461ee43e3fd3b6bbff10e6f5458a
26 IPS_COMPONENT_VERSION
= 0.0.1.20220127
27 COMPONENT_SRC
= illumos-kvm-
$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).zip
29 COMPONENT_ARCHIVE_HASH
= sha256
:e1875c8b284683e4470554f7b3be6262e6178143d58827bb2367669a03872721
30 COMPONENT_ARCHIVE_URL
= https
://github.com
/joyent
/illumos-kvm
/archive
/$(COMPONENT_VERSION
).zip
36 # Use the same gcc version as we use for building illumos-gate
39 include $(WS_TOP
)/make-rules
/common.mk
41 COMPONENT_PRE_CONFIGURE_ACTION
= \
42 $(CLONEY
) $(SOURCE_DIR
) $(@D
)
44 COMPONENT_BUILD_ARGS
+= KERNEL_SOURCE
=$(WS_TOP
)/components
/openindiana
/illumos-gate
/illumos-gate
/
45 COMPONENT_BUILD_ARGS
+= PROTO_AREA
=$(WS_TOP
)/components
/openindiana
/illumos-gate
/illumos-gate
/proto
/root_i386
46 COMPONENT_BUILD_ARGS
+= CC
=$(CC
)
47 COMPONENT_BUILD_ARGS
+= CTFBINDIR
=/opt
/onbld
/bin
/i386
49 COMPONENT_INSTALL_ARGS
+= DESTDIR
=$(PROTO_DIR
)
51 COMPONENT_TEST_ARGS
+= KERNEL_SOURCE
=$(WS_TOP
)/components
/openindiana
/illumos-gate
/illumos-gate
/
54 @echo
"Not available."
56 $(BUILD_32
):: $(WS_TOP
)/components
/openindiana
/illumos-gate
/build
/i386
/.built
58 $(WS_TOP
)/components
/openindiana
/illumos-gate
/build
/i386
/.built
:
59 $(GMAKE
) -C
$(WS_TOP
)/components
/openindiana
/illumos-gate build
62 build_i386
: $(BUILD_32
)
67 @echo
"Not available."
69 install_i386
: $(INSTALL_32
)
71 install: install_
$(MACH
)
73 # Auto-generated dependencies
74 REQUIRED_PACKAGES
+= system
/library