Bug:
220644706
Test: make and find the private modules in dist.
Change-Id: I6d93347c1617a28e139cd4979ae0b09c960cf684
modules_install:
$(MAKE) INSTALL_MOD_STRIP=1 M=$(M)/drivers -C $(KERNEL_SRC) modules_install
- 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/
+ 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