summaryrefslogtreecommitdiff
path: root/package/glibc
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/glibc
parente6eb6c3bc943b70a8aaa1739e91437bb5d773173 (diff)
fix linux header installation on Darwin
Diffstat (limited to 'package/glibc')
-rw-r--r--package/glibc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/glibc/Makefile b/package/glibc/Makefile
index 26e6a1998..3295fba54 100644
--- a/package/glibc/Makefile
+++ b/package/glibc/Makefile
@@ -3,6 +3,7 @@
include $(TOPDIR)/rules.mk
include $(TOPDIR)/mk/kernel-ver.mk
+include $(TOPDIR)/mk/kernel-vars.mk
include $(TOPDIR)/toolchain/glibc/Makefile.inc
PKG_NAME:= glibc
@@ -71,8 +72,9 @@ endif
cd $(IDIR_GLIBC_DEV)/$(ADK_TARGET_LIBC_PATH); ln -sf $$file-$(PKG_VERSION).so $$file.so; \
done
# header package
+ ${KERNEL_MAKE_ENV} \
$(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-linux-$(KERNEL_VERSION)-$(KERNEL_RELEASE)/linux-$(KERNEL_VERSION) \
- HOSTCC=$(CC_FOR_BUILD) ARCH=$(ADK_TARGET_KARCH) V=1 \
+ $(KERNEL_MAKE_OPTS) \
INSTALL_HDR_PATH=$(IDIR_GLIBC_DEV)/usr \
headers_install
(cd $(WRKBUILD); \