diff options
author | Phil Sutter <phil@nwl.cc> | 2021-11-01 12:35:38 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2021-11-01 15:16:19 +0100 |
commit | e48e15bff425241ec65f5f892cfd1d2c17a19d67 (patch) | |
tree | 0ce13510364096f891c7777204a2220404aa226f /package/perf/Makefile | |
parent | 2b3bd34a82c6238a9612cf45b8b8730ca0c3c2be (diff) |
mk: Introduce KERNEL_MAKE variable
This combines the typical kernel make call idiom into a single variable
reference. A side-effect is that parallel make is enabled (via added
'-j' flag) in many cases, but that shouldn't cause harm.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/perf/Makefile')
-rw-r--r-- | package/perf/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/package/perf/Makefile b/package/perf/Makefile index 2e7188c14..61680c399 100644 --- a/package/perf/Makefile +++ b/package/perf/Makefile @@ -28,12 +28,10 @@ BUILD_STYLE:= manual INSTALL_STYLE:= manual do-build: - $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" \ - $(KERNEL_MAKE_OPTS) WERROR=0 -C "$(LINUX_DIR)/tools/perf" all + ${KERNEL_MAKE} WERROR=0 -C "$(LINUX_DIR)/tools/perf" all do-install: - $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" \ - $(KERNEL_MAKE_OPTS) WERROR=0 -C "$(LINUX_DIR)/tools/perf" \ + ${KERNEL_MAKE} WERROR=0 -C "$(LINUX_DIR)/tools/perf" \ prefix="$(WRKINST)" install perf-install: |