Merge "rb5.mk: Skip installing Venus driver modules for now"
diff --git a/rb5.mk b/rb5.mk
index 06e648e..dc70674 100644
--- a/rb5.mk
+++ b/rb5.mk
@@ -21,6 +21,7 @@
 ifeq ($(RB5_USES_GKI), true)
   RB5_MODS := $(wildcard $(RB5_KERNEL_DIR)/*.ko)
   ifneq ($(RB5_MODS),)
-    BOARD_VENDOR_RAMDISK_KERNEL_MODULES += $(RB5_MODS)
+    RB5_SKIP_MODS := %/venus-core.ko %/venus-dec.ko %/venus-enc.ko
+    BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(filter-out $(RB5_SKIP_MODS),$(RB5_MODS))
   endif
 endif