blob: f0859e963f681b5ea56c193dd3c8eaec75518f76 (
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
29
30
|
require libffi_${PV}.bb
inherit native
EXTRA_OECONF = "--with-gnu-ld \
--enable-shared \
--enable-target-optspace \
--enable-languages=c,c++,f77 \
--enable-threads=posix \
--disable-multilib \
--enable-c99 \
--enable-long-long \
--enable-symvers=gnu \
--program-prefix=${TARGET_PREFIX} \
${EXTRA_OECONF_PATHS}"
ffi_include = "ffi.h ffitarget.h"
install_libffi_headers() {
:
}
do_stage () {
oe_libinstall -so -C .libs libffi ${STAGING_LIBDIR}
mkdir -p ${STAGING_INCDIR}/
for i in ${ffi_include}; do
install -m 0644 include/$i ${STAGING_INCDIR}/
done
}
|