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>
3050wip
Leah Rowe 2024-08-11 22:04:08 +01:00 committed by Leah Rowe
parent d66f6e0d5b
commit 7ab22503ab
1 changed files with 2 additions and 1 deletions

View File

@ -299,7 +299,8 @@ patch_release_roms()
patch_rom() 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" \ [ "$CONFIG_HAVE_MRC" = "y" ] && inject "mrc.bin" "$CONFIG_MRC_FILE" \
"mrc" "0xfffa0000" "mrc" "0xfffa0000"