@@ -99,6 +99,6 @@ FIT_UBOOT_ENV ?= ""
# FIT_LOADABLE_LOADADDRESS[atf] = "0x204E0000"
# FIT_LOADABLE_ENTRYPOINT[atf] = "0x204E0000"
# Sensible defalts will be used for some parameters (compression, description,
-# arch, os) if the corresponding flag is not set, while others (load address
+# arch) if the corresponding flag is not set, while others (os, load address
# and entry point) will be omitted in the final FIT.
FIT_LOADABLES ?= ""
@@ -407,9 +407,11 @@ class ItsNodeRootKernel(ItsNode):
opt_props = {
"data": '/incbin/("' + filepath + '")',
"arch": arch if arch is not None else self._arch,
- "os": fit_os if fit_os is not None else self._os,
}
+
+ if fit_os:
+ opt_props["os"] = fit_os
if load:
opt_props["load"] = f"<{load}>"
if entry: