summaryrefslogtreecommitdiff
path: root/strata/bsp-jetson/nouveau-drm.morph
diff options
context:
space:
mode:
authorJames Thomas <james.thomas@codethink.co.uk>2014-11-07 16:45:57 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-11-13 17:41:00 +0000
commit8b698b04c94bde6fe82ed63fa752cd5f69143f3c (patch)
tree4d201ed62f9c28fd6f3bd93ed66d18b7501123c4 /strata/bsp-jetson/nouveau-drm.morph
parentc88fab247a5a67c87196222ff0c74a7310394683 (diff)
downloaddefinitions-8b698b04c94bde6fe82ed63fa752cd5f69143f3c.tar.gz
Use only one bsp for both the devel and genivi systems
Diffstat (limited to 'strata/bsp-jetson/nouveau-drm.morph')
-rw-r--r--strata/bsp-jetson/nouveau-drm.morph12
1 files changed, 12 insertions, 0 deletions
diff --git a/strata/bsp-jetson/nouveau-drm.morph b/strata/bsp-jetson/nouveau-drm.morph
new file mode 100644
index 00000000..e297a069
--- /dev/null
+++ b/strata/bsp-jetson/nouveau-drm.morph
@@ -0,0 +1,12 @@
+name: nouveau-drm
+kind: chunk
+build-commands:
+ - cd drm && make ARCH=arm M=$(pwd) -C /usr/src/linux/ modules
+install-commands:
+ - cd drm && make ARCH=arm M="$(pwd)" -C /usr/src/linux/ INSTALL_MOD_PATH="$DESTDIR" modules_install
+system-integration:
+ nouveau-drm-misc:
+ 00-earlyconf:
+ - (cd /lib/modules && for version in *; do rm "$version/kernel/drivers/gpu/drm/nouveau/nouveau.ko"; done)
+ - (cd /lib/modules && for version in *; do rm "$version/kernel/drivers/gpu/drm/nouveau/nouveau_platform.ko"; done)
+ - (cd /lib/modules && for version in *; do depmod -a "$version"; done)