From f956591bbe246fae0dc4ed9b6d911bcec526463f Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Thu, 13 Oct 2016 13:06:09 +0300 Subject: 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 --- conf/distro/include/tegra.inc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 conf/distro/include/tegra.inc (limited to 'conf/distro/include/tegra.inc') 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 @@ +python set_nv_drv_version () { + # Boiler plate code to setup bitbake objects + d = e.data + + nv_drv_version = d.getVar('NV_DRV_VER', True) + if nv_drv_version != "ignore": + # FIXME: When we add support to internal builds, both debug and release + # builds will need to be considered + path = d.getVar('PLATFORM_TOPDIR', True) + get_nv_drv_cmd = "strings " + path + "/lib-target/nvidia_drv.so \ +| grep -o -P '(?<=Driver ).*(?=Release)' | awk {'print $1'}" + # Execute cmd + nv_drv_version = bb.process.run(get_nv_drv_cmd)[0].strip() + # Store returned value in NV_DRV_VER + d.setVar('NV_DRV_VER', nv_drv_version) +} + -- cgit v1.2.3-54-g00ecf