Commit a3bb6f48 authored by Lucas Russo's avatar Lucas Russo

Makefile: generate modules deps (depmod) on install

parent 2e479126
...@@ -10,6 +10,7 @@ OBJDUMP ?= $(CROSS_COMPILE)objdump ...@@ -10,6 +10,7 @@ OBJDUMP ?= $(CROSS_COMPILE)objdump
OBJCOPY ?= $(CROSS_COMPILE)objcopy OBJCOPY ?= $(CROSS_COMPILE)objcopy
SIZE ?= $(CROSS_COMPILE)size SIZE ?= $(CROSS_COMPILE)size
MAKE ?= make MAKE ?= make
MAKE ?= depmod
# Select board in which we will work. Options are: ml605 or afcv3 # Select board in which we will work. Options are: ml605 or afcv3
BOARD ?= ml605 BOARD ?= ml605
...@@ -343,6 +344,7 @@ endif ...@@ -343,6 +344,7 @@ endif
# Install just the driver and lib, not udev rules # Install just the driver and lib, not udev rules
pcie_driver_install: pcie_driver_install:
$(MAKE) -C $(PCIE_DRIVER_DIR) core_driver_install lib_driver_install $(MAKE) -C $(PCIE_DRIVER_DIR) core_driver_install lib_driver_install
$(DEPMOD) -a
pcie_driver_uninstall: pcie_driver_uninstall:
$(MAKE) -C $(PCIE_DRIVER_DIR) core_driver_uninstall lib_driver_uninstall $(MAKE) -C $(PCIE_DRIVER_DIR) core_driver_uninstall lib_driver_uninstall
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment