From c8399b4a991c9754c68ce1fd2947684f34d225df Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 24 May 2008 06:52:27 +0000 Subject: Move eglibc to a separate package. Adios glibc. --- packages/eglibc/eglibc-initial.inc | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 packages/eglibc/eglibc-initial.inc (limited to 'packages/eglibc/eglibc-initial.inc') diff --git a/packages/eglibc/eglibc-initial.inc b/packages/eglibc/eglibc-initial.inc new file mode 100644 index 0000000000..342711c157 --- /dev/null +++ b/packages/eglibc/eglibc-initial.inc @@ -0,0 +1,31 @@ +SECTION = "libs" +DEPENDS = "linux-libc-headers" +PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" +FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/eglibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" + +PACKAGES = "" +PACKAGES_DYNAMIC = "" + +do_configure () { + sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure + chmod +x ${S}/configure + CC="${BUILD_CC}" CPP="${BUILD_CPP}" LD="${BUILD_LD}" \ + ${S}/configure --host=${TARGET_SYS} --build=${BUILD_SYS} \ + --without-cvs --disable-sanity-checks \ + --with-headers=${STAGING_DIR_TARGET}${layout_includedir} \ + --enable-hacker-mode +} + +do_compile () { + : +} + +do_stage () { + oe_runmake cross-compiling=yes install_root=${STAGING_DIR_HOST} \ + includedir='${layout_includedir}' prefix='${layout_prefix}' install-headers + +} + +do_install () { + : +} -- cgit v1.2.3