In the modules_install target, the current top level Makefile sets DEPMOD to user/busybox/depmod.pl. The latest 2.4/2.6 kernels try to run this perl script as depmod, but it's not compatible with the kernel's argument format.
This proposed patch disables the kernel's DEPMOD and runs the busybox script separately. --- Makefile 11 May 2009 20:18:42 -0000 1.14 +++ Makefile 28 May 2010 14:44:57 -0000 @@ -202,7 +202,8 @@ modules_install: . $(LINUXDIR)/.config; if [ "$$CONFIG_MODULES" = "y" ]; then \ [ -d $(ROMFSDIR)/lib/modules ] || mkdir -p $(ROMFSDIR)/lib/modules; \ - $(MAKEARCH_KERNEL) -C $(LINUXDIR) INSTALL_MOD_PATH=$(ROMFSDIR) DEPMOD="../user/busybox/examples/depmod.pl" modules_install; \ + $(MAKEARCH_KERNEL) -C $(LINUXDIR) INSTALL_MOD_PATH=$(ROMFSDIR) DEPMOD="true" modules_install; \ + user/busybox/examples/depmod.pl -b $(ROMFSDIR)/lib/modules -F $(LINUXDIR)/System.map; \ rm -f $(ROMFSDIR)/lib/modules/*/build; \ find $(ROMFSDIR)/lib/modules -type f -name "*o" | xargs -r $(STRIP) -R .comment -R .note -g; \ fi _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev