Bug:
220644706
Test: make and find the private modules in dist.
Change-Id: I870ef0ee9ba4a460734b5e2ead23d73f8db7c0f7
modules_install:
$(MAKE) INSTALL_MOD_STRIP=1 M=$(M)/drivers -C $(KERNEL_SRC) modules_install
- mkdir -p ${OUT_DIR}/../vendor_lib/modules
- cd ${OUT_DIR}/$(M)/; find -name "*.ko" -exec cp {} ${OUT_DIR}/../vendor_lib/modules/ \;
- mkdir -p ${OUT_DIR}/../vendor_lib/firmware/video
- cp $(KERNEL_SRC)/$(M)/firmware/* ${OUT_DIR}/../vendor_lib/firmware/video/
+ mkdir -p ${OUT_DIR}/private/modules
+ cd ${OUT_DIR}/$(M)/; find -name "*.ko" -exec cp {} ${OUT_DIR}/private/modules/ \;
+ mkdir -p ${OUT_DIR}/private/firmware/video
+ cp $(KERNEL_SRC)/$(M)/firmware/* ${OUT_DIR}/private/firmware/video/
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean