Skip to content

Commit

Permalink
Merge pull request #513 from lumag/update-fw
Browse files Browse the repository at this point in the history
firmware-nexus: fix firmware-nexus* dependencies
  • Loading branch information
lumag authored Apr 28, 2023
2 parents 5a179b8 + 9548f31 commit f5f4f08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion recipes-bsp/firmware-nexus/firmware-qcom-nexus.inc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ do_extract() {
tail -n +315 ${WORKDIR}/extract-qcom-${FW_QCOM_NAME}.sh | tar xzfv - -C ${S}
}
addtask extract after do_unpack before do_patch
do_extract[deptask] = "do_populate_sysroot"

do_compile() {
for fw in ${S}/vendor/qcom/${FW_QCOM_NAME}/proprietary/*.mdt ; do
Expand Down
4 changes: 2 additions & 2 deletions recipes-bsp/firmware-nexus/firmware-qcom-pixel.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PV = "${AOSP_BUILD}"

require recipes-bsp/firmware/firmware-qcom.inc

DEPENDS += "pil-squasher-native rust-android-sparse-native e2fsprogs-native qc-image-unpacker-native mtools-native"
DEPENDS += "pil-squasher-native"

VENDOR_IMG_SPARSE ?= "1"

Expand Down Expand Up @@ -50,7 +50,7 @@ do_extract() {
fi
}
addtask extract after do_unpack before do_patch
do_extract[deptask] = "do_populate_sysroot"
do_extract[depends] += "rust-android-sparse-native:do_populate_sysroot e2fsprogs-native:do_populate_sysroot qc-image-unpacker-native:do_populate_sysroot mtools-native:do_populate_sysroot"

do_compile() {
for fw in ${B}/firmware/*.mdt ; do
Expand Down
4 changes: 3 additions & 1 deletion recipes-bsp/firmware-nexus/firmware-qcom-radio.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FACTORY_NAME ?= "${FW_QCOM_NAME}"
SRC_URI += "https://dl.google.com/dl/android/aosp/${FACTORY_NAME}-${AOSP_BUILD}-factory-${CHECKSUM_factory}.zip;name=factory"

DEPENDS += "pil-squasher-native qc-image-unpacker-native mtools-native"
DEPENDS += "pil-squasher-native qc-image-unpacker-native"

do_extract[depends] += "mtools-native:do_populate_sysroot"

do_extract:append() {
mkdir -p ${B}/radio
Expand Down

0 comments on commit f5f4f08

Please sign in to comment.