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