summaryrefslogtreecommitdiff
path: root/packages/eglibc/eglibc-initial.inc
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-06-01 12:23:21 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-06-01 12:23:21 +0000
commitd69fd172c6e48679d54aa3e6767fb0cd357fc416 (patch)
tree88e74daad4385eb303a38b2c422ca5bd2d8ee208 /packages/eglibc/eglibc-initial.inc
parentb3b724b8114f74dabea8d6f6f8c31339841cef32 (diff)
parenteffad2723e7a4e7f306e3090ec8e4791020f554c (diff)
merge of '1ba4060144f3549b5ec4424715ddde5fd9d0ad61'
and 'a66740dc82701e8bcaf09d803b69b8601b7efb2d'
Diffstat (limited to 'packages/eglibc/eglibc-initial.inc')
-rw-r--r--packages/eglibc/eglibc-initial.inc31
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 () {
+ :
+}