Oleksandr Popovych
e7eeef5ab7
utils: Reduce the number of calls to the "dirname" command
...
utils.bbclass contains create_cmdline_wrapper() function that
creates wrapper script with additional arguments for any passed
"$cmd" command, and uses several calls to "dirname".
Because "dirname" is an external command, in cases of lots of
calls to wrapped "$cmd", each call of "dirname" will incur
significant overhead.
There are three same calls to "dirname": one for saving it`s
output to "realdir" variable, and other two in "exec" command.
So last two "dirname" calls can be replaced with cached value
from "realdir" variable.
(From OE-Core rev: 912c9eda653c45fee2f55092fbe281efba897bc0)
Signed-off-by: Oleksandr Popovych <opopovyc@cisco.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
(cherry picked from commit 4b9cf2c80fd14386e0b88a2e6c40a9fa3f1ae0f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2021-09-01 16:27:09 +01:00
..
2021-08-10 11:14:11 +01:00
2020-01-28 11:11:20 +00:00
2021-02-03 14:13:53 +00:00
2019-06-19 12:46:44 +01:00
2021-04-06 22:45:36 +01:00
2019-12-15 09:10:46 +00:00
2019-01-14 11:35:55 +00:00
2019-04-12 09:29:06 +01:00
2019-12-29 09:27:16 +00:00
2019-02-19 16:14:57 +00:00
2021-03-28 22:31:47 +01:00
2021-05-22 12:11:06 +01:00
2019-01-16 15:35:07 +00:00
2020-03-30 12:33:29 +01:00
2019-01-11 10:39:09 +00:00
2019-01-11 10:39:09 +00:00
2019-01-11 10:39:09 +00:00
2018-12-26 11:12:12 +00:00
2020-01-27 16:48:10 +00:00
2020-02-14 13:07:23 +00:00
2021-08-18 18:00:19 +01:00
2019-01-16 15:35:07 +00:00
2020-02-14 13:07:23 +00:00
2021-03-28 22:31:47 +01:00
2019-10-23 16:30:36 +01:00
2019-11-21 23:08:19 +00:00
2021-02-18 16:48:28 +00:00
2021-02-03 14:13:53 +00:00
2020-12-09 23:49:01 +00:00
2021-04-30 14:37:37 +01:00
2019-01-18 16:24:40 +00:00
2020-01-27 16:48:10 +00:00
2020-01-27 16:48:08 +00:00
2019-01-16 15:35:07 +00:00
2020-06-26 18:26:49 +01:00
2019-07-09 23:30:44 +01:00
2021-04-23 10:41:15 +01:00
2021-04-23 10:41:15 +01:00
2019-04-11 21:15:56 +01:00
2021-01-09 09:17:16 +00:00
2019-09-19 10:54:32 +01:00
2019-01-11 10:39:09 +00:00
2019-04-25 00:05:20 +01:00
2020-08-07 21:20:21 +01:00
2020-07-31 22:02:52 +01:00
2020-02-14 13:07:23 +00:00
2021-02-10 23:55:53 +00:00
2021-02-18 16:48:28 +00:00
2018-12-08 17:17:01 +00:00
2021-06-03 16:30:56 +01:00
2020-03-11 11:44:29 +00:00
2021-05-20 12:36:42 +01:00
2021-04-30 14:37:37 +01:00
2021-07-10 22:46:19 +01:00
2021-06-11 22:45:27 +01:00
2020-12-18 14:20:19 +00:00
2019-07-26 08:41:38 +01:00
2018-11-23 23:35:19 +00:00
2021-08-18 18:00:19 +01:00
2021-07-10 22:46:19 +01:00
2020-03-10 23:20:33 +00:00
2020-01-19 23:49:39 +00:00
2021-05-04 22:57:55 +01:00
2021-08-18 18:00:19 +01:00
2021-03-28 22:31:47 +01:00
2018-11-23 23:35:19 +00:00
2021-01-27 09:33:15 +00:00
2019-09-19 10:54:32 +01:00
2020-01-27 16:48:08 +00:00
2019-03-03 15:38:13 +00:00
2020-06-26 18:26:49 +01:00
2020-12-18 14:20:19 +00:00
2020-03-01 17:50:30 +00:00
2020-07-02 16:12:36 +01:00
2018-11-16 11:46:07 +00:00
2019-06-27 12:20:36 +01:00
2019-07-03 17:00:57 +01:00
2021-08-26 08:32:18 +01:00
2020-01-27 16:48:10 +00:00
2020-07-22 22:46:37 +01:00
2020-09-02 16:04:37 +01:00
2021-03-04 17:39:10 +00:00
2019-08-12 16:23:57 +01:00
2020-02-23 23:33:48 +00:00
2021-07-10 22:46:19 +01:00
2021-06-03 16:30:56 +01:00
2020-09-02 16:04:37 +01:00
2021-03-10 00:22:51 +00:00
2019-10-02 20:22:25 +01:00
2020-02-06 12:16:34 +00:00
2019-01-11 10:39:09 +00:00
2019-04-05 17:32:50 +01:00
2021-08-26 08:32:18 +01:00
2021-04-06 22:45:36 +01:00
2020-07-22 22:46:37 +01:00
2020-05-22 16:23:24 +01:00
2020-01-21 12:52:52 +00:00
2021-02-18 16:48:28 +00:00
2021-02-18 16:48:29 +00:00
2020-01-22 15:56:14 +00:00
2020-11-12 13:07:52 +00:00
2020-06-26 18:26:49 +01:00
2021-07-15 15:27:49 +01:00
2020-02-21 17:48:09 +00:00
2021-03-10 00:22:51 +00:00
2019-11-10 14:06:10 +00:00
2020-12-09 23:49:01 +00:00
2020-12-09 23:49:01 +00:00
2020-12-09 23:49:01 +00:00
2020-07-07 23:15:10 +01:00
2021-05-13 22:10:06 +01:00
2021-02-18 16:48:29 +00:00
2018-11-23 23:35:19 +00:00
2020-10-27 22:42:20 +00:00
2021-08-18 18:00:19 +01:00
2021-07-10 22:46:19 +01:00
2019-07-26 08:41:38 +01:00
2019-05-16 16:35:12 +01:00
2019-09-19 10:54:32 +01:00
2021-01-21 23:08:16 +00:00
2019-04-03 14:50:13 +01:00
2020-10-06 14:15:21 +01:00
2020-11-20 10:44:34 +00:00
2018-11-21 11:54:14 +00:00
2020-02-03 00:10:11 +00:00
2020-02-02 16:57:21 +00:00
2019-10-09 14:07:43 +01:00
2021-01-09 09:17:16 +00:00
2019-07-18 12:16:19 +01:00
2020-10-22 12:16:42 +01:00
2019-06-27 12:20:36 +01:00
2019-06-21 15:32:36 +01:00
2019-05-07 10:12:53 +01:00
2019-06-01 11:27:06 +01:00
2021-09-01 16:27:09 +01:00
2020-03-29 12:05:31 +01:00
2021-01-21 23:08:16 +00:00
2019-07-11 09:32:50 +01:00