mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00

Mini-OS is a tiny OS kernel distributed with the Xen Project Hypervisor sources. It is mainly used as operating system for stub domains that are used for Dom0 Disaggregation. The Mini-OS source tree is updated and released in coordination with Xen releases. The Mini-OS source tree and architecture-specific symbolic links are required for building the dependencies used to build Xen stubodmains. For convenience, the make links target was executed before packaging. Otherwise, this is a source package. The current build methods for Xen stubdomains require either a source archive which contains the Mini-OS source code or execution of a make target that will fetch the appropriate Mini-OS source tree from it's git repository. This recipe removes the mysticism of relating to the version of Mini-OS being used and it's origins and provides the flexibility to easily changes versions or patch as necessary. Signed-off-by: Kurt Bodiker <kurt.bodiker@braintrust-us.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
29 lines
637 B
PHP
29 lines
637 B
PHP
# Copyright (C) 2018 kebodiker <kurt.bodiker@braintrust-us.com>
|
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
|
|
|
require stubdom.inc
|
|
|
|
# clear this out to break dependency circle
|
|
DEPENDS = ""
|
|
|
|
do_configure() {
|
|
${MAKE} -C ${WORKDIR}/mini-os links
|
|
}
|
|
|
|
# Nothing to configure or compile
|
|
do_compile[noexec] = "1"
|
|
|
|
# needed because this directory isn't typically part of a sysroot
|
|
SYSROOT_DIRS += "${prefix}/mini-os"
|
|
RDEPENDS_${PN}-dev = "perl"
|
|
|
|
FILES_${PN}-dev = "\
|
|
${prefix} \
|
|
"
|
|
|
|
do_install() {
|
|
install -d ${D}${prefix}/mini-os
|
|
cp -r -t ${D}${prefix}/mini-os ${S}/*
|
|
rm -rf ${D}${prefix}/mini-os/scripts
|
|
}
|