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/lantiq/ltq-vectoring | |
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/lantiq/ltq-vectoring')
-rw-r--r-- | package/kernel/lantiq/ltq-vectoring/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/lantiq/ltq-vectoring/Makefile b/package/kernel/lantiq/ltq-vectoring/Makefile index b7b1b83a07..335cfaa1d5 100644 --- a/package/kernel/lantiq/ltq-vectoring/Makefile +++ b/package/kernel/lantiq/ltq-vectoring/Makefile @@ -51,8 +51,7 @@ define Build/Configure endef define Build/Compile - +$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \ - $(KERNEL_MAKE_FLAGS) \ + +$(KERNEL_MAKE) $(PKG_JOBS) \ M="$(PKG_BUILD_DIR)/$(MAKE_PATH)" \ modules endef |