summaryrefslogtreecommitdiff
path: root/chunks/armv7lhf-cross-linux-api-headers.morph
blob: 5e5a2797933f833e2cf40408a9c8695bf19b0150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"