kernel: qca-nss-dp: simplify compile arguments

Instead of manually passing arguments, lets just switch to using
$(KERNEL_MAKE).

Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Robert Marko 2023-06-23 18:34:39 +02:00 committed by Christian Marangi
parent 4ee444b5da
commit 539cb5389d
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -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