diff options
author | James Thomas <james.thomas@codethink.co.uk> | 2014-10-22 12:06:57 +0100 |
---|---|---|
committer | James Thomas <james.thomas@codethink.co.uk> | 2014-10-22 12:06:57 +0100 |
commit | 614c2c97b9fa9944679e89752cd7548b3c51cff2 (patch) | |
tree | 20d89eefea45ddfcbc1499e7d7fee03726a39205 | |
parent | f9028e92a093624e39a6ad196fd59dd5926782c0 (diff) | |
download | definitions-614c2c97b9fa9944679e89752cd7548b3c51cff2.tar.gz |
Remove any existing nouveau drivers before running depmod
This means we use the out-of-tree module located in extra/
-rw-r--r-- | strata/bsp-jetson-genivi/nouveau-drm.morph | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/strata/bsp-jetson-genivi/nouveau-drm.morph b/strata/bsp-jetson-genivi/nouveau-drm.morph index e89df38b..e297a069 100644 --- a/strata/bsp-jetson-genivi/nouveau-drm.morph +++ b/strata/bsp-jetson-genivi/nouveau-drm.morph @@ -1,10 +1,12 @@ name: nouveau-drm kind: chunk build-commands: - - cd drm && make M=$(pwd) -C /usr/src/linux/ modules + - cd drm && make ARCH=arm M=$(pwd) -C /usr/src/linux/ modules install-commands: - - cd drm && make M="$(pwd)" -C /usr/src/linux/ INSTALL_MOD_PATH="$DESTDIR" modules_install + - 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) |