Masahiro Yamada
9cedc5e89a
kbuild: use proper prefix for tarballs to fix rpm-pkg build error
...
Since commit f8d94c4e40 ("kbuild: do not create intermediate *.tar
for source tarballs"), 'make rpm-pkg' fails because the prefix of the
source tarball is 'linux.tar/' instead of 'linux/'. $(basename $@)
strips only '.gz' from the filename linux.tar.gz.
You need to strip two suffixes from compressed tarballs and one suffix
from uncompressed tarballs (for example 'perf-6.3.0.tar' generated by
'make perf-tar-src-pkg').
One tricky fix might be --prefix=$(firstword $(subst .tar, ,$@))/
but I think it is better to hard-code the prefix.
Fixes: f8d94c4e40 ("kbuild: do not create intermediate *.tar for source tarballs")
Reported-by: Jiwei Sun <sunjw10@lenovo.com >
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org >
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu >
2023-04-23 21:23:10 +09:00
..
2023-01-28 11:17:57 -08:00
2023-01-22 23:43:33 +09:00
2023-01-26 12:43:33 +09:00
2022-12-26 21:47:12 +01:00
2023-02-17 15:46:20 -06:00
2022-08-21 02:47:48 +09:00
2023-02-02 18:43:28 +00:00
2023-02-23 17:55:40 -08:00
2022-05-24 16:33:20 +09:00
2023-03-23 15:27:40 +09:00
2023-03-23 15:28:41 +09:00
2023-04-23 21:23:10 +09:00
2022-09-20 14:12:25 -04:00
2023-02-18 14:34:09 -05:00
2023-03-16 22:46:12 +09:00
2022-05-08 03:16:59 +09:00
2023-01-26 12:41:38 +09:00
2023-01-22 23:43:32 +09:00
2023-02-02 22:50:03 -08:00
2023-01-11 16:56:26 -08:00
2023-03-05 10:49:37 -08:00
2023-03-16 22:46:12 +09:00
2022-09-29 04:40:15 +09:00
2023-01-26 12:43:33 +09:00
2023-02-02 22:50:07 -08:00
2022-07-27 21:18:00 +09:00
2023-03-23 17:18:32 -07:00
2023-02-25 20:11:06 +01:00
2023-02-08 13:33:29 +01:00
2022-09-28 09:01:40 +02:00
2023-02-21 16:53:54 -08:00
2023-01-26 12:43:33 +09:00
2022-08-29 13:58:47 +09:00
2022-11-16 10:42:10 +01:00
2022-12-14 15:42:40 +09:00
2022-05-08 01:33:07 -07:00
2022-12-04 01:59:16 +01:00
2022-09-28 09:02:45 +02:00
2022-04-24 10:38:44 +02:00
2022-06-30 12:22:17 -06:00
2022-04-29 14:38:00 -07:00
2023-01-09 18:22:21 +01:00
2022-07-27 21:18:00 +09:00
2022-05-11 21:45:53 +09:00
2022-09-28 09:02:06 +02:00
2023-01-16 20:15:20 +09:00
2023-03-07 10:35:38 +09:00
2023-01-22 23:43:33 +09:00
2023-01-26 12:41:38 +09:00
2023-02-26 11:53:25 -08:00
2022-11-12 18:47:36 -08:00
2023-03-16 22:46:12 +09:00
2022-11-22 23:40:02 +09:00
2023-01-22 23:43:33 +09:00
2023-01-26 12:43:19 +09:00
2022-11-22 23:40:02 +09:00
2023-01-26 12:41:38 +09:00
2022-11-21 10:18:39 +09:00
2023-02-13 20:18:28 +01:00
2022-11-22 23:40:02 +09:00
2022-12-11 17:28:32 +09:00
2022-08-16 12:25:53 -07:00
2023-01-22 23:43:33 +09:00
2023-03-02 21:54:22 -08:00
2021-12-09 16:42:27 -08:00
2022-10-03 14:03:19 -07:00
2023-01-22 23:43:33 +09:00
2023-01-22 23:43:33 +09:00
2023-02-23 14:05:08 -08:00
2023-02-05 18:51:22 +09:00
2023-04-23 21:23:10 +09:00
2022-05-08 01:33:07 -07:00
2022-01-20 08:52:55 +02:00
2023-01-13 15:22:03 -08:00
2022-10-03 03:52:58 +09:00
2023-03-05 10:49:37 -08:00
2023-01-22 23:43:33 +09:00
2022-09-29 04:40:15 +09:00
2022-10-03 03:51:58 +09:00
2022-11-09 18:06:35 +00:00
2022-12-14 15:42:40 +09:00
2022-06-08 20:14:13 +09:00
2022-06-05 06:20:57 +09:00
2022-05-12 10:08:43 -07:00
2023-01-17 17:29:42 +01:00
2022-02-02 11:19:33 +01:00
2022-05-11 21:46:38 +09:00
2022-12-14 08:41:53 +08:00
2022-03-07 13:54:59 +01:00
2023-01-30 13:00:30 +09:00
2022-09-28 09:02:06 +02:00
2022-09-28 09:02:06 +02:00
2023-03-16 22:46:12 +09:00
2022-08-03 23:56:20 +03:00
2022-12-14 08:36:11 +08:00
2022-01-18 10:17:18 -05:00
2022-06-01 09:32:45 -06:00
2022-05-18 15:34:33 +02:00
2022-05-18 15:35:42 +02:00
2023-02-02 22:50:07 -08:00
2022-10-13 11:14:43 -06:00
2022-06-03 20:09:27 +08:00
2023-02-26 11:53:25 -08:00
2022-02-13 16:50:06 -08:00