From e54eeddbe2b67353779d48f8b05381e9f8eb9d2e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 4 May 2010 11:20:29 +0000 Subject: main/libc0.9.32: build fix need run pregen without parallel first also cleaned up some leftovers from cross tools testing --- main/libc0.9.32/APKBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'main/libc0.9.32') diff --git a/main/libc0.9.32/APKBUILD b/main/libc0.9.32/APKBUILD index 253a73185..7ef67dd26 100644 --- a/main/libc0.9.32/APKBUILD +++ b/main/libc0.9.32/APKBUILD @@ -55,8 +55,9 @@ build() { _kh=KERNEL_HEADERS="$SYSROOT/include" fi cp "$_config" .config - sleep 1 make silentoldconfig + make -j1 pregen KERNEL_HEADERS="$SYSROOT"/usr/include \ + CROSS="$CROSS" || return 1 make all KERNEL_HEADERS="$SYSROOT/usr/include" CROSS="$CROSS" || return 1 make utils CROSS="$CROSS" || return 1 } @@ -65,9 +66,9 @@ package() { cd "$_builddir" make DESTDIR="$pkgdir" KERNEL_HEADERS="$SYSROOT/usr/include" \ CROSS="$CROSS" install install_utils - install -Dm755 extra/scripts/getent "$_p"/usr/bin/getent + install -Dm755 extra/scripts/getent "$pkgdir"/usr/bin/getent # provided by linux-headers - rm -f "$_p"/usr/include/scsi/scsi.h + rm -f "$ppkgdir"/usr/include/scsi/scsi.h } dev() { -- cgit v1.2.3