From f81a96923eed83c62cca30f2b82a09bbd36f95f8 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 09 Nov 2014 23:02:10 -0500 Subject: 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. --- (limited to 'build') 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 -- cgit v0.9.1