David Lechner | 7d4a2f2 | 2016-11-01 22:15:55 -0500 | [diff] [blame] | 1 | ################################################################################ |
David Lechner | 7d4a2f2 | 2016-11-01 22:15:55 -0500 | [diff] [blame] | 2 | # |
| 3 | # Patch the linux kernel with ev3dev extension |
Ricardo Martincoski | 50e6486 | 2018-04-01 02:08:22 -0300 | [diff] [blame] | 4 | # |
David Lechner | 7d4a2f2 | 2016-11-01 22:15:55 -0500 | [diff] [blame] | 5 | ################################################################################ |
| 6 | |
| 7 | LINUX_EXTENSIONS += ev3dev-linux-drivers |
| 8 | |
| 9 | define EV3DEV_LINUX_DRIVERS_PREPARE_KERNEL |
| 10 | mkdir -p $(LINUX_DIR)/drivers/lego |
| 11 | cp -dpfr $(EV3DEV_LINUX_DRIVERS_DIR)/* $(LINUX_DIR)/drivers/lego/ |
| 12 | endef |