hikey960: 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: Joakim Bech <joakim.bech@linaro.org>
diff --git a/hikey960.mk b/hikey960.mk
index fbb91e2..cc56479 100644
--- a/hikey960.mk
+++ b/hikey960.mk
@@ -155,7 +155,7 @@
LOCALVERSION= \
gen_init_cpio
-LINUX_COMMON_FLAGS += ARCH=arm64 Image modules hisilicon/hi3660-hikey960.dtb
+LINUX_COMMON_FLAGS += ARCH=arm64 Image hisilicon/hi3660-hikey960.dtb
.PHONY: linux
linux: linux-common