[oe-commits] Andrea Adami : dietlibc.inc: use the right prefix for cross tools. Bump PR.
git version control
git at git.openembedded.org
Thu Oct 8 23:09:10 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: b696acdd7296726efce684e3434f6a6445ddd992
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b696acdd7296726efce684e3434f6a6445ddd992
Author: Andrea Adami <andrea.adami at gmail.com>
Date: Fri Oct 9 00:58:33 2009 +0200
dietlibc.inc: use the right prefix for cross tools. Bump PR.
---
recipes/dietlibc/dietlibc.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes/dietlibc/dietlibc.inc b/recipes/dietlibc/dietlibc.inc
index 7884188..624a9ae 100644
--- a/recipes/dietlibc/dietlibc.inc
+++ b/recipes/dietlibc/dietlibc.inc
@@ -3,7 +3,7 @@ DESCRIPTION = "The diet libc is a libc that is optimized for small size. \
It can be used to create small statically linked binaries"
LICENSE = "GPLv2"
-INC_PR = "r1"
+INC_PR = "r2"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/dietlibc/dietlibc-${PV}.tar.bz2"
@@ -14,7 +14,7 @@ do_configure () {
do_compile () {
oe_runmake all CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" prefix=${STAGING_DIR_TARGET}/lib/dietlibc
- oe_runmake all ARCH="${TARGET_ARCH}" CROSS=" " prefix=${STAGING_DIR_TARGET}/lib/dietlibc
+ oe_runmake all ARCH="${TARGET_ARCH}" CC="${BUILD_CC}" CROSS="${HOST_PREFIX}" prefix=${STAGING_DIR_TARGET}/lib/dietlibc
}
#no packages needed, all binaries will be compiled with -static
More information about the Openembedded-commits
mailing list