The path prefix '/boot' should be added either when assigning
BLSPEC_KERNEL_IMAGE or when replacing @KERNEL@, but not in both cases.
Results in wrong paths like this otherwise:
linux /boot//boot/linux.fit
Fixes: 0cfba65d15e6 ("image-kernel-fit: Add package")
Signed-off-by: Alexander Dahl <[email protected]>
---
rules/blspec-entry.make | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules/blspec-entry.make b/rules/blspec-entry.make
index 7523009f6..442159401 100644
--- a/rules/blspec-entry.make
+++ b/rules/blspec-entry.make
@@ -30,7 +30,7 @@ endif
BLSPEC_ENTRY_LICENSE = ignore
ifdef PTXCONF_KERNEL_FIT
-BLSPEC_KERNEL_IMAGE = /boot/linux.fit
+BLSPEC_KERNEL_IMAGE = linux.fit
else
BLSPEC_KERNEL_IMAGE = $(KERNEL_IMAGE)
endif
--
2.39.2