summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-11 17:00:39 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-11 17:00:39 +0100
commit5de4c2949b50992dd7c5063835301e5ff18e66cb (patch)
treeba5ee2fa165c196305264d4cd9dae7f70a5a081a /toolchain/kernel-headers
parent83270395db5c6e016076f0ea593594b057778e05 (diff)
make iproute compilable on FreeBSD host
make an extra linux-headers dir in STAGING_DIR for special cases, where host gcc is used, but kernel headers from Linux are needed. Move GNU make specific export to GNUMakefile.
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r--toolchain/kernel-headers/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index d13da8141..1d07edd2b 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -13,6 +13,9 @@ $(WRKBUILD)/.headers:
$(MAKE) -C $(WRKBUILD) ARCH=$(ARCH) V=1 \
INSTALL_HDR_PATH=$(TOOLCHAIN_SYSROOT)/usr \
headers_install
+ $(MAKE) -C $(WRKBUILD) ARCH=$(ARCH) V=1 \
+ INSTALL_HDR_PATH=$(LINUX_HEADER_DIR) \
+ headers_install
# cryptodev.h from ocf-linux-20080917
mkdir -p ${STAGING_DIR}/usr/include/crypto
cp files/cryptodev.h ${STAGING_DIR}/usr/include/crypto/