mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-28 19:12:39 +00:00
27 lines
782 B
BlitzBasic
27 lines
782 B
BlitzBasic
DESCRIPTION = "Release version information file from L4T"
|
|
L4T_DEB_COPYRIGHT_MD5 = "8dc9729e1dc38aac4adb4bd6f6e3b370"
|
|
|
|
L4T_DEB_TRANSLATED_BPN = "nvidia-l4t-core"
|
|
|
|
require tegra-debian-libraries-common.inc
|
|
|
|
MAINSUM = "06e58e0decd9af534b3eeb23958ff9cb95d61079f2af443ec3908957a2d7e82b"
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
B = "${WORKDIR}/build"
|
|
|
|
do_compile() {
|
|
head -n 1 ${S}/etc/nv_tegra_release > ${B}/nv_tegra_release
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${sysconfdir} ${D}${datadir}/nv_tegra
|
|
install -m 0644 ${B}/nv_tegra_release ${D}${sysconfdir}
|
|
# stash a copy under /usr/share for use by tools, since /etc doesn't get into build sysroots
|
|
install -m 0644 ${B}/nv_tegra_release ${D}${datadir}/nv_tegra
|
|
}
|
|
|
|
FILES:${PN} = "${sysconfdir}"
|
|
FILES:${PN}-dev = "${datadir}/nv_tegra"
|