Files
buildroot/package
Brandon Maier fb449c72cd package/pkg-kconfig: fix bad config with per-package-dirs
If BR2_PER_PACKAGE_DIRECTORIES is enabled and Buildroot is using
HOST_MAKE for a Kconfig package. The $(1)_KCONFIG_RULES does not work
correctly, and kconfig-package-regen-dot-config will always run the
'oldconfig' target.

This is because $(1)_KCONFIG_RULES expands before the first recipe line
of .stamp_dotconfig. $(1)_KCONFIG_RULES attempts to call $(HOST_MAKE),
which requires that the per-package/<pkg>/host directory has been setup.
But that directory is not setup until a later recipe line. This results
in $(1)_KCONFIG_RULES silently failing, and so always configuring with
'oldconfig'.

Fix the issue by calling the command as part of the recipe, so
$(HOST_MAKE) will be ready in time. As the comment on $(1)_KCONFIG_RULES
describes, we should not use backticks. Use an intermediary file to
store the output of the command, so that backticks are not needed.

Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2022-11-24 11:44:30 +01:00
..
2022-10-06 22:09:32 +02:00
2022-10-14 16:06:40 +02:00
2022-10-31 10:50:43 +01:00
2022-10-26 13:57:59 +02:00
2022-10-31 10:50:32 +01:00
2022-11-01 23:21:22 +01:00
2022-10-25 22:58:00 +02:00
2022-11-23 22:50:32 +01:00
2022-10-14 15:51:41 +02:00
2022-10-30 21:36:43 +01:00
2022-10-25 22:59:15 +02:00
2022-11-22 23:28:06 +01:00
2022-10-28 08:55:04 +02:00
2022-10-30 12:09:25 +01:00
2022-10-30 23:00:34 +01:00
2022-10-30 17:20:17 +01:00
2022-10-30 17:20:15 +01:00
2022-10-30 17:20:13 +01:00
2022-11-21 22:38:08 +01:00
2022-11-03 23:06:51 +01:00
2022-11-01 23:23:36 +01:00
2022-10-30 21:36:04 +01:00
2022-10-30 23:25:11 +01:00
2022-10-30 23:29:34 +01:00
2022-10-30 23:38:57 +01:00
2022-11-07 23:18:41 +01:00
2022-11-11 23:49:06 +01:00
2022-11-14 23:22:36 +01:00
2022-10-21 20:48:50 +02:00
2022-10-23 20:55:33 +02:00
2022-11-23 22:46:47 +01:00
2022-10-14 16:10:12 +02:00
2022-11-20 14:54:58 +01:00
2022-11-05 21:01:14 +01:00
2022-10-21 20:47:57 +02:00
2022-11-22 23:28:06 +01:00