From 28f8024211f0e2f3180cc1541cc978388115e445 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 24 Apr 2012 00:52:38 -0400 Subject: Add a package 'README' file. --- diff --git a/README b/README new file mode 100644 index 0000000..208824f --- /dev/null +++ b/README @@ -0,0 +1,34 @@ +EGLIBC Package +============== + +Downloading Upstream EGLIBC Source +---------------------------------- + +EGLIBC is currently maintained in a Subversion repository, which is routinely +updated with patches from its upstream, GLIBC. You can download a version +branch of EGLIBC and pack it into an archive as follows: + + $ svn export svn://svn.eglibc.org/branches/eglibc-2_15 eglibc-2.15 + $ tar -czf eglibc-2.15.tar.gz eglibc-2.15 + +Building the EGLIBC Package +--------------------------- + +In addition to the build environment variables set by opkhelper, this package's +'build' makefile uses the following variables, which can be set by the user: + + TOOLS_PREFIX + The location of the toolchain (especially GNU Binutils), if not the + system default. + HEADERS_PREFIX + The location of the Linux headers, if not `/usr/include`. + JOBS + The number of jobs (commands) that can be run simultaneously when + building from source. + +For example, the following command was used to cross build this package for the +`cortexa8-linux-eglibc` binary architecture and `rcstereo` application platform +on a dual-core CPU, where `` was the sysroot of the cross toolchain: + + $ TOOLS_PREFIX=/cross-tools HEADERS_PREFIX= JOBS=4 \ + > opkbuild -a cortexa8-linux-eglibc -p rcstereo -d -- cgit v0.9.1