blob: 61c27041766a4603b9e2bee175a9ec5e3309f6db [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001# Copyright (C) 2018 kebodiker <kurt.bodiker@braintrust-us.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4require stubdom.inc
5
6# clear this out to break dependency circle
7DEPENDS = ""
8
9do_configure() {
10 ${MAKE} -C ${WORKDIR}/mini-os links
11}
12
13# Nothing to configure or compile
14do_compile[noexec] = "1"
15
16# needed because this directory isn't typically part of a sysroot
17SYSROOT_DIRS += "${prefix}/mini-os"
18RDEPENDS_${PN}-dev = "perl"
19
20FILES_${PN}-dev = "\
21 ${prefix} \
22"
23
24do_install() {
25 install -d ${D}${prefix}/mini-os
26 cp -r -t ${D}${prefix}/mini-os ${S}/*
27 rm -rf ${D}${prefix}/mini-os/scripts
28}