Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions recipes-kernel/linux/qcom-dtb-metadata_git.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
SUMMARY = "Build qcom-metadata.dtb from vendored qcom-dtb-metadata"
HOMEPAGE = "https://github.com/qualcomm-linux/qcom-dtb-metadata"

LICENSE = "BSD-3-Clause-Clear"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2998c54c288b081076c9af987bdf4838"

DEPENDS = "dtc-native"

SRC_URI = "git://github.com/qualcomm-linux/qcom-dtb-metadata.git;branch=main;protocol=https"

SRCREV = "6b9e4b9c093cba36a80035af103015f0a7d3f9fc"

PV = "0.1+git"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This revision is exactly the v0.1 tag, no need for +git.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also rename the recipe to be specific to the version used, which is v0.1 (instead of _git).


inherit deploy

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do_configure[noexec] = "1"

do_compile() {
oe_runmake
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need, already covered by base.bbclass.


do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
install -m 0644 ${S}/qcom-metadata.dtb ${DEPLOY_DIR_IMAGE}/qcom-metadata.dtb
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

${B} instead

}
addtask deploy after do_compile before do_build