mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 11:32:30 +00:00
nvidia-kernel-oot: install headers under ${includedir}/${BPN}
Signed-off-by: Daniel Chaves <dchvs11@gmail.com>
This commit is contained in:
committed by
Matt Madison
parent
6ee8c498d8
commit
369d75b204
@@ -93,6 +93,8 @@ do_install() {
|
||||
install -m 0644 ${B}/nvidia-oot/device-tree/platform/generic-dts/dtbs/* ${D}/boot/devicetree/
|
||||
install -d ${D}${includedir}/${BPN}
|
||||
find ${B} -name Module.symvers -type f | xargs sed -e's:${B}/::g' >${D}${includedir}/${BPN}/Module.symvers
|
||||
|
||||
cp -R ${S}/nvidia-oot/include/* ${D}/${includedir}/${BPN}
|
||||
}
|
||||
|
||||
SYSROOT_DIRS += "/boot/devicetree"
|
||||
@@ -102,6 +104,9 @@ module_conf_nvgpu = 'options nvgpu devfreq_timer="delayed"'
|
||||
|
||||
PACKAGES =+ "${PN}-devicetrees ${PN}-display ${PN}-cameras ${PN}-bluetooth ${PN}-wifi ${PN}-canbus ${PN}-virtualization ${PN}-alsa ${PN}-test ${PN}-base"
|
||||
FILES:${PN}-devicetrees = "/boot/devicetree"
|
||||
FILES:${PN}-dev = "\
|
||||
${includedir}/${BPN} \
|
||||
"
|
||||
ALLOW_EMPTY:${PN}-display = "1"
|
||||
ALLOW_EMPTY:${PN}-cameras = "1"
|
||||
ALLOW_EMPTY:${PN}-bluetooth = "1"
|
||||
|
||||
Reference in New Issue
Block a user