summaryrefslogtreecommitdiff
path: root/package/glibc/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-11-01 12:35:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-11-01 15:16:19 +0100
commite48e15bff425241ec65f5f892cfd1d2c17a19d67 (patch)
tree0ce13510364096f891c7777204a2220404aa226f /package/glibc/Makefile
parent2b3bd34a82c6238a9612cf45b8b8730ca0c3c2be (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/glibc/Makefile')
-rw-r--r--package/glibc/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/package/glibc/Makefile b/package/glibc/Makefile
index ec0d385a0..b046edda2 100644
--- a/package/glibc/Makefile
+++ b/package/glibc/Makefile
@@ -113,11 +113,7 @@ endif
cd $(IDIR_GLIBC_DEV)/$(ADK_TARGET_LIBC_PATH); ln -sf $$file-$(PKG_GLIBCVER).so $$file.so; \
done
# header package
- ${KERNEL_MAKE_ENV} \
- $(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-linux-$(KERNEL_FILE_VER)-1/linux-$(KERNEL_FILE_VER) \
- $(KERNEL_MAKE_OPTS) \
- INSTALL_HDR_PATH=$(IDIR_GLIBC_DEV)/usr \
- headers_install
+ ${KERNEL_MAKE} INSTALL_HDR_PATH=$(IDIR_GLIBC_DEV)/usr headers_install
(cd $(WRKBUILD); \
$(GLIBC_ENV) \
$(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/$(PKG_NAME)-$(PKG_VERSION)/configure \