From 539cb5389d9514c99ec1f87bd4465f77c7ed9b93 Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Fri, 23 Jun 2023 18:34:39 +0200 Subject: [PATCH] kernel: qca-nss-dp: simplify compile arguments Instead of manually passing arguments, lets just switch to using $(KERNEL_MAKE). Signed-off-by: Robert Marko --- package/kernel/qca-nss-dp/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/kernel/qca-nss-dp/Makefile b/package/kernel/qca-nss-dp/Makefile index d135ea52d4..3fde14560b 100644 --- a/package/kernel/qca-nss-dp/Makefile +++ b/package/kernel/qca-nss-dp/Makefile @@ -44,13 +44,10 @@ define Build/Configure endef define Build/Compile - +$(MAKE) -C "$(LINUX_DIR)" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - ARCH="$(LINUX_KARCH)" \ + +$(KERNEL_MAKE) $(PKG_JOBS) \ + -C "$(LINUX_DIR)" \ M="$(PKG_BUILD_DIR)" \ EXTRA_CFLAGS="$(EXTRA_CFLAGS)" SoC="$(CONFIG_TARGET_SUBTARGET)" \ - $(KERNEL_MAKE_FLAGS) \ - $(PKG_JOBS) \ modules endef -- 2.30.2