Masahiro Yamada
8e9b466799
kbuild: use $(abspath ...) instead of $(shell cd ... && /bin/pwd)
...
Kbuild conventionally uses $(shell cd ... && /bin/pwd) idiom to get
the absolute path of the directory because GNU Make 3.80, the minimal
supported version at that time, did not support $(abspath ...) or
$(realpath ...).
Commit 37d69ee30808 ("docs: bump minimal GNU Make version to 3.81")
dropped the GNU Make 3.80 support, so we are now allowed to use those
make-builtin helpers.
This conversion will provide better portability without relying on
the pwd command or its location /bin/pwd.
I am intentionally using $(realpath ...) instead $(abspath ...) in
some places. The difference between the two is $(realpath ...)
returns an empty string if the given path does not exist. It is
convenient in places where we need to error-out if the makefile fails
to create an output directory.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Thierry Reding <treding@nvidia.com>
2017-09-01 08:50:32 +09:00
..
2016-08-24 22:34:19 +02:00
2017-02-28 16:16:46 +01:00
2017-07-20 09:46:50 -05:00
2017-06-22 16:21:43 -07:00
2017-09-01 08:50:32 +09:00
2017-06-06 01:22:48 +09:00
2017-07-07 15:09:09 -07:00
2017-03-28 16:16:52 +02:00
2017-05-23 14:08:31 -07:00
2017-05-10 20:41:43 -07:00
2017-05-18 10:31:30 -06:00
2016-09-21 13:56:55 -04:00
2017-06-23 14:17:38 -06:00
2016-12-11 22:30:10 +01:00
2016-04-06 14:06:48 +01:00
2016-12-12 18:55:06 -08:00
2017-05-14 11:20:44 +09:00
2016-12-05 14:21:24 -07:00
2015-04-13 21:03:02 +09:30
2017-05-14 11:20:44 +09:00
2017-02-03 11:49:06 +01:00
2017-07-12 16:26:04 -07:00
2017-05-14 11:20:44 +09:00
2017-06-10 01:15:36 +09:00
2017-05-14 11:20:44 +09:00
2017-05-14 11:20:44 +09:00
2017-05-14 11:20:44 +09:00
2016-10-11 09:50:43 +02:00
2014-06-10 00:04:06 +02:00
2014-04-30 17:34:32 +02:00
2016-10-11 15:06:30 -07:00
2016-11-29 14:19:50 +01:00
2015-02-16 17:56:04 -08:00
2017-05-14 11:20:44 +09:00
2017-05-14 11:20:44 +09:00
2015-09-25 16:31:45 +01:00
2015-04-15 14:01:12 +02:00
2017-05-14 11:20:44 +09:00
2017-05-14 11:20:44 +09:00
2016-10-25 18:40:37 +02:00
2014-08-20 16:03:45 +02:00
2014-08-20 16:03:45 +02:00
2016-08-08 17:49:05 -07:00
2014-08-20 16:03:45 +02:00
2014-08-20 16:03:45 +02:00
2016-11-09 22:28:05 +01:00
2017-07-07 15:09:09 -07:00
2017-05-14 11:20:44 +09:00
2017-05-14 11:20:44 +09:00
2017-05-14 11:20:44 +09:00
2017-05-14 11:20:44 +09:00
2014-10-14 09:22:26 +02:00
2014-12-20 00:01:12 +01:00
2016-02-26 15:30:20 +00:00
2017-02-03 08:28:25 -08:00
2017-06-25 12:47:55 +09:00
2017-07-07 15:09:09 -07:00
2016-05-13 14:02:05 +02:00
2017-02-22 16:41:26 -08:00
2017-06-30 09:03:03 +09:00
2017-06-23 14:17:38 -06:00
2017-06-22 08:55:21 +09:00
2017-06-30 09:03:03 +09:00
2016-06-07 22:57:10 +02:00
2017-05-08 07:26:06 +09:00
2017-04-23 16:09:15 +09:00
2015-04-02 16:42:08 +02:00
2017-06-22 16:15:45 -07:00
2017-07-11 21:33:54 +09:00
2017-06-25 12:47:55 +09:00
2016-12-12 18:55:09 -08:00
2017-05-18 23:55:48 -07:00
2015-08-07 16:26:13 +01:00
2016-09-09 10:47:00 +02:00
2014-08-27 21:54:11 +09:30
2016-11-11 08:45:08 -08:00
2017-05-14 11:20:44 +09:00
2017-06-19 22:48:15 +09:00
2014-08-20 16:03:45 +02:00
2015-06-23 13:35:47 +09:00
2017-03-13 09:40:28 -07:00
2017-05-14 11:20:44 +09:00
2017-03-11 11:13:38 +09:00
2017-07-23 16:06:21 -07:00
2014-04-30 17:34:32 +02:00
2014-06-10 00:04:06 +02:00
2017-05-14 11:20:44 +09:00
2016-02-09 10:09:52 -08:00
2017-03-24 20:51:49 -04:00
2015-11-03 10:45:26 -05:00
2017-05-14 11:20:44 +09:00
2016-06-20 17:37:45 +02:00
2014-06-10 00:04:06 +02:00
2017-02-10 12:43:47 +11:00
2016-11-14 11:11:51 +11:00
2014-10-14 02:18:23 +02:00
2017-07-06 16:24:30 -07:00
2017-05-14 11:20:44 +09:00
2015-08-28 17:04:40 +02:00
2017-06-06 08:42:34 +09:00
2017-04-08 18:03:42 +02:00
2015-03-16 14:49:13 +00:00
2014-08-20 16:03:45 +02:00