summaryrefslogtreecommitdiff
path: root/strata/bsp-jetson/nouveau-drm.morph
blob: e297a069d62856157f8eab7d9a9e35a2f47c4411 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)