klibc 1.1.1: Fix multimachine build.
authorPaul Sokolovsky <pmiscml@gmail.com>
Fri, 23 Nov 2007 19:54:17 +0000 (19:54 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Fri, 23 Nov 2007 19:54:17 +0000 (19:54 +0000)
* klibc fishes in kernel sources, and this is per-machine stuff, so
klibc must be per-machine too. This is of course not ideal, as klibc is
*not* machine-dependent, but at least it's on par with uclibc, which has the
same issue.

packages/klibc/klibc.inc
packages/klibc/klibc_1.1.1.bb

index 0ddcef8..a7f0094 100644 (file)
@@ -7,6 +7,7 @@ LICENSE = "BSD-ADV"
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/klibc/Stable/klibc-${PV}.tar.bz2"
 SRC_URI += "file://install.patch;patch=1"
 S = "${WORKDIR}/klibc-${PV}"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 # for the correct kernel staging path
 # inherit module-base
index cd1ba9d..ff71576 100644 (file)
@@ -1 +1,3 @@
 require klibc.inc
+
+PR = "r1"