summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-11-09 23:02:10 (EST)
committer P. J. McDermott <pj@pehjota.net>2014-11-09 23:02:10 (EST)
commitf81a96923eed83c62cca30f2b82a09bbd36f95f8 (patch)
tree4a270d26b99c7f4347caac09d075c107ea5235b7 /build
parent414516da4bd9f1cf24a56446776f601cd2a9f156 (diff)
build: Install headers directly to package dir
Then we don't need oh-installfiles. Also remove the oh-fixperms call, which was in the wrong place to be useful anyway.
Diffstat (limited to 'build')
-rwxr-xr-xbuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/build b/build
index 6280b7c..cc6101d 100755
--- a/build
+++ b/build
@@ -26,12 +26,12 @@ install: build
mkdir -p linux-image.data/etc/kernel/postinst.d \
linux-image.data/etc/kernel/postrm.d; \
fi
- oh-autoinstall -T headers_install -- INSTALL_HDR_PATH="$${PWD}/dest/usr"
- find dest/usr/include \
+ oh-autoinstall -T headers_install -- \
+ INSTALL_HDR_PATH="$${PWD}/linux-libc-dev.data/usr"
+ find linux-libc-dev.data/usr/include \
\( -name .install -o -name ..install.cmd \
-o -name .check -o -name ..check.cmd \) \
-a -exec rm -f '{}' ';'
- mkdir dest/usr/include/$(OPK_HOST_ARCH)
- mv dest/usr/include/asm dest/usr/include/$(OPK_HOST_ARCH)/asm
- oh-installfiles
- oh-fixperms
+ mkdir linux-libc-dev.data/usr/include/$(OPK_HOST_ARCH)
+ mv linux-libc-dev.data/usr/include/asm \
+ linux-libc-dev.data/usr/include/$(OPK_HOST_ARCH)/asm