Chen Qi
2d83a6c579
nativesdk.bbclass: set consistent staging dirs regardless of multilib
...
For now, the RECIPE_SYSROOT of nativesdk recipes is ${WORKDIR}/recipe-sysroot
if multilib is disabled and ${WORKDIR}/nativesdk-recipe-sysroot if multilib
is enabled. And it's causing chaos. Problems I've met include:
1) 'File Exists' error when doing extend_recipe_sysroot
2) Rebuilding failure about cmake based nativesdk recipes if toggling multilib
In nativesdk.bbclass, We've set MULTILIBS to be "", and we've changed MLPREFIX
to be 'nativesdk-', I think we should also set consistent RECIPE_SYSROOT to be
${WORKDIR}/recipe-sysroot.
Below is an example showing why previous settings will cause do_prepare_recipe_sysroot
failure.
e.g.
A -> C
B -> C
A's RECIPE_SYSROOT is .../recipe-sysroot and B's RECIPE_SYSROOT is
.../nativesdk-recipe-sysroot.
As extend_recipe_sysroot function uses shared manifest, i.e., the same
manifest of C for both A and B, then there must be one of them having
the wrong manifest. And the wrong manifest results in RECIPE_SYSROOT
not cleaned up before installing new components, thus the following error.
Exception: FileExistsError: [Errno 17] File exists: xxx -> xxx
This happens when toggling multilib and also between nativesdk recipes and
crosssdk, cross-canadian recipes. The latter situation also explains
why choosing ${WORKDIR}/recipe-sysroot instead of ${WORKDIR}/nativesdk-recipe-sysroot.
If we use 'nativesdk-recipe-sysroot', we still need to modify the extend_recipe_sysroot
function to treat crosssdk and cross-canadian as special cases. Using
'recipe-sysroot' does not have this problem.
(From OE-Core rev: 665934a506cc560bfbc469f5ed095e7d54e353a5)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2018-09-27 23:41:41 +01:00
..
2018-09-13 07:42:28 +01:00
2018-04-05 14:49:07 +01:00
2014-02-28 14:01:16 +00:00
2018-09-05 18:00:24 +01:00
2018-08-14 11:36:31 +01:00
2016-08-25 23:03:45 +01:00
2017-12-02 11:25:32 +00:00
2016-12-22 08:50:17 +00:00
2017-04-14 09:47:08 +01:00
2018-01-26 13:09:09 +00:00
2015-02-17 13:43:38 +00:00
2017-01-09 13:39:11 +00:00
2018-07-18 10:18:41 +01:00
2016-12-16 10:23:23 +00:00
2017-03-01 23:27:10 +00:00
2017-07-17 14:01:36 +01:00
2016-12-16 10:23:23 +00:00
2018-09-21 18:45:47 -07:00
2018-06-28 12:26:54 +01:00
2017-10-07 23:20:39 +01:00
2018-08-23 18:02:23 +01:00
2016-12-16 10:23:23 +00:00
2017-06-28 20:55:08 +01:00
2017-03-24 23:43:32 +00:00
2018-06-15 17:56:24 +01:00
2017-06-12 15:08:31 +01:00
2018-08-28 10:30:28 +01:00
2018-06-15 17:56:24 +01:00
2018-05-22 13:13:33 +01:00
2017-04-10 23:00:44 +01:00
2018-08-15 21:45:58 +01:00
2018-01-18 12:50:36 +00:00
2018-04-10 09:10:36 +01:00
2018-09-13 07:42:28 +01:00
2017-06-06 19:02:43 +01:00
2018-08-14 11:36:31 +01:00
2017-04-19 10:18:43 +01:00
2018-01-26 13:09:09 +00:00
2018-02-16 18:05:40 +00:00
2017-07-17 14:01:36 +01:00
2016-12-16 10:23:23 +00:00
2018-09-21 18:45:46 -07:00
2017-06-09 17:12:14 +01:00
2018-09-04 11:03:55 +01:00
2017-03-27 11:08:34 +01:00
2018-09-21 18:45:46 -07:00
2018-08-20 17:38:22 +01:00
2018-05-29 21:07:13 +01:00
2017-01-19 22:47:20 +00:00
2018-06-18 11:07:58 +01:00
2017-01-09 13:39:11 +00:00
2017-01-20 11:53:51 +00:00
2018-01-14 09:11:58 +00:00
2018-04-05 14:49:07 +01:00
2018-03-25 09:40:42 +01:00
2015-08-24 23:46:53 +01:00
2018-01-05 12:02:36 +00:00
2018-03-06 06:43:10 -08:00
2018-07-18 10:18:42 +01:00
2016-09-14 22:22:08 +01:00
2017-01-23 12:05:17 +00:00
2018-03-06 06:43:10 -08:00
2018-03-31 09:48:42 +01:00
2018-03-06 06:35:42 -08:00
2017-01-20 11:53:51 +00:00
2018-03-15 06:27:19 -07:00
2017-01-20 11:53:49 +00:00
2018-06-18 11:07:58 +01:00
2018-09-13 07:42:28 +01:00
2018-05-04 13:28:05 +01:00
2018-04-13 16:58:06 +01:00
2017-03-22 11:35:21 +00:00
2018-04-07 11:44:50 +01:00
2017-02-19 06:49:00 -08:00
2018-07-15 16:16:16 +01:00
2018-08-23 17:58:59 +01:00
2018-08-16 09:49:39 +01:00
2018-08-23 17:58:59 +01:00
2018-08-16 09:49:39 +01:00
2018-09-13 17:38:07 +01:00
2018-09-21 18:45:47 -07:00
2018-08-21 14:49:42 +01:00
2018-08-21 14:49:42 +01:00
2018-09-22 15:52:12 -07:00
2016-12-16 10:23:23 +00:00
2018-01-19 12:37:13 +00:00
2018-01-23 23:43:45 +00:00
2018-09-22 15:52:12 -07:00
2018-08-28 10:30:28 +01:00
2018-09-22 15:52:12 -07:00
2017-01-28 23:32:16 +00:00
2013-01-07 11:09:42 +00:00
2018-05-09 10:47:50 +01:00
2018-09-04 11:03:55 +01:00
2018-07-25 16:48:27 +01:00
2018-08-14 11:36:31 +01:00
2014-12-21 12:37:53 +00:00
2018-09-21 18:45:46 -07:00
2018-03-31 09:48:42 +01:00
2018-02-24 10:31:48 +00:00
2018-06-15 17:56:24 +01:00
2018-09-25 23:15:49 +01:00
2014-07-03 17:41:16 +01:00
2016-12-16 10:23:23 +00:00
2016-12-16 10:23:23 +00:00
2017-01-20 11:53:51 +00:00
2018-09-04 11:03:56 +01:00
2018-02-24 10:31:44 +00:00
2018-02-24 10:31:44 +00:00
2018-09-13 07:42:28 +01:00
2017-03-31 10:10:29 +01:00
2018-08-14 11:36:31 +01:00
2018-09-13 07:42:28 +01:00
2018-05-22 13:13:33 +01:00
2018-09-27 23:41:41 +01:00
2016-05-30 15:58:11 +01:00
2018-02-06 11:06:27 +00:00
2016-12-16 10:23:23 +00:00
2017-10-16 23:52:44 +01:00
2018-07-24 11:52:27 +01:00
2018-07-24 11:52:27 +01:00
2018-03-30 00:31:18 +01:00
2017-02-15 09:29:55 -08:00
2018-09-13 07:42:28 +01:00
2016-12-16 10:23:23 +00:00
2017-08-18 10:40:27 +01:00
2018-02-16 18:05:40 +00:00
2018-07-06 22:55:02 +01:00
2017-06-12 15:08:31 +01:00
2012-07-26 14:56:20 +01:00
2018-06-18 11:07:58 +01:00
2012-10-18 12:13:12 +01:00
2018-09-13 07:42:28 +01:00
2018-06-18 11:07:57 +01:00
2012-09-02 05:52:06 -07:00
2016-12-16 10:23:23 +00:00
2013-06-14 12:55:47 +01:00
2015-11-24 15:50:25 +00:00
2018-03-06 06:19:18 -08:00
2017-03-04 23:18:19 +00:00
2017-12-13 14:00:51 +00:00
2016-06-01 12:38:41 +01:00
2018-08-02 09:30:11 +01:00
2016-06-01 12:38:41 +01:00
2018-08-02 09:30:11 +01:00
2017-01-09 13:39:11 +00:00
2017-11-21 13:11:03 +00:00
2017-04-05 23:22:11 +01:00
2017-02-09 10:52:03 +00:00
2017-01-31 23:47:33 +00:00
2016-02-02 14:44:16 +00:00
2017-08-18 23:46:37 +01:00
2018-04-18 18:57:06 +01:00
2018-09-21 18:45:46 -07:00
2017-01-20 11:53:48 +00:00
2018-06-21 09:34:40 +01:00
2018-01-22 10:39:10 +00:00
2018-01-22 10:39:10 +00:00
2017-03-28 08:43:13 +01:00
2018-08-21 14:49:42 +01:00
2017-07-30 08:46:19 +01:00
2018-08-08 10:52:00 +01:00
2016-09-24 07:30:10 +01:00
2018-07-26 13:16:40 +01:00
2018-07-26 13:16:40 +01:00
2016-12-16 10:23:23 +00:00
2018-01-11 10:26:07 +00:00
2018-01-11 10:26:07 +00:00
2017-01-23 12:05:17 +00:00
2018-09-25 23:15:49 +01:00
2018-07-18 10:18:42 +01:00
2018-09-13 07:42:28 +01:00
2018-09-10 12:13:06 +01:00
2018-03-31 09:48:42 +01:00
2018-03-31 09:48:42 +01:00
2018-03-06 06:35:42 -08:00
2018-06-27 13:55:22 +01:00
2018-08-28 10:30:28 +01:00
2017-06-02 13:36:14 +01:00
2018-09-13 07:42:27 +01:00
2018-07-30 12:44:35 +01:00
2016-11-06 23:35:35 +00:00
2017-01-09 13:39:11 +00:00
2017-06-12 23:01:22 +01:00
2016-09-23 14:56:39 +01:00
2018-08-07 12:13:03 +01:00
2016-12-16 10:23:23 +00:00
2018-01-26 13:09:09 +00:00
2018-06-15 17:56:24 +01:00
2017-03-17 16:53:05 +00:00
2018-09-20 09:06:00 -07:00
2017-12-02 11:25:33 +00:00
2018-02-24 10:31:46 +00:00
2016-12-17 09:57:04 +00:00
2017-01-26 10:44:27 +00:00
2018-01-26 13:09:09 +00:00
2017-11-07 13:30:22 +00:00
2018-02-15 11:23:10 +00:00
2018-08-24 07:53:14 +01:00
2016-03-12 22:11:44 +00:00
2018-03-25 09:40:42 +01:00