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/rtc-rv5c386a/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/rtc-rv5c386a/Makefile')
-rw-r--r-- | package/kernel/rtc-rv5c386a/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/rtc-rv5c386a/Makefile b/package/kernel/rtc-rv5c386a/Makefile index 0cca78548a..7c18942ffe 100644 --- a/package/kernel/rtc-rv5c386a/Makefile +++ b/package/kernel/rtc-rv5c386a/Makefile @@ -22,8 +22,7 @@ define KernelPackage/rtc-rv5c386a endef define Build/Compile - $(MAKE) -C "$(LINUX_DIR)" \ - $(KERNEL_MAKE_FLAGS) \ + $(KERNEL_MAKE) \ M="$(PKG_BUILD_DIR)" \ EXTRA_CFLAGS="$(BUILDFLAGS)" \ modules |