diff options
| author | Samuli Piippo <samuli.piippo@qt.io> | 2016-10-13 13:06:09 +0300 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@qt.io> | 2016-10-14 10:22:37 +0000 |
| commit | f956591bbe246fae0dc4ed9b6d911bcec526463f (patch) | |
| tree | 6a0da0066d8b9850cf913287ea55872041c67411 /conf/distro/include/tegra.inc | |
| parent | 776b174f4b54f8913933a67392f1cc3fa1085506 (diff) | |
| download | meta-boot2qt-f956591bbe246fae0dc4ed9b6d911bcec526463f.tar.gz | |
Revert "tegra: update to latest vibrante pdk"
Problems with eglfs, so revert back to previous PDK.
This reverts commit 323408406d9133a5462a24fea4ec86e649088180.
Change-Id: I3ee36809cb823aefdc03f8a24d052c2a76f308db
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Diffstat (limited to 'conf/distro/include/tegra.inc')
| -rw-r--r-- | conf/distro/include/tegra.inc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/conf/distro/include/tegra.inc b/conf/distro/include/tegra.inc new file mode 100644 index 0000000..618a634 --- /dev/null +++ b/conf/distro/include/tegra.inc | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | python set_nv_drv_version () { | ||
| 2 | # Boiler plate code to setup bitbake objects | ||
| 3 | d = e.data | ||
| 4 | |||
| 5 | nv_drv_version = d.getVar('NV_DRV_VER', True) | ||
| 6 | if nv_drv_version != "ignore": | ||
| 7 | # FIXME: When we add support to internal builds, both debug and release | ||
| 8 | # builds will need to be considered | ||
| 9 | path = d.getVar('PLATFORM_TOPDIR', True) | ||
| 10 | get_nv_drv_cmd = "strings " + path + "/lib-target/nvidia_drv.so \ | ||
| 11 | | grep -o -P '(?<=Driver ).*(?=Release)' | awk {'print $1'}" | ||
| 12 | # Execute cmd | ||
| 13 | nv_drv_version = bb.process.run(get_nv_drv_cmd)[0].strip() | ||
| 14 | # Store returned value in NV_DRV_VER | ||
| 15 | d.setVar('NV_DRV_VER', nv_drv_version) | ||
| 16 | } | ||
| 17 | |||
