diff options
author | Khem Raj <raj.khem@gmail.com> | 2008-05-24 06:52:27 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2008-05-24 06:52:27 +0000 |
commit | c8399b4a991c9754c68ce1fd2947684f34d225df (patch) | |
tree | 0ad8646c3ce13b32e11f5f684c7bc39bcbd36949 /packages/eglibc/eglibc-initial.inc | |
parent | 993d0b41039102ea8a645f333af97a71549ef3e3 (diff) |
Move eglibc to a separate package. Adios glibc.
Diffstat (limited to 'packages/eglibc/eglibc-initial.inc')
-rw-r--r-- | packages/eglibc/eglibc-initial.inc | 31 |
1 files changed, 31 insertions, 0 deletions
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 () { + : +} |