commit | e963088f0f29d9ac12b5598c36a0cd6c4a014be4 | [log] [tgz] |
---|---|---|
author | Captain Throwback <captainthrowback@hotmail.com> | Thu Apr 14 20:13:10 2022 -0400 |
committer | bigbiff <bigbiff@teamw.in> | Sat May 28 17:46:40 2022 +0000 |
tree | 17e1027fd6a1d1c7703a966b07617692589282a6 | |
parent | bb7f0ba2a7d478858788a6331b921181d504569d [diff] [blame] |
twrp-depmod: only run when TW_LOAD_VENDOR_MODULES is set (1/2) Change-Id: Iaa2b16adf3eeb9696ba2d217f1003abf4a6f0f44
diff --git a/twrp.cpp b/twrp.cpp index dcc5764..69c8218 100644 --- a/twrp.cpp +++ b/twrp.cpp
@@ -44,7 +44,11 @@ #include "twcommon.h" #include "twrp-functions.hpp" #include "data.hpp" + +#ifdef TW_LOAD_VENDOR_MODULES #include "kernel_module_loader.hpp" +#endif + #include "partitions.hpp" #ifdef __ANDROID_API_N__ #include <android-base/strings.h>