summaryrefslogtreecommitdiff
path: root/strata/bsp-jetson/nouveau-drm.morph
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-11-17 10:52:31 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-11-17 10:52:31 +0000
commit522e5ce8f922a688c1fa715d35445aeebf975336 (patch)
tree0c4fc5cd15bce4758b8393e666fbca3137f55f48 /strata/bsp-jetson/nouveau-drm.morph
parentf7804de43f3a5fd99fc110f120d65555cef41b52 (diff)
parent09c2dc8456b1abc033c79b97646284db113b80ff (diff)
downloaddefinitions-522e5ce8f922a688c1fa715d35445aeebf975336.tar.gz
Merge branch 'baserock/pedroalvarez/unify-jetson-kernel'
This includes the patches from Pedro Alvarez required to make the release. Reviewed-by: Pedro Alvarez Reviewed-by: Sam Thursfield
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)