Merge "do not clear output kernel module directory" am: 733ad20963 am: d8d9a50090

Change-Id: I56f8286c33e018b40862c669e5ef3e9bb21a889f
This commit is contained in:
Automerger Merge Worker 2020-02-21 01:28:43 +00:00
commit 19c6758950

View file

@ -766,7 +766,6 @@ $(3)/$(DEPMOD_STAGING_SUBDIR)/modules.dep: $(1) $(6)
$(if $(6),\
unzip -qo -d $$(PRIVATE_MODULE_DIR) $$(PRIVATE_MODULE_ARCHIVE); \
mkdir -p $$(PRIVATE_OUTPUT_DIR)/lib; \
rm -rf $$(PRIVATE_OUTPUT_DIR)/lib/modules; \
cp -r $$(PRIVATE_MODULE_DIR) $$(PRIVATE_OUTPUT_DIR)/lib/; \
find $$(PRIVATE_MODULE_DIR) -type f -name *.ko | xargs basename -a > $$(PRIVATE_LOAD_FILE); \
)