diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-01-06 14:42:48 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-03-02 14:47:23 -0500 |
commit | fe4106ca0d81fb0dd30c82a2c4a45c38f9694ad6 (patch) | |
tree | 1554ed17cc6dd03d6e0e517acbbf3785f1d8db44 | |
parent | 0762fdd1f57e68374454cc43e7047bd99063e683 (diff) | |
download | meta-openembedded-fe4106ca0d81fb0dd30c82a2c4a45c38f9694ad6.tar.gz |
waf-samba.bbclass: add cross-answers option and files
--cross-execute uses qemu to run cross-compiled binaries,
it works fine for qemu supported targets, but it definitely
will fail if the target is not supported by qemu. So we need
to use the cross-answers option.
Added three methods and set 'answer' as default:
1. answers:
Only --cross-answers - try the cross-answers file, and if
there's no corresponding answer, add to the file and mark
the configure process as unfinished.
2. exec:
Only --cross-execute - get the answer from cross-execute,
an emulator (qemu) is used to run cross-compiled binaries.
3. both:
Try the cross-answers file first, and if there is no
corresponding answer, use cross-execute to get an answer,
and add that answer to the file.
The cross files in are all generated by qemu when the 'both'
mode is enabled, and are placed in a common directory
LAYERDIR/files/waf-cross-answers which is set as
WAF_CROSS_ANSWERS_PATH in layer.conf of meta-oe,
so that we don't have to put copies of them for each
package (there are 5 packages inerit waf-samba for now)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | meta-oe/classes/waf-samba.bbclass | 43 | ||||
-rw-r--r-- | meta-oe/conf/layer.conf | 1 | ||||
-rw-r--r-- | meta-oe/files/waf-cross-answers/README | 3 | ||||
-rw-r--r-- | meta-oe/files/waf-cross-answers/cross-answers-aarch64.txt | 38 | ||||
-rw-r--r-- | meta-oe/files/waf-cross-answers/cross-answers-arm.txt | 39 | ||||
-rw-r--r-- | meta-oe/files/waf-cross-answers/cross-answers-i586.txt | 39 | ||||
-rw-r--r-- | meta-oe/files/waf-cross-answers/cross-answers-i686.txt | 39 | ||||
-rw-r--r-- | meta-oe/files/waf-cross-answers/cross-answers-mips.txt | 39 | ||||
-rw-r--r-- | meta-oe/files/waf-cross-answers/cross-answers-mips64.txt | 38 | ||||
-rw-r--r-- | meta-oe/files/waf-cross-answers/cross-answers-powerpc.txt | 39 | ||||
-rw-r--r-- | meta-oe/files/waf-cross-answers/cross-answers-powerpc64.txt | 39 | ||||
-rw-r--r-- | meta-oe/files/waf-cross-answers/cross-answers-x86_64.txt | 38 |
12 files changed, 394 insertions, 1 deletions
diff --git a/meta-oe/classes/waf-samba.bbclass b/meta-oe/classes/waf-samba.bbclass index a8b3b9529..45fbcc342 100644 --- a/meta-oe/classes/waf-samba.bbclass +++ b/meta-oe/classes/waf-samba.bbclass | |||
@@ -20,7 +20,38 @@ CONFIGUREOPTS = " --prefix=${prefix} \ | |||
20 | --mandir=${mandir} \ | 20 | --mandir=${mandir} \ |
21 | " | 21 | " |
22 | 22 | ||
23 | # Three methods for waf cross compile: | ||
24 | # 1. answers: | ||
25 | # Only --cross-answers - try the cross-answers file, and if | ||
26 | # there's no corresponding answer, add to the file and mark | ||
27 | # the configure process as unfinished. | ||
28 | # 2. exec: | ||
29 | # Only --cross-execute - get the answer from cross-execute, | ||
30 | # an emulator (qemu) is used to run cross-compiled binaries. | ||
31 | # 3. both: | ||
32 | # (notes: not supported in lower version of some packages, | ||
33 | # please check buildtools/wafsamba/samba_cross.py in the | ||
34 | # package source) | ||
35 | # Try the cross-answers file first, and if there is no | ||
36 | # corresponding answer, use cross-execute to get an answer, | ||
37 | # and add that answer to the file. | ||
38 | # | ||
39 | # The first one is preferred since it may fail with 2 or 3 if | ||
40 | # the target board is not suported by qemu, but we can use 2 or 3 | ||
41 | # to help generate the cross answer when adding new board support. | ||
42 | CROSS_METHOD ?= "answer" | ||
43 | |||
23 | do_configure() { | 44 | do_configure() { |
45 | |||
46 | # Prepare the cross-answers file | ||
47 | CROSS_ANSWERS="${B}/cross-answers-${TARGET_ARCH}.txt" | ||
48 | if [ -e ${CROSS_ANSWERS} ]; then | ||
49 | rm -f ${CROSS_ANSWERS} | ||
50 | fi | ||
51 | echo 'Checking uname machine type: "${TARGET_ARCH}"' >> ${CROSS_ANSWERS} | ||
52 | echo 'Checking uname release type: "${OLDEST_KERNEL}"' >> ${CROSS_ANSWERS} | ||
53 | cat ${WAF_CROSS_ANSWERS_PATH}/cross-answers-${TARGET_ARCH}.txt >> ${CROSS_ANSWERS} | ||
54 | |||
24 | qemu_binary="${@qemu_target_binary(d)}" | 55 | qemu_binary="${@qemu_target_binary(d)}" |
25 | if [ "${qemu_binary}" = "qemu-allarch" ]; then | 56 | if [ "${qemu_binary}" = "qemu-allarch" ]; then |
26 | qemu_binary="qemuwrapper" | 57 | qemu_binary="qemuwrapper" |
@@ -42,7 +73,17 @@ do_configure() { | |||
42 | export STAGING_INCDIR=${STAGING_INCDIR} | 73 | export STAGING_INCDIR=${STAGING_INCDIR} |
43 | export PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} | 74 | export PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} |
44 | 75 | ||
45 | ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} --cross-compile --cross-execute="${CROSS_EXEC}" | 76 | CONFIG_CMD="./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} --cross-compile" |
77 | if [ "${CROSS_METHOD}" = "answer" ]; then | ||
78 | ${CONFIG_CMD} --cross-answers="${CROSS_ANSWERS}" | ||
79 | elif [ "${CROSS_METHOD}" = "exec" ]; then | ||
80 | ${CONFIG_CMD} --cross-exec="${CROSS_EXEC}" | ||
81 | elif [ "${CROSS_METHOD}" = "both" ]; then | ||
82 | ${CONFIG_CMD} --cross-answers="${CROSS_ANSWERS}" --cross-exec="${CROSS_EXEC}" | ||
83 | else | ||
84 | echo "ERROR: ${CROSS_METHOD} is not valid for cross-compile!" | ||
85 | exit 1 | ||
86 | fi | ||
46 | } | 87 | } |
47 | 88 | ||
48 | do_compile () { | 89 | do_compile () { |
diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf index 318213844..723796459 100644 --- a/meta-oe/conf/layer.conf +++ b/meta-oe/conf/layer.conf | |||
@@ -30,6 +30,7 @@ LAYERVERSION_openembedded-layer = "1" | |||
30 | LAYERDEPENDS_openembedded-layer = "core" | 30 | LAYERDEPENDS_openembedded-layer = "core" |
31 | 31 | ||
32 | LICENSE_PATH += "${LAYERDIR}/licenses" | 32 | LICENSE_PATH += "${LAYERDIR}/licenses" |
33 | WAF_CROSS_ANSWERS_PATH = "${LAYERDIR}/files/waf-cross-answers" | ||
33 | 34 | ||
34 | SIGGEN_EXCLUDERECIPES_ABISAFE += " \ | 35 | SIGGEN_EXCLUDERECIPES_ABISAFE += " \ |
35 | mplayer-common \ | 36 | mplayer-common \ |
diff --git a/meta-oe/files/waf-cross-answers/README b/meta-oe/files/waf-cross-answers/README new file mode 100644 index 000000000..0c2334436 --- /dev/null +++ b/meta-oe/files/waf-cross-answers/README | |||
@@ -0,0 +1,3 @@ | |||
1 | The files in this directory are cross answers files | ||
2 | used by waf-samba.bbaclss, please see waf-samba.bbaclss | ||
3 | for details about how they are used. | ||
diff --git a/meta-oe/files/waf-cross-answers/cross-answers-aarch64.txt b/meta-oe/files/waf-cross-answers/cross-answers-aarch64.txt new file mode 100644 index 000000000..bbf7f1620 --- /dev/null +++ b/meta-oe/files/waf-cross-answers/cross-answers-aarch64.txt | |||
@@ -0,0 +1,38 @@ | |||
1 | Checking uname sysname type: "Linux" | ||
2 | Checking uname version type: "# Wed May 20 10:34:39 UTC 2015" | ||
3 | Checking simple C program: "hello world" | ||
4 | rpath library support: OK | ||
5 | -Wl,--version-script support: OK | ||
6 | Checking getconf LFS_CFLAGS: NO | ||
7 | Checking correct behavior of strtoll: NO | ||
8 | Checking for working strptime: OK | ||
9 | Checking for C99 vsnprintf: "1" | ||
10 | Checking for HAVE_SHARED_MMAP: OK | ||
11 | Checking for HAVE_MREMAP: OK | ||
12 | Checking for HAVE_SECURE_MKSTEMP: OK | ||
13 | Checking for HAVE_IFACE_GETIFADDRS: NO | ||
14 | Checking for HAVE_IFACE_IFCONF: NO | ||
15 | Checking for HAVE_IFACE_IFREQ: NO | ||
16 | Checking for large file support without additional flags: OK | ||
17 | Checking for HAVE_INCOHERENT_MMAP: NO | ||
18 | Checking value of NSIG: "65" | ||
19 | Checking value of _NSIG: "65" | ||
20 | Checking value of SIGRTMAX: "64" | ||
21 | Checking value of SIGRTMIN: "34" | ||
22 | Checking whether the WRFILE -keytab is supported: OK | ||
23 | Checking for kernel change notify support: OK | ||
24 | Checking for Linux kernel oplocks: OK | ||
25 | Checking for kernel share modes: OK | ||
26 | Checking whether POSIX capabilities are available: OK | ||
27 | Checking if can we convert from CP850 to UCS-2LE: OK | ||
28 | Checking if can we convert from UTF-8 to UCS-2LE: OK | ||
29 | vfs_fileid checking for statfs() and struct statfs.f_fsid: OK | ||
30 | Checking whether we can use Linux thread-specific credentials: OK | ||
31 | Checking whether fcntl locking is available: OK | ||
32 | Checking for the maximum value of the 'time_t' type: OK | ||
33 | Checking whether the realpath function allows a NULL argument: OK | ||
34 | Checking for ftruncate extend: OK | ||
35 | getcwd takes a NULL argument: OK | ||
36 | Checking for small off_t: NO | ||
37 | Checking whether blkcnt_t is 32 bit: NO | ||
38 | Checking whether blkcnt_t is 64 bit: OK | ||
diff --git a/meta-oe/files/waf-cross-answers/cross-answers-arm.txt b/meta-oe/files/waf-cross-answers/cross-answers-arm.txt new file mode 100644 index 000000000..e926fcd3c --- /dev/null +++ b/meta-oe/files/waf-cross-answers/cross-answers-arm.txt | |||
@@ -0,0 +1,39 @@ | |||
1 | Checking uname sysname type: "Linux" | ||
2 | Checking uname version type: "# Wed May 20 10:34:39 UTC 2015" | ||
3 | Checking simple C program: "hello world" | ||
4 | rpath library support: OK | ||
5 | -Wl,--version-script support: OK | ||
6 | Checking getconf LFS_CFLAGS: NO | ||
7 | Checking correct behavior of strtoll: NO | ||
8 | Checking for working strptime: OK | ||
9 | Checking for C99 vsnprintf: "1" | ||
10 | Checking for HAVE_SHARED_MMAP: OK | ||
11 | Checking for HAVE_MREMAP: OK | ||
12 | Checking for HAVE_SECURE_MKSTEMP: OK | ||
13 | Checking for HAVE_IFACE_GETIFADDRS: NO | ||
14 | Checking for HAVE_IFACE_IFCONF: NO | ||
15 | Checking for HAVE_IFACE_IFREQ: NO | ||
16 | Checking for large file support without additional flags: NO | ||
17 | Checking for -D_FILE_OFFSET_BITS=64: OK | ||
18 | Checking for HAVE_INCOHERENT_MMAP: NO | ||
19 | Checking value of NSIG: "65" | ||
20 | Checking value of _NSIG: "65" | ||
21 | Checking value of SIGRTMAX: "64" | ||
22 | Checking value of SIGRTMIN: "34" | ||
23 | Checking whether the WRFILE -keytab is supported: OK | ||
24 | Checking for kernel change notify support: OK | ||
25 | Checking for Linux kernel oplocks: OK | ||
26 | Checking for kernel share modes: OK | ||
27 | Checking whether POSIX capabilities are available: OK | ||
28 | Checking if can we convert from CP850 to UCS-2LE: OK | ||
29 | Checking if can we convert from UTF-8 to UCS-2LE: OK | ||
30 | vfs_fileid checking for statfs() and struct statfs.f_fsid: OK | ||
31 | Checking whether we can use Linux thread-specific credentials with 32-bit system calls: OK | ||
32 | Checking whether fcntl locking is available: OK | ||
33 | Checking for the maximum value of the 'time_t' type: NO | ||
34 | Checking whether the realpath function allows a NULL argument: OK | ||
35 | Checking for ftruncate extend: OK | ||
36 | getcwd takes a NULL argument: OK | ||
37 | Checking for small off_t: NO | ||
38 | Checking whether blkcnt_t is 32 bit: NO | ||
39 | Checking whether blkcnt_t is 64 bit: OK | ||
diff --git a/meta-oe/files/waf-cross-answers/cross-answers-i586.txt b/meta-oe/files/waf-cross-answers/cross-answers-i586.txt new file mode 100644 index 000000000..e926fcd3c --- /dev/null +++ b/meta-oe/files/waf-cross-answers/cross-answers-i586.txt | |||
@@ -0,0 +1,39 @@ | |||
1 | Checking uname sysname type: "Linux" | ||
2 | Checking uname version type: "# Wed May 20 10:34:39 UTC 2015" | ||
3 | Checking simple C program: "hello world" | ||
4 | rpath library support: OK | ||
5 | -Wl,--version-script support: OK | ||
6 | Checking getconf LFS_CFLAGS: NO | ||
7 | Checking correct behavior of strtoll: NO | ||
8 | Checking for working strptime: OK | ||
9 | Checking for C99 vsnprintf: "1" | ||
10 | Checking for HAVE_SHARED_MMAP: OK | ||
11 | Checking for HAVE_MREMAP: OK | ||
12 | Checking for HAVE_SECURE_MKSTEMP: OK | ||
13 | Checking for HAVE_IFACE_GETIFADDRS: NO | ||
14 | Checking for HAVE_IFACE_IFCONF: NO | ||
15 | Checking for HAVE_IFACE_IFREQ: NO | ||
16 | Checking for large file support without additional flags: NO | ||
17 | Checking for -D_FILE_OFFSET_BITS=64: OK | ||
18 | Checking for HAVE_INCOHERENT_MMAP: NO | ||
19 | Checking value of NSIG: "65" | ||
20 | Checking value of _NSIG: "65" | ||
21 | Checking value of SIGRTMAX: "64" | ||
22 | Checking value of SIGRTMIN: "34" | ||
23 | Checking whether the WRFILE -keytab is supported: OK | ||
24 | Checking for kernel change notify support: OK | ||
25 | Checking for Linux kernel oplocks: OK | ||
26 | Checking for kernel share modes: OK | ||
27 | Checking whether POSIX capabilities are available: OK | ||
28 | Checking if can we convert from CP850 to UCS-2LE: OK | ||
29 | Checking if can we convert from UTF-8 to UCS-2LE: OK | ||
30 | vfs_fileid checking for statfs() and struct statfs.f_fsid: OK | ||
31 | Checking whether we can use Linux thread-specific credentials with 32-bit system calls: OK | ||
32 | Checking whether fcntl locking is available: OK | ||
33 | Checking for the maximum value of the 'time_t' type: NO | ||
34 | Checking whether the realpath function allows a NULL argument: OK | ||
35 | Checking for ftruncate extend: OK | ||
36 | getcwd takes a NULL argument: OK | ||
37 | Checking for small off_t: NO | ||
38 | Checking whether blkcnt_t is 32 bit: NO | ||
39 | Checking whether blkcnt_t is 64 bit: OK | ||
diff --git a/meta-oe/files/waf-cross-answers/cross-answers-i686.txt b/meta-oe/files/waf-cross-answers/cross-answers-i686.txt new file mode 100644 index 000000000..e926fcd3c --- /dev/null +++ b/meta-oe/files/waf-cross-answers/cross-answers-i686.txt | |||
@@ -0,0 +1,39 @@ | |||
1 | Checking uname sysname type: "Linux" | ||
2 | Checking uname version type: "# Wed May 20 10:34:39 UTC 2015" | ||
3 | Checking simple C program: "hello world" | ||
4 | rpath library support: OK | ||
5 | -Wl,--version-script support: OK | ||
6 | Checking getconf LFS_CFLAGS: NO | ||
7 | Checking correct behavior of strtoll: NO | ||
8 | Checking for working strptime: OK | ||
9 | Checking for C99 vsnprintf: "1" | ||
10 | Checking for HAVE_SHARED_MMAP: OK | ||
11 | Checking for HAVE_MREMAP: OK | ||
12 | Checking for HAVE_SECURE_MKSTEMP: OK | ||
13 | Checking for HAVE_IFACE_GETIFADDRS: NO | ||
14 | Checking for HAVE_IFACE_IFCONF: NO | ||
15 | Checking for HAVE_IFACE_IFREQ: NO | ||
16 | Checking for large file support without additional flags: NO | ||
17 | Checking for -D_FILE_OFFSET_BITS=64: OK | ||
18 | Checking for HAVE_INCOHERENT_MMAP: NO | ||
19 | Checking value of NSIG: "65" | ||
20 | Checking value of _NSIG: "65" | ||
21 | Checking value of SIGRTMAX: "64" | ||
22 | Checking value of SIGRTMIN: "34" | ||
23 | Checking whether the WRFILE -keytab is supported: OK | ||
24 | Checking for kernel change notify support: OK | ||
25 | Checking for Linux kernel oplocks: OK | ||
26 | Checking for kernel share modes: OK | ||
27 | Checking whether POSIX capabilities are available: OK | ||
28 | Checking if can we convert from CP850 to UCS-2LE: OK | ||
29 | Checking if can we convert from UTF-8 to UCS-2LE: OK | ||
30 | vfs_fileid checking for statfs() and struct statfs.f_fsid: OK | ||
31 | Checking whether we can use Linux thread-specific credentials with 32-bit system calls: OK | ||
32 | Checking whether fcntl locking is available: OK | ||
33 | Checking for the maximum value of the 'time_t' type: NO | ||
34 | Checking whether the realpath function allows a NULL argument: OK | ||
35 | Checking for ftruncate extend: OK | ||
36 | getcwd takes a NULL argument: OK | ||
37 | Checking for small off_t: NO | ||
38 | Checking whether blkcnt_t is 32 bit: NO | ||
39 | Checking whether blkcnt_t is 64 bit: OK | ||
diff --git a/meta-oe/files/waf-cross-answers/cross-answers-mips.txt b/meta-oe/files/waf-cross-answers/cross-answers-mips.txt new file mode 100644 index 000000000..18bfa0203 --- /dev/null +++ b/meta-oe/files/waf-cross-answers/cross-answers-mips.txt | |||
@@ -0,0 +1,39 @@ | |||
1 | Checking uname sysname type: "Linux" | ||
2 | Checking uname version type: "# Wed May 20 10:34:39 UTC 2015" | ||
3 | Checking simple C program: "hello world" | ||
4 | rpath library support: OK | ||
5 | -Wl,--version-script support: OK | ||
6 | Checking getconf LFS_CFLAGS: NO | ||
7 | Checking correct behavior of strtoll: NO | ||
8 | Checking for working strptime: OK | ||
9 | Checking for C99 vsnprintf: "1" | ||
10 | Checking for HAVE_SHARED_MMAP: OK | ||
11 | Checking for HAVE_MREMAP: OK | ||
12 | Checking for HAVE_SECURE_MKSTEMP: OK | ||
13 | Checking for HAVE_IFACE_GETIFADDRS: NO | ||
14 | Checking for HAVE_IFACE_IFCONF: NO | ||
15 | Checking for HAVE_IFACE_IFREQ: NO | ||
16 | Checking for large file support without additional flags: NO | ||
17 | Checking for -D_FILE_OFFSET_BITS=64: OK | ||
18 | Checking for HAVE_INCOHERENT_MMAP: NO | ||
19 | Checking value of NSIG: "128" | ||
20 | Checking value of _NSIG: "128" | ||
21 | Checking value of SIGRTMAX: "127" | ||
22 | Checking value of SIGRTMIN: "34" | ||
23 | Checking whether the WRFILE -keytab is supported: OK | ||
24 | Checking for kernel change notify support: OK | ||
25 | Checking for Linux kernel oplocks: OK | ||
26 | Checking for kernel share modes: OK | ||
27 | Checking whether POSIX capabilities are available: OK | ||
28 | Checking if can we convert from CP850 to UCS-2LE: OK | ||
29 | Checking if can we convert from UTF-8 to UCS-2LE: OK | ||
30 | vfs_fileid checking for statfs() and struct statfs.f_fsid: OK | ||
31 | Checking whether we can use Linux thread-specific credentials: OK | ||
32 | Checking whether fcntl locking is available: OK | ||
33 | Checking for the maximum value of the 'time_t' type: NO | ||
34 | Checking whether the realpath function allows a NULL argument: OK | ||
35 | Checking for ftruncate extend: OK | ||
36 | getcwd takes a NULL argument: OK | ||
37 | Checking for small off_t: NO | ||
38 | Checking whether blkcnt_t is 32 bit: NO | ||
39 | Checking whether blkcnt_t is 64 bit: OK | ||
diff --git a/meta-oe/files/waf-cross-answers/cross-answers-mips64.txt b/meta-oe/files/waf-cross-answers/cross-answers-mips64.txt new file mode 100644 index 000000000..8fa015ab9 --- /dev/null +++ b/meta-oe/files/waf-cross-answers/cross-answers-mips64.txt | |||
@@ -0,0 +1,38 @@ | |||
1 | Checking uname sysname type: "Linux" | ||
2 | Checking uname version type: "# Wed May 20 10:34:39 UTC 2015" | ||
3 | Checking simple C program: "hello world" | ||
4 | rpath library support: OK | ||
5 | -Wl,--version-script support: OK | ||
6 | Checking getconf LFS_CFLAGS: NO | ||
7 | Checking correct behavior of strtoll: NO | ||
8 | Checking for working strptime: OK | ||
9 | Checking for C99 vsnprintf: "1" | ||
10 | Checking for HAVE_SHARED_MMAP: OK | ||
11 | Checking for HAVE_MREMAP: OK | ||
12 | Checking for HAVE_SECURE_MKSTEMP: OK | ||
13 | Checking for HAVE_IFACE_GETIFADDRS: NO | ||
14 | Checking for HAVE_IFACE_IFCONF: NO | ||
15 | Checking for HAVE_IFACE_IFREQ: NO | ||
16 | Checking for large file support without additional flags: OK | ||
17 | Checking for HAVE_INCOHERENT_MMAP: OK | ||
18 | Checking value of NSIG: "128" | ||
19 | Checking value of _NSIG: "128" | ||
20 | Checking value of SIGRTMAX: "127" | ||
21 | Checking value of SIGRTMIN: "34" | ||
22 | Checking whether the WRFILE -keytab is supported: OK | ||
23 | Checking for kernel change notify support: OK | ||
24 | Checking for Linux kernel oplocks: OK | ||
25 | Checking for kernel share modes: OK | ||
26 | Checking whether POSIX capabilities are available: OK | ||
27 | Checking if can we convert from CP850 to UCS-2LE: OK | ||
28 | Checking if can we convert from UTF-8 to UCS-2LE: OK | ||
29 | vfs_fileid checking for statfs() and struct statfs.f_fsid: OK | ||
30 | Checking whether we can use Linux thread-specific credentials: OK | ||
31 | Checking whether fcntl locking is available: OK | ||
32 | Checking for the maximum value of the 'time_t' type: OK | ||
33 | Checking whether the realpath function allows a NULL argument: OK | ||
34 | Checking for ftruncate extend: OK | ||
35 | getcwd takes a NULL argument: OK | ||
36 | Checking for small off_t: NO | ||
37 | Checking whether blkcnt_t is 32 bit: NO | ||
38 | Checking whether blkcnt_t is 64 bit: OK | ||
diff --git a/meta-oe/files/waf-cross-answers/cross-answers-powerpc.txt b/meta-oe/files/waf-cross-answers/cross-answers-powerpc.txt new file mode 100644 index 000000000..fb93b56fc --- /dev/null +++ b/meta-oe/files/waf-cross-answers/cross-answers-powerpc.txt | |||
@@ -0,0 +1,39 @@ | |||
1 | Checking uname sysname type: "Linux" | ||
2 | Checking uname version type: "# Wed May 20 10:34:39 UTC 2015" | ||
3 | Checking simple C program: "hello world" | ||
4 | rpath library support: OK | ||
5 | -Wl,--version-script support: OK | ||
6 | Checking getconf LFS_CFLAGS: NO | ||
7 | Checking correct behavior of strtoll: NO | ||
8 | Checking for working strptime: OK | ||
9 | Checking for C99 vsnprintf: "1" | ||
10 | Checking for HAVE_SHARED_MMAP: OK | ||
11 | Checking for HAVE_MREMAP: OK | ||
12 | Checking for HAVE_SECURE_MKSTEMP: OK | ||
13 | Checking for HAVE_IFACE_GETIFADDRS: NO | ||
14 | Checking for HAVE_IFACE_IFCONF: NO | ||
15 | Checking for HAVE_IFACE_IFREQ: NO | ||
16 | Checking for large file support without additional flags: NO | ||
17 | Checking for -D_FILE_OFFSET_BITS=64: OK | ||
18 | Checking for HAVE_INCOHERENT_MMAP: NO | ||
19 | Checking value of NSIG: "65" | ||
20 | Checking value of _NSIG: "65" | ||
21 | Checking value of SIGRTMAX: "64" | ||
22 | Checking value of SIGRTMIN: "34" | ||
23 | Checking whether the WRFILE -keytab is supported: OK | ||
24 | Checking for kernel change notify support: OK | ||
25 | Checking for Linux kernel oplocks: OK | ||
26 | Checking for kernel share modes: OK | ||
27 | Checking whether POSIX capabilities are available: OK | ||
28 | Checking if can we convert from CP850 to UCS-2LE: OK | ||
29 | Checking if can we convert from UTF-8 to UCS-2LE: OK | ||
30 | vfs_fileid checking for statfs() and struct statfs.f_fsid: OK | ||
31 | Checking whether we can use Linux thread-specific credentials: OK | ||
32 | Checking whether fcntl locking is available: OK | ||
33 | Checking for the maximum value of the 'time_t' type: NO | ||
34 | Checking whether the realpath function allows a NULL argument: OK | ||
35 | Checking for ftruncate extend: OK | ||
36 | getcwd takes a NULL argument: OK | ||
37 | Checking for small off_t: NO | ||
38 | Checking whether blkcnt_t is 32 bit: NO | ||
39 | Checking whether blkcnt_t is 64 bit: OK | ||
diff --git a/meta-oe/files/waf-cross-answers/cross-answers-powerpc64.txt b/meta-oe/files/waf-cross-answers/cross-answers-powerpc64.txt new file mode 100644 index 000000000..fd585f0d5 --- /dev/null +++ b/meta-oe/files/waf-cross-answers/cross-answers-powerpc64.txt | |||
@@ -0,0 +1,39 @@ | |||
1 | Checking uname sysname type: "Linux" | ||
2 | Checking uname version type: "# Wed May 20 10:34:39 UTC 2015" | ||
3 | Checking simple C program: "hello world" | ||
4 | rpath library support: OK | ||
5 | -Wl,--version-script support: OK | ||
6 | Checking getconf LFS_CFLAGS: NO | ||
7 | Checking correct behavior of strtoll: NO | ||
8 | Checking for working strptime: OK | ||
9 | Checking for C99 vsnprintf: "1" | ||
10 | Checking for HAVE_SHARED_MMAP: OK | ||
11 | Checking for HAVE_MREMAP: OK | ||
12 | Checking for HAVE_SECURE_MKSTEMP: OK | ||
13 | Checking for HAVE_IFACE_GETIFADDRS: NO | ||
14 | Checking for HAVE_IFACE_IFCONF: NO | ||
15 | Checking for HAVE_IFACE_IFREQ: NO | ||
16 | Checking for large file support without additional flags: OK | ||
17 | Checking for HAVE_INCOHERENT_MMAP: NO | ||
18 | Checking value of NSIG: "65" | ||
19 | Checking value of _NSIG: "65" | ||
20 | Checking value of SIGRTMAX: "64" | ||
21 | Checking value of SIGRTMIN: "34" | ||
22 | Checking whether the WRFILE -keytab is supported: OK | ||
23 | Checking for kernel change notify support: OK | ||
24 | Checking for Linux kernel oplocks: OK | ||
25 | Checking for kernel share modes: OK | ||
26 | Checking whether POSIX capabilities are available: OK | ||
27 | Checking if can we convert from CP850 to UCS-2LE: (255, "") | ||
28 | Checking if can we convert from IBM850 to UCS-2LE: (255, "") | ||
29 | Checking if can we convert from UTF-8 to UCS-2LE: OK | ||
30 | vfs_fileid checking for statfs() and struct statfs.f_fsid: OK | ||
31 | Checking whether we can use Linux thread-specific credentials: OK | ||
32 | Checking whether fcntl locking is available: OK | ||
33 | Checking for the maximum value of the 'time_t' type: OK | ||
34 | Checking whether the realpath function allows a NULL argument: OK | ||
35 | Checking for ftruncate extend: OK | ||
36 | getcwd takes a NULL argument: OK | ||
37 | Checking for small off_t: NO | ||
38 | Checking whether blkcnt_t is 32 bit: NO | ||
39 | Checking whether blkcnt_t is 64 bit: OK | ||
diff --git a/meta-oe/files/waf-cross-answers/cross-answers-x86_64.txt b/meta-oe/files/waf-cross-answers/cross-answers-x86_64.txt new file mode 100644 index 000000000..bbf7f1620 --- /dev/null +++ b/meta-oe/files/waf-cross-answers/cross-answers-x86_64.txt | |||
@@ -0,0 +1,38 @@ | |||
1 | Checking uname sysname type: "Linux" | ||
2 | Checking uname version type: "# Wed May 20 10:34:39 UTC 2015" | ||
3 | Checking simple C program: "hello world" | ||
4 | rpath library support: OK | ||
5 | -Wl,--version-script support: OK | ||
6 | Checking getconf LFS_CFLAGS: NO | ||
7 | Checking correct behavior of strtoll: NO | ||
8 | Checking for working strptime: OK | ||
9 | Checking for C99 vsnprintf: "1" | ||
10 | Checking for HAVE_SHARED_MMAP: OK | ||
11 | Checking for HAVE_MREMAP: OK | ||
12 | Checking for HAVE_SECURE_MKSTEMP: OK | ||
13 | Checking for HAVE_IFACE_GETIFADDRS: NO | ||
14 | Checking for HAVE_IFACE_IFCONF: NO | ||
15 | Checking for HAVE_IFACE_IFREQ: NO | ||
16 | Checking for large file support without additional flags: OK | ||
17 | Checking for HAVE_INCOHERENT_MMAP: NO | ||
18 | Checking value of NSIG: "65" | ||
19 | Checking value of _NSIG: "65" | ||
20 | Checking value of SIGRTMAX: "64" | ||
21 | Checking value of SIGRTMIN: "34" | ||
22 | Checking whether the WRFILE -keytab is supported: OK | ||
23 | Checking for kernel change notify support: OK | ||
24 | Checking for Linux kernel oplocks: OK | ||
25 | Checking for kernel share modes: OK | ||
26 | Checking whether POSIX capabilities are available: OK | ||
27 | Checking if can we convert from CP850 to UCS-2LE: OK | ||
28 | Checking if can we convert from UTF-8 to UCS-2LE: OK | ||
29 | vfs_fileid checking for statfs() and struct statfs.f_fsid: OK | ||
30 | Checking whether we can use Linux thread-specific credentials: OK | ||
31 | Checking whether fcntl locking is available: OK | ||
32 | Checking for the maximum value of the 'time_t' type: OK | ||
33 | Checking whether the realpath function allows a NULL argument: OK | ||
34 | Checking for ftruncate extend: OK | ||
35 | getcwd takes a NULL argument: OK | ||
36 | Checking for small off_t: NO | ||
37 | Checking whether blkcnt_t is 32 bit: NO | ||
38 | Checking whether blkcnt_t is 64 bit: OK | ||