From: Robert Marko Date: Fri, 23 Jun 2023 16:34:39 +0000 (+0200) Subject: kernel: qca-nss-dp: simplify compile arguments X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=539cb5389d9514c99ec1f87bd4465f77c7ed9b93;p=openwrt%2Fstaging%2Fneocturne.git kernel: qca-nss-dp: simplify compile arguments Instead of manually passing arguments, lets just switch to using $(KERNEL_MAKE). Signed-off-by: Robert Marko --- 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