diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2022-12-14 22:34:19 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-12-17 20:12:31 +0100 |
commit | 243a7256c154a912d9716d98dc33e9b0dc856cb5 (patch) | |
tree | 3f147930f46a5fa8b16dbb1a19f0830c3809ab12 /package/kernel/ath10k-ct | |
parent | 06ad3adeecc27859313e60c173c435d45ac2b345 (diff) | |
download | upstream-243a7256c154a912d9716d98dc33e9b0dc856cb5.tar.gz upstream-243a7256c154a912d9716d98dc33e9b0dc856cb5.tar.bz2 upstream-243a7256c154a912d9716d98dc33e9b0dc856cb5.zip |
kernel: Make use of KERNEL_MAKE
Make use of KERNEL_MAKE in kernel packages were easily possible.
This moves some more code to common places and reduces the number of
lines.
It is defined like this:
KERNEL_MAKE = $(MAKE) $(KERNEL_MAKEOPTS)
KERNEL_MAKEOPTS = -C $(LINUX_DIR) $(KERNEL_MAKE_FLAGS)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/ath10k-ct')
-rw-r--r-- | package/kernel/ath10k-ct/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/ath10k-ct/Makefile b/package/kernel/ath10k-ct/Makefile index 0c1334cc46..2a8c0a421c 100644 --- a/package/kernel/ath10k-ct/Makefile +++ b/package/kernel/ath10k-ct/Makefile @@ -111,8 +111,7 @@ ifneq ($(findstring c,$(OPENWRT_VERBOSE)),) endif define Build/Compile - +$(MAKE) $(CT_MAKEDEFS) $(PKG_JOBS) -C "$(LINUX_DIR)" \ - $(KERNEL_MAKE_FLAGS) \ + +$(KERNEL_MAKE) $(CT_MAKEDEFS) $(PKG_JOBS) \ M="$(PKG_BUILD_DIR)/ath10k$(CT_KVER)" \ NOSTDINC_FLAGS="$(NOSTDINC_FLAGS)" \ modules |