summaryrefslogtreecommitdiff
path: root/chunks/armv7lhf-cross-linux-api-headers.morph
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-14 12:22:53 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-14 12:22:53 +0000
commit0ce6de7adbd5fe6b268e1b8a1422cdfeb7cdebf5 (patch)
treeda8498e1eab2464b06117337cb0b7c87322e6ed1 /chunks/armv7lhf-cross-linux-api-headers.morph
parent10dda889872542b8f261555c139791ff34eec9b1 (diff)
downloaddefinitions-0ce6de7adbd5fe6b268e1b8a1422cdfeb7cdebf5.tar.gz
Add chunk morphologies to definitions repositorybaserock/adamcoldrick/chunks-in-definitions-by-kind
Diffstat (limited to 'chunks/armv7lhf-cross-linux-api-headers.morph')
-rw-r--r--chunks/armv7lhf-cross-linux-api-headers.morph13
1 files changed, 13 insertions, 0 deletions
diff --git a/chunks/armv7lhf-cross-linux-api-headers.morph b/chunks/armv7lhf-cross-linux-api-headers.morph
new file mode 100644
index 00000000..5e5a2797
--- /dev/null
+++ b/chunks/armv7lhf-cross-linux-api-headers.morph
@@ -0,0 +1,13 @@
+name: armv7lhf-cross-linux-api-headers
+kind: chunk
+repo: upstream:linux
+ref: eff825d6e284eb0fb04b434429a3e3b2e10cabf8
+install-commands:
+- make mrproper
+- ARCH=arm make INSTALL_HDR_PATH=dest headers_install
+- |
+ # Copy headers to the sysroot where the eglibc build will find them,
+ # and install its own headers and libraries.
+ export TARGET=armv7lhf-baserock-linux-gnueabi
+ install -d "$DESTDIR$PREFIX/$TARGET/sys-root/$PREFIX/include"
+ cp -r dest/include/* "$DESTDIR/$PREFIX/$TARGET/sys-root/$PREFIX/include"