summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xen/mini-os.inc
blob: 61c27041766a4603b9e2bee175a9ec5e3309f6db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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
}