On Sat, 15 Dec 2018 at 08:05, Yousong Zhou <[email protected]> wrote: > > On Sat, 15 Dec 2018 at 06:00, Rafał Miłecki <[email protected]> wrote: > > > > I've noticed a problem with kmod-phy-bcm-ns-usb2 defined in the > > target/linux/bcm53xx/modules.mk > > > > Steps to reproduce: > > 1) Setup .config with: > > CONFIG_TARGET_bcm53xx > > CONFIG_TARGET_MULTI_PROFILE > > TARGET_ALL_PROFILES > > CONFIG_TARGET_PER_DEVICE_ROOTFS > > 2) make V=s > > 3) vim > > build_dir/target-*/linux-*/linux-*/drivers/phy/broadcom/phy-bcm-ns-usb2.c > > 4) make V=s > > > > That will result in rebuilding: > > build_dir/target-*/linux-*/linux-*/drivers/phy/broadcom/phy-bcm-ns-usb2.ko > > (expected). > > > > However it won't update: > > build_dir/target-*/linux-*/target-dir-*/lib/modules/4.14.88/phy-bcm-ns-usb2.ko > > > > I've bisected/notices it's caused by using: > > $(LINUX_DIR)/drivers/phy/[email protected] \ > > $(LINUX_DIR)/drivers/phy/broadcom/[email protected] > > > > If I drop old kernel compatibility and simply use: > > $(LINUX_DIR)/drivers/phy/broadcom/phy-bcm-ns-usb2.ko > > the problem disappears. > > Probably because kmod .ipk was not rebuilt. How about also applying > version_filter $(FILES) in the following line [1] > > $$(IPKG_kmod-$(1)): $$(wildcard $$(FILES)) > > [1] > https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=include/kernel.mk;h=38613756c71d8d5511a72849354bf818f57043ea;hb=HEAD#l262
Can you provide a diff or at least a complete line I should replace above one with, please? -- Rafał _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
