diff options
author | Justin Patrin <papercrane@gmail.com> | 2005-08-11 22:56:38 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-11 22:56:38 +0000 |
commit | 98d59ca10310424f7b9e03188321251ff490291e (patch) | |
tree | 844d671cb356ef12f79357202217d0f17787e9fd /packages/uclibc/uclibc.inc | |
parent | a55bb1084356a8f5220c856c4221a9448ee55444 (diff) | |
parent | 216826630f56103c2d75c0c512c1978fa65079a3 (diff) |
merge of a0401b9f09376ea2c7d6eb10ff1ccfb84ec7649c
and a0a93c4cb9609431f78a0188791c0cd9574687c9
Diffstat (limited to 'packages/uclibc/uclibc.inc')
-rw-r--r-- | packages/uclibc/uclibc.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/uclibc/uclibc.inc b/packages/uclibc/uclibc.inc index b86ffb1b9b..aa4d165dcc 100644 --- a/packages/uclibc/uclibc.inc +++ b/packages/uclibc/uclibc.inc @@ -62,8 +62,14 @@ SRC_URI = "${@['${UCLIBC_LOCALE_URI}', ''][bb.data.getVar('USE_NLS', d, 1) != 'y UCLIBC_PREFIX = "${CROSS_DIR}/${TARGET_SYS}" UCLIBC_STAGE_PREFIX = "${STAGING_DIR}/${HOST_SYS}" -EXTRA_OEMAKE = "'OPTIMIZATION=' 'CPU_CFLAGS=${CFLAGS}' 'STRIPTOOL=true' 'LD=${LD}' \ +# do_stage barfs on a CC with whitepspace, therefore put the 'HOST_CC_ARCH' in +# the CFLAGS (for when building the utils). +OEMAKE_NO_CC = "'OPTIMIZATION=' 'CPU_CFLAGS=${CFLAGS}' 'STRIPTOOL=true' 'LD=${LD}' \ 'LOCALE_DATA_FILENAME=${UCLIBC_LOCALE_FILE}'" +EXTRA_OEMAKE = "${OEMAKE_NO_CC} 'CC=${CC}'" +EXTRA_OEMAKE_task_do_populate_staging = "${OEMAKE_NO_CC}" +EXTRA_OEMAKE_task_do_package = "${OEMAKE_NO_CC}" + configmangle = 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE="${CROSS_DIR}/${TARGET_SYS}/include",g; \ s,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX="/",g; \ s,^DEVEL_PREFIX=.*,DEVEL_PREFIX="/${prefix}",g; \ |