1
0
Fork 0

Makefile: do not run depmod manually

The kernel build infrastructure already runs depmod properly in its
modules_install target, doing so in a cross-compilation friendly way. Running it
with no arguments is useless and also harmful since it breaks cross-compilation
contexts by scanning dependencies on the modules installed on the host instead
of those being built for the target.

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
master
Andrea Galbusera 8 years ago
parent e65f4ce1ee
commit e56631aa07

@ -21,7 +21,6 @@ modules:
$(MAKE) -C $(KERNELDIR) M=$(PWD) PROJECT_DIR=$(PWD) modules
modules_install:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
@depmod
endif
.PHONY: clean
clean:

Loading…
Cancel
Save