From e48e15bff425241ec65f5f892cfd1d2c17a19d67 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Mon, 1 Nov 2021 12:35:38 +0100 Subject: 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 --- toolchain/linux-headers/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'toolchain/linux-headers') diff --git a/toolchain/linux-headers/Makefile b/toolchain/linux-headers/Makefile index 6ed1a0d55..b2aed50ed 100644 --- a/toolchain/linux-headers/Makefile +++ b/toolchain/linux-headers/Makefile @@ -44,9 +44,7 @@ endif touch $@ $(WRKBUILD)/.configured: $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/linux-$(KERNEL_FILE_VER)/.patched - $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \ - INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)/usr \ - headers_install + ${KERNEL_MAKE} INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)/usr headers_install ifeq ($(ADK_TARGET_ARCH_CRIS),y) ifeq ($(ADK_TARGET_CPU_ARCH),crisv32) cd $(STAGING_TARGET_DIR)/usr/include && ln -sf arch-v32/arch arch -- cgit v1.2.3