summaryrefslogtreecommitdiff
path: root/package/uclibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-11 15:45:54 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-12 09:02:37 +0200
commit35fa84737e00b09f20b66f3bbd534a49a985a10d (patch)
tree598a91dfffe7f1e0bcead414cbf0b1deacd857dc /package/uclibc
parente6eb6c3bc943b70a8aaa1739e91437bb5d773173 (diff)
fix linux header installation on Darwin
Diffstat (limited to 'package/uclibc')
-rw-r--r--package/uclibc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/uclibc/Makefile b/package/uclibc/Makefile
index 505ed4a7b..5de66477f 100644
--- a/package/uclibc/Makefile
+++ b/package/uclibc/Makefile
@@ -3,6 +3,7 @@
include $(TOPDIR)/rules.mk
include $(TOPDIR)/mk/kernel-ver.mk
+include $(TOPDIR)/mk/kernel-vars.mk
include $(TOPDIR)/toolchain/uclibc/Makefile.inc
PKG_NAME:= uClibc
@@ -52,7 +53,9 @@ uclibc-dev-install:
for file in libcrypt libdl libm libresolv libutil; do \
cd $(IDIR_UCLIBC_DEV)/$(ADK_TARGET_LIBC_PATH); ln -sf $$file-$(GIT_VERSION).so $$file.so; \
done
- $(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-linux-$(KERNEL_VERSION)-$(KERNEL_RELEASE)/linux-$(KERNEL_VERSION) ARCH=$(ADK_TARGET_KARCH) V=1 \
+ ${KERNEL_MAKE_ENV} \
+ $(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-linux-$(KERNEL_VERSION)-$(KERNEL_RELEASE)/linux-$(KERNEL_VERSION) \
+ $(KERNEL_MAKE_OPTS) \
INSTALL_HDR_PATH=$(IDIR_UCLIBC_DEV)/usr \
headers_install
$(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/${PKG_NAME}-${PKG_VERSION} \