vendor.sh: use readkconfig on inject too

same as the last change. we must avoid use of make variables,
in sh specifically, when handling these configuration files.

Signed-off-by: Leah Rowe <info@minifree.org>
This commit is contained in:
Leah Rowe
2024-08-11 22:04:08 +01:00
committed by Leah Rowe
parent d66f6e0d5b
commit 7ab22503ab
+2 -1
View File
@@ -299,7 +299,8 @@ patch_release_roms()
patch_rom()
{
rom="$1"; . "$(check_defconfig "$boarddir")" 2>/dev/null || exit 0
rom="$1"
readkconfig || exit 0
[ "$CONFIG_HAVE_MRC" = "y" ] && inject "mrc.bin" "$CONFIG_MRC_FILE" \
"mrc" "0xfffa0000"