Ioan-Adrian Ratiu
d1528403d5
kernel-yocto: do_kernel_configme: Fix silent sysroot poisoning error
...
do_kernel_configme calls merge_config.sh (installed in the sysroot by
the kern-tools-native recipe) which may invoke the compiler to complete
the configuration process.
Depending on the build (and dependencies), this may error due to sysroot poisoning [1].
The errors are similar to:
make[1]: Entering directory '4.1+gitAUTOINC+a7e53ecc27-r0/linux-x64-standard-build' HOSTCC scripts/basic/fixdep
work-shared/x64/kernel-source/scripts/basic/fixdep.c:106:23: fatal error: sys/types.h: No such file or directory
compilation terminated.
make[2]: *** [work-shared/x64/kernel-source/scripts/basic/Makefile:22: scripts/basic/x86_64-nilrt-linux-fixdep] Error 1
Adding $TOOLCHAIN_OPTIONS to $CFLAGS before calling merge_configs.sh
fixes the error because $TOOLCHAIN_OPTIONS defines the sysroot and make
uses it to correctly compile & fill all missing kernel config options.
[1] http://lists.openembedded.org/pipermail/openembedded-core/2014-October/098253.html
(From OE-Core rev: 4b770d62472d1b1a26366de0a1742db240aa5239)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com >
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2016-09-05 11:56:01 +01:00
..
2015-11-24 15:55:40 +00:00
2016-04-13 20:58:41 +01:00
2014-02-28 14:01:16 +00:00
2016-09-03 09:58:40 +01:00
2016-09-03 09:58:39 +01:00
2016-08-25 23:03:45 +01:00
2012-09-10 13:01:46 +01:00
2015-08-19 18:05:43 +01:00
2014-05-08 13:00:33 +01:00
2015-08-11 09:28:52 -07:00
2015-02-17 13:43:38 +00:00
2013-06-14 12:55:47 +01:00
2016-08-10 10:46:32 +01:00
2016-07-12 23:10:16 +01:00
2016-04-15 06:59:43 +01:00
2016-08-17 10:35:40 +01:00
2016-08-10 10:46:33 +01:00
2013-10-26 15:59:13 +01:00
2016-08-23 17:44:42 +01:00
2016-08-04 15:22:22 +01:00
2016-02-04 23:39:00 +00:00
2014-03-25 09:55:35 +00:00
2015-06-23 11:46:57 +01:00
2016-05-11 10:33:43 +01:00
2015-10-29 07:31:17 +00:00
2015-12-16 11:56:30 +00:00
2015-10-29 07:31:17 +00:00
2016-08-17 10:35:38 +01:00
2015-12-14 22:30:57 +00:00
2015-11-24 15:50:27 +00:00
2016-02-14 11:42:19 +00:00
2015-10-01 07:43:36 +01:00
2016-07-08 09:57:23 +01:00
2015-05-09 22:26:45 +01:00
2016-05-19 22:32:07 +01:00
2016-06-01 12:38:41 +01:00
2016-06-01 12:38:41 +01:00
2014-02-02 22:37:38 +00:00
2016-09-03 09:58:40 +01:00
2016-06-01 12:38:41 +01:00
2016-06-01 12:38:41 +01:00
2016-06-02 08:24:00 +01:00
2016-04-09 23:00:45 +01:00
2015-10-01 17:54:55 +01:00
2015-09-06 15:26:25 +01:00
2015-06-23 11:57:25 +01:00
2013-08-23 16:20:11 +01:00
2016-03-28 15:55:49 +01:00
2015-08-24 23:46:53 +01:00
2016-03-12 22:11:45 +00:00
2016-03-28 15:55:49 +01:00
2016-07-01 16:22:42 +01:00
2016-08-23 17:44:34 +01:00
2012-09-05 22:25:23 +01:00
2014-06-25 13:51:48 +01:00
2015-10-29 07:31:16 +00:00
2016-06-12 23:47:18 +01:00
2016-08-10 10:46:28 +01:00
2013-09-22 12:19:43 +01:00
2016-03-28 15:55:48 +01:00
2016-09-04 00:07:28 +01:00
2016-09-04 00:07:28 +01:00
2016-06-05 08:19:02 +01:00
2016-09-04 00:07:28 +01:00
2016-03-10 23:13:54 +00:00
2016-03-09 16:58:12 +00:00
2016-09-04 00:07:28 +01:00
2016-09-04 00:07:28 +01:00
2016-08-23 17:44:40 +01:00
2016-02-04 23:39:02 +00:00
2016-08-10 10:46:33 +01:00
2016-05-30 15:58:11 +01:00
2016-07-01 16:22:45 +01:00
2015-08-14 08:30:33 +01:00
2016-07-26 08:56:30 +01:00
2016-09-05 11:56:01 +01:00
2016-09-03 23:45:54 +01:00
2015-03-16 17:41:56 +00:00
2013-01-07 11:09:42 +00:00
2016-05-13 13:41:30 +01:00
2016-07-12 23:10:13 +01:00
2016-08-25 22:54:49 +01:00
2014-12-21 12:37:53 +00:00
2016-03-07 00:11:40 +00:00
2016-03-31 23:01:37 +01:00
2015-07-16 15:09:24 +01:00
2014-07-03 17:41:16 +01:00
2016-05-11 10:33:42 +01:00
2013-06-14 12:55:47 +01:00
2014-01-06 11:13:56 +00:00
2016-05-30 15:58:13 +01:00
2015-11-24 15:50:27 +00:00
2016-03-02 22:39:43 +00:00
2016-08-04 15:22:22 +01:00
2014-06-01 14:29:29 +01:00
2016-04-01 07:14:30 +01:00
2016-02-06 23:10:44 +00:00
2016-02-06 23:10:44 +00:00
2016-05-30 15:58:11 +01:00
2016-08-17 10:35:41 +01:00
2016-05-16 09:31:23 +01:00
2016-02-28 11:32:57 +00:00
2016-07-26 08:56:28 +01:00
2016-07-26 08:56:28 +01:00
2016-06-02 08:24:00 +01:00
2016-02-04 23:39:00 +00:00
2016-08-10 10:46:33 +01:00
2015-06-16 14:21:29 +01:00
2016-08-20 16:06:04 +01:00
2016-05-11 10:33:43 +01:00
2016-09-03 23:45:52 +01:00
2012-07-26 14:56:20 +01:00
2015-09-28 12:00:17 +01:00
2012-10-18 12:13:12 +01:00
2016-09-04 00:07:29 +01:00
2016-09-04 00:07:29 +01:00
2012-09-02 05:52:06 -07:00
2015-11-16 11:39:27 +00:00
2013-06-14 12:55:47 +01:00
2015-11-24 15:50:25 +00:00
2015-11-24 15:50:26 +00:00
2016-06-01 12:38:41 +01:00
2016-07-01 16:22:43 +01:00
2016-06-01 12:38:41 +01:00
2016-07-01 16:22:43 +01:00
2016-04-15 06:59:43 +01:00
2016-02-21 09:32:41 +00:00
2012-08-02 15:28:39 +01:00
2016-02-02 14:44:16 +00:00
2016-08-17 10:23:43 +01:00
2016-08-23 17:44:41 +01:00
2015-11-24 15:50:27 +00:00
2016-02-04 23:39:00 +00:00
2016-08-12 15:25:22 +01:00
2016-09-04 00:07:28 +01:00
2015-04-24 11:06:55 +01:00
2016-08-20 16:06:02 +01:00
2015-11-16 11:39:27 +00:00
2015-06-08 17:34:04 +01:00
2014-02-02 22:37:39 +00:00
2016-03-11 16:50:45 +00:00
2016-03-11 16:50:45 +00:00
2016-03-25 10:29:14 +00:00
2014-11-12 15:38:33 +00:00
2016-07-26 08:56:25 +01:00
2015-11-24 15:50:27 +00:00
2016-09-04 00:07:29 +01:00
2016-06-15 08:35:01 +01:00
2016-09-04 00:07:28 +01:00
2016-08-10 10:46:28 +01:00
2015-12-09 08:48:24 +00:00
2016-06-02 08:24:00 +01:00
2016-08-04 15:22:22 +01:00
2016-01-11 23:26:29 +00:00
2016-08-01 11:47:13 +01:00
2016-07-08 09:57:23 +01:00
2014-06-13 12:31:38 +01:00
2016-05-16 09:31:23 +01:00
2016-09-04 00:07:29 +01:00
2016-08-04 15:22:22 +01:00
2016-02-04 23:39:00 +00:00
2016-07-01 16:22:40 +01:00
2016-08-10 10:46:33 +01:00
2016-03-31 09:15:03 +01:00
2016-05-11 10:33:42 +01:00
2016-06-15 18:05:21 +01:00
2015-12-08 10:20:51 +00:00
2016-08-23 17:44:40 +01:00
2016-08-01 11:47:13 +01:00
2016-08-25 23:03:46 +01:00
2016-05-21 22:26:33 +01:00
2016-08-25 23:03:45 +01:00
2016-03-12 22:11:44 +00:00
2016-02-19 15:33:02 +00:00