When using the modern Kconfig as config system, changes to
the config file did not trigger a rebuild of the image.

Steps to reproduce:
$ ptxdist targetinstall u-boot
 <image is build>
$ ptxdist menuconfig u-boot
 <change any option>
$ ptxdist targetinstall u-boot
 <all up-to-date>

Signed-off-by: Bruno Thomsen <[email protected]>
---
 rules/u-boot.make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/u-boot.make b/rules/u-boot.make
index 04d801fc6..4a4bd3f85 100644
--- a/rules/u-boot.make
+++ b/rules/u-boot.make
@@ -30,6 +30,7 @@ U_BOOT_BUILD_OOT      := KEEP
 ifdef PTXCONF_U_BOOT_CONFIGSYSTEM_KCONFIG
 U_BOOT_CONFIG  := $(call ptx/in-platformconfigdir, \
                $(call remove_quotes, $(PTXCONF_U_BOOT_CONFIGFILE_KCONFIG)))
+$(STATEDIR)/u-boot.compile: $(U_BOOT_CONFIG)
 endif
 
 # ----------------------------------------------------------------------------
-- 
2.23.0


_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to