Browse Source

kernel: qca-nss-dp: simplify compile arguments

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

Signed-off-by: Robert Marko <[email protected]>
Robert Marko 2 years ago
parent
commit
539cb5389d
1 changed files with 2 additions and 5 deletions
  1. 2 5
      package/kernel/qca-nss-dp/Makefile

+ 2 - 5
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