Skip to content

Commit 0ea7450

Browse files
committed
cbfstool: fetch submodule in do_fetch instead of do_configure
Signed-off-by: Michał Iwanicki <[email protected]>
1 parent 87e7f94 commit 0ea7450

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

recipes-bsp/coreboot-utils/cbfstool_git.bb

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ require coreboot-utils.inc
22

33
SUMMARY = "Tool for manipulating CBFS file"
44

5+
SRC_URI += " \
6+
git://review.coreboot.org/vboot.git;destsuffix=git/3rdparty/vboot;name=vboot;protocol=https;branch=main \
7+
"
8+
9+
SRCREV_vboot = "0c11187c755394683d1b75bdb103cb1959fa6d40"
10+
SRCREV_FORMAT = "vboot"
11+
512
TARGET_CC_ARCH += "${LDFLAGS}"
613

714
EXTRA_OEMAKE = " \
@@ -11,12 +18,6 @@ EXTRA_OEMAKE = " \
1118

1219
INSANE_SKIP:${PN} = "textrel"
1320

14-
do_configure:prepend () {
15-
cd ${S}
16-
git submodule update --init 3rdparty/vboot
17-
cd -
18-
}
19-
2021
do_compile () {
2122
oe_runmake -C util/cbfstool cbfstool
2223
}

0 commit comments

Comments
 (0)