git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03a9d27
)
gcc-cross-initial.inc: Add sysroot configure options for the case when we use libc...
author
Richard Purdie
<rpurdie@rpsys.net>
Sat, 15 Mar 2008 11:27:35 +0000
(11:27 +0000)
committer
Richard Purdie
<rpurdie@rpsys.net>
Sat, 15 Mar 2008 11:27:35 +0000
(11:27 +0000)
packages/gcc/gcc-cross-initial.inc
patch
|
blob
|
history
diff --git
a/packages/gcc/gcc-cross-initial.inc
b/packages/gcc/gcc-cross-initial.inc
index
d572247
..
e067526
100644
(file)
--- a/
packages/gcc/gcc-cross-initial.inc
+++ b/
packages/gcc/gcc-cross-initial.inc
@@
-5,6
+5,7
@@
PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial"
PACKAGES = ""
# This is intended to be a -very- basic config
+# sysroot is needed in case we use libc-initial
EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \
--with-newlib \
--disable-shared \
@@
-14,6
+15,8
@@
EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \
--enable-languages=c \
--enable-target-optspace \
--program-prefix=${TARGET_PREFIX} \
+ --with-sysroot=${STAGING_DIR_TARGET} \
+ --with-build-sysroot=${STAGING_DIR_TARGET} \
${@get_gcc_fpu_setting(bb, d)}"
do_stage_prepend () {