summaryrefslogtreecommitdiff
path: root/chunks/armv7lhf-cross-linux-api-headers.morph
blob: c5dd78e702ae06f14b2993894a4d7188eee4d926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
name: armv7lhf-cross-linux-api-headers
kind: chunk
repo: upstream:linux
ref: eff825d6e284eb0fb04b434429a3e3b2e10cabf8
unpetrify-ref: baserock/build-essential
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"