From a01d23e755ba46f41e667d558d82d4871d7f5450 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 27 Mar 2022 23:15:48 +0200 Subject: [PATCH] image: always rebuild kernel loaders Kernel loaders like the lzma-loader currently don't track changes to their sources. This can lead to an old version of a loader to be used when a build tree is not clean between builds. As the loaders are tiny and the build times are insignificant, simply force rebuilding them on every build to avoid this problem. Signed-off-by: Matthias Schiffer --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.mk b/include/image.mk index 9e4e999581685..b3dfc9019aedb 100644 --- a/include/image.mk +++ b/include/image.mk @@ -517,7 +517,7 @@ endif define Device/Build/compile $$(_COMPILE_TARGET): $(KDIR)/$(1) $(eval $(call Device/Export,$(KDIR)/$(1))) - $(KDIR)/$(1): + $(KDIR)/$(1): FORCE $$(call concat_cmd,$(COMPILE/$(1))) endef