Skip to content

Commit

Permalink
image: always rebuild kernel loaders
Browse files Browse the repository at this point in the history
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 <mschiffer@universe-factory.net>
  • Loading branch information
neocturne authored and blocktrron committed Oct 14, 2022
1 parent 2fa53c9 commit a01d23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/image.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a01d23e

Please sign in to comment.