diff options
author | Kurt Bodiker <kurt.bodiker@braintrust-us.com> | 2018-05-01 10:05:28 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-05-01 23:17:29 -0400 |
commit | 9f3e354bc360ee070777ce5245a12f5aaa669934 (patch) | |
tree | 133d0d37d9c74f9bdedc8b5a323ab8a4228c9abf /recipes-extended/xen/lwip.inc | |
parent | af55d880668a32e7f2415d72f4f4f0b4bd7bbefb (diff) | |
download | meta-virtualization-9f3e354bc360ee070777ce5245a12f5aaa669934.tar.gz |
xen: LWIP source code with patches applied for stubdoms
lwIP is a small implementation of the TCP/IP stack designed for use in
embedded systems. This lwIP recipe does not configure nor does it build
the product. Instead, this recipe applies the patches normally found in
the Xen/stubdom source tree and creates a source package that can be
used for cross-compiling for MiniOS.
The current Xen source code is hardcoded to fetch a specific version of
this package. The patch files originate from the Xen/stubdom source
tree. This recipe provides the flexibility to change version or modify
the patches.
Signed-off-by: Kurt Bodiker <kurt.bodiker@braintrust-us.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended/xen/lwip.inc')
-rw-r--r-- | recipes-extended/xen/lwip.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-extended/xen/lwip.inc b/recipes-extended/xen/lwip.inc new file mode 100644 index 00000000..e0836332 --- /dev/null +++ b/recipes-extended/xen/lwip.inc | |||
@@ -0,0 +1,24 @@ | |||
1 | # Copyright (C) 2018 kebodiker <kurt.bodiker@braintrust-us.com> | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | require stubdom.inc | ||
5 | |||
6 | # clear this out to break dependency circle | ||
7 | DEPENDS = "" | ||
8 | |||
9 | # Nothing to configure or compile | ||
10 | # For stubdoms, lwip is basically a source package with a couple of patches applied. | ||
11 | do_configure[noexec] = "1" | ||
12 | do_compile[noexec] = "1" | ||
13 | |||
14 | # needed because this directory isn't typically part of a sysroot | ||
15 | SYSROOT_DIRS += "${prefix}/lwip" | ||
16 | |||
17 | FILES_${PN} = "\ | ||
18 | ${prefix} \ | ||
19 | " | ||
20 | |||
21 | do_install() { | ||
22 | install -d ${D}${prefix}/lwip | ||
23 | cp -r -t ${D}${prefix}/lwip ${S}/src/* | ||
24 | } | ||