diff options
Diffstat (limited to 'recipes-extended/xen/stubdom-gmp.inc')
-rw-r--r-- | recipes-extended/xen/stubdom-gmp.inc | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/recipes-extended/xen/stubdom-gmp.inc b/recipes-extended/xen/stubdom-gmp.inc deleted file mode 100644 index ef6473d4..00000000 --- a/recipes-extended/xen/stubdom-gmp.inc +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | # Copyright (C) 2017 Kurt Bodiker <kurt.bodiker@braintrust-us.com> | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | require stubdom.inc | ||
5 | |||
6 | DEPENDS += "\ | ||
7 | newlib \ | ||
8 | " | ||
9 | |||
10 | do_configure() { | ||
11 | # need to modify prefix here during configure otherwise OE-level variables | ||
12 | # (prefix, libdir, includedir, etc...) defined in stubdom.inc get messed up | ||
13 | CPPFLAGS="-isystem ${RECIPE_SYSROOT}/cross-root-${GNU_TARGET_ARCH}/${GNU_TARGET_ARCH}-xen-elf/include ${STUBDOM_CPPFLAGS}" \ | ||
14 | CFLAGS="${STUBDOM_CFLAGS}" \ | ||
15 | CC="${HOST_PREFIX}gcc --sysroot=${RECIPE_SYSROOT}" \ | ||
16 | ${S}/configure \ | ||
17 | --disable-shared \ | ||
18 | --enable-static \ | ||
19 | --disable-fft \ | ||
20 | --without-readline \ | ||
21 | --with-gnu-ld \ | ||
22 | --prefix=${prefix}/${GNU_TARGET_ARCH}-xen-elf \ | ||
23 | --libdir=${libdir} \ | ||
24 | --build=`${HOST_PREFIX}gcc -dumpmachine` \ | ||
25 | --host=${GNU_TARGET_ARCH}-xen-elf | ||
26 | |||
27 | sed -i 's/#define HAVE_OBSTACK_VPRINTF 1/\/\/#define HAVE_OBSTACK_VPRINTF 1/' ${S}/config.h | ||
28 | } | ||
29 | |||
30 | do_compile() { | ||
31 | ${MAKE} | ||
32 | } | ||
33 | |||
34 | do_install() { | ||
35 | ${MAKE} DESTDIR=${D} install | ||
36 | rm -rf ${D}${prefix}/${GNU_TARGET_ARCH}-xen-elf/share | ||
37 | } | ||