summaryrefslogtreecommitdiffstats
path: root/README
blob: 208824f6102af3da3fd480c58d7e92770ba3992d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 `<sysroot>` was the sysroot of the cross toolchain:

    $ TOOLS_PREFIX=<sysroot>/cross-tools HEADERS_PREFIX=<sysroot> JOBS=4 \
    > opkbuild -a cortexa8-linux-eglibc -p rcstereo -d