mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-11 17:34:57 +00:00
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 <mschiffer@universe-factory.net>
(cherry picked from commit a01d23e755
)
This commit is contained in:
parent
5db6914f7c
commit
a7fb589e8a
@ -524,7 +524,7 @@ endif
|
|||||||
define Device/Build/compile
|
define Device/Build/compile
|
||||||
$$(_COMPILE_TARGET): $(KDIR)/$(1)
|
$$(_COMPILE_TARGET): $(KDIR)/$(1)
|
||||||
$(eval $(call Device/Export,$(KDIR)/$(1)))
|
$(eval $(call Device/Export,$(KDIR)/$(1)))
|
||||||
$(KDIR)/$(1):
|
$(KDIR)/$(1): FORCE
|
||||||
$$(call concat_cmd,$(COMPILE/$(1)))
|
$$(call concat_cmd,$(COMPILE/$(1)))
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user