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/rtl8812au-ct/Makefile | |
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/rtl8812au-ct/Makefile')
-rw-r--r-- | package/kernel/rtl8812au-ct/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/rtl8812au-ct/Makefile b/package/kernel/rtl8812au-ct/Makefile index eb2aaa6bf5..c8dd417067 100644 --- a/package/kernel/rtl8812au-ct/Makefile +++ b/package/kernel/rtl8812au-ct/Makefile @@ -44,8 +44,7 @@ NOSTDINC_FLAGS := \ NOSTDINC_FLAGS+=-DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT -DBUILD_OPENWRT define Build/Compile - +$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \ - $(KERNEL_MAKE_FLAGS) \ + +$(KERNEL_MAKE) $(PKG_JOBS) \ M="$(PKG_BUILD_DIR)" \ NOSTDINC_FLAGS="$(NOSTDINC_FLAGS)" \ modules |