summaryrefslogtreecommitdiff
path: root/baserock/strata/bsp-jetson/nouveau-drm.morph
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2015-09-25 08:47:49 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2015-09-26 08:27:41 +0100
commit3a2f641e4e70e76ffa77629c6208970c1a7af667 (patch)
treee6635788976c616017c05b5ea93432f9b2dc769e /baserock/strata/bsp-jetson/nouveau-drm.morph
parentc844667a718e8640d9ae2b7640a3b0dc0fb53b0e (diff)
downloaddefinitions-3a2f641e4e70e76ffa77629c6208970c1a7af667.tar.gz
Proposed re-org of definitions repobaserock/ps/reorganise-definitions
Diffstat (limited to 'baserock/strata/bsp-jetson/nouveau-drm.morph')
-rw-r--r--baserock/strata/bsp-jetson/nouveau-drm.morph14
1 files changed, 14 insertions, 0 deletions
diff --git a/baserock/strata/bsp-jetson/nouveau-drm.morph b/baserock/strata/bsp-jetson/nouveau-drm.morph
new file mode 100644
index 00000000..218091f4
--- /dev/null
+++ b/baserock/strata/bsp-jetson/nouveau-drm.morph
@@ -0,0 +1,14 @@
+name: nouveau-drm
+kind: chunk
+build-commands:
+- sed -e 's/.*android\/sync.*/#ifdef CONFIG_SYNC\n&\n#endif/' -i drm/nouveau/nouveau_fence.c
+- cd drm/nouveau && make ARCH=arm M=$(pwd) -C /usr/src/linux/ modules
+install-commands:
+- cd drm/nouveau && 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 depmod -a "$version"; done)