From c6fe5f44c28b80602f9282741a4c46daa0e8d067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Trzci=C5=84ski?= Date: Wed, 21 Oct 2020 01:25:23 +0200 Subject: [PATCH] ayufan: dev.mk: add `kernel-update-modules` --- dev.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev.mk b/dev.mk index 92380d3a04a186..bc997547fb3255 100644 --- a/dev.mk +++ b/dev.mk @@ -48,6 +48,12 @@ kernel-image-and-modules: .config .scmversion kernel-package: .config .scmversion KDEB_PKGVERSION=$(KDEB_PKGVERSION) $(KERNEL_MAKE) bindeb-pkg -j$$(nproc) +.PHONY: kernel-update-modules +kernel-update-modules: .config .scmversion + $(KERNEL_MAKE) modules -j$$(nproc) + $(KERNEL_MAKE) modules_install INSTALL_MOD_PATH=$(CURDIR)/out/linux_modules + rsync --partial --checksum -av out/linux_modules/lib/modules/$(KERNEL_RELEASE) root@$(REMOTE_HOST):$(REMOTE_DIR)/lib/modules + .PHONY: kernel-update-dts kernel-update-dts: .config .scmversion $(KERNEL_MAKE) dtbs -j$$(nproc) @@ -57,4 +63,4 @@ kernel-update-dts: .config .scmversion kernel-update-image: .scmversion rsync --partial --checksum -rv arch/arm64/boot/Image root@$(REMOTE_HOST):$(REMOTE_DIR)/boot/vmlinuz-$(KERNEL_RELEASE) rsync --partial --checksum --include="*.dtb" -rv arch/arm64/boot/dts/rockchip root@$(REMOTE_HOST):$(REMOTE_DIR)/boot/dtbs/$(KERNEL_RELEASE) - rsync --partial --checksum -av out/linux_modules/lib/modules/$(KERNEL_RELEASE) root@$(REMOTE_HOST):$(REMOTE_DIR)/lib/modules/$(KERNEL_RELEASE) + rsync --partial --checksum -av out/linux_modules/lib/modules/$(KERNEL_RELEASE) root@$(REMOTE_HOST):$(REMOTE_DIR)/lib/modules