From 3a0a0646e57400e31ed9fe9be0f0a22844fd87be Mon Sep 17 00:00:00 2001
From: Jerome Forissier <jerome.forissier@linaro.org>
Date: Wed, 6 Mar 2019 14:24:38 +0100
Subject: [PATCH] hikey: do not build kernel modules

We currently do not copy any kernel module into our root FS, they are
not needed. Therefore, drop the "modules" target when building the
kernel to save compile time.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
---
 hikey.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hikey.mk b/hikey.mk
index d6e73e1..d20765f 100644
--- a/hikey.mk
+++ b/hikey.mk
@@ -170,7 +170,7 @@ linux-gen_init_cpio: linux-defconfig
 		LOCALVERSION= \
 		gen_init_cpio
 
-LINUX_COMMON_FLAGS += ARCH=arm64 Image modules hisilicon/hi6220-hikey.dtb
+LINUX_COMMON_FLAGS += ARCH=arm64 Image hisilicon/hi6220-hikey.dtb
 
 .PHONY: linux
 linux: linux-common
-- 
GitLab