summaryrefslogtreecommitdiff
path: root/uclibc
diff options
context:
space:
mode:
authorGerald Britton <gbritton@doomcom.org>2003-11-30 01:28:36 +0000
committerGerald Britton <gbritton@doomcom.org>2003-11-30 01:28:36 +0000
commitffd74681cdcbb7ed936745cb77a031af7cded8d9 (patch)
treefed368d9e4e46d204e45cc5a0c80e229b060875b /uclibc
parent5cdb55ad8d8ca901d6efe7f758baa55dcbcf2f38 (diff)
fixes for cross/prefix build changes
BKrev: 3fc947c4cEIiIu4YtDwmjlqrssD-eA
Diffstat (limited to 'uclibc')
-rw-r--r--uclibc/uclibc-initial_0.9.21.oe4
-rw-r--r--uclibc/uclibc_0.9.21.oe6
2 files changed, 7 insertions, 3 deletions
diff --git a/uclibc/uclibc-initial_0.9.21.oe b/uclibc/uclibc-initial_0.9.21.oe
index 92fe6b83da..cd262fb2ad 100644
--- a/uclibc/uclibc-initial_0.9.21.oe
+++ b/uclibc/uclibc-initial_0.9.21.oe
@@ -1,7 +1,9 @@
include uclibc_${PV}.oe
+FILESDIR := ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/uclibc-${PV}
+
DEPENDS :=
-PROVIDES := virtual/uclibc-headers
+PROVIDES := virtual/uclibc-headers-initial
PACKAGES =
diff --git a/uclibc/uclibc_0.9.21.oe b/uclibc/uclibc_0.9.21.oe
index 9778845196..1205c2d807 100644
--- a/uclibc/uclibc_0.9.21.oe
+++ b/uclibc/uclibc_0.9.21.oe
@@ -4,6 +4,8 @@ SECTION := libs
PRIORITY := required
MAINTAINER := Gerald Britton <gbritton@doomcom.org>
+FILESDIR := ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/uclibc-${PV}
+
DEPENDS := virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc-initial
PROVIDES := virtual/libc virtual/uclibc \
virtual/libc-headers virtual/uclibc-headers
@@ -41,8 +43,8 @@ uclibcbuild_do_patch() {
perl -i -p -e 's,^DEVEL_TOOL_PREFIX=.*,DEVEL_TOOL_PREFIX=\"${UCLIBC_PREFIX}\",g' ${S}/.config
perl -i -p -e 's,^SHARED_LIB_LOADER_PATH=.*,SHARED_LIB_LOADER_PATH=\"/lib\",g' ${S}/.config
perl -i -p -e 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y\nUCLIBC_HAS_LOCALE=n,g' ${S}/.config
- perl -i -p -e 's,^GCC_BIN.*,GCC_BIN=${CROSS_DIR}/bin/${TARGET_SYS}-gcc,g' ${S}/extra/gcc-uClibc/Makefile
- perl -i -p -e 's,^LD_BIN.*,LD_BIN=${CROSS_DIR}/bin/${TARGET_SYS}-ld,g' ${S}/extra/gcc-uClibc/Makefile
+ perl -i -p -e 's,^GCC_BIN.*,GCC_BIN=${CROSS_DIR}/bin/${TARGET_PREFIX}gcc,g' ${S}/extra/gcc-uClibc/Makefile
+ perl -i -p -e 's,^LD_BIN.*,LD_BIN=${CROSS_DIR}/bin/${TARGET_PREFIX}ld,g' ${S}/extra/gcc-uClibc/Makefile
make oldconfig
make headers