source: trunk/README @ 69

Revision 69, 1.3 KB checked in by alonbl, 3 years ago (diff)

Support different prefix

Line 
1OpenSC Project Cross Compile Build
2
3About
4
5        This environment provides an easy way to build
6        OpenSC Project components using a cross compiler.
7
8        The OpenSC Project does not provide CSP for Windows,
9        any CSP that can use PKCS#11 interface can be used
10        with the components.
11
12Versions
13
14        The tarballs are taken from "SOURCEROOT" directory, the
15        version is not forced. If tarball is missing it is
16        downloaded from its site using a specific version.
17
18Cross compile
19
20        $ CHOST=i686-pc-mingw32 CBUILD=i686-pc-linux-gnu ./build
21       
22        Notes:
23                Ubuntu 8.10
24                        CHOST=i586-mingw32msvc
25
26MSYS
27        Download and install wget msys port.
28
29        $ WGET=/c/msys/1.0/bin/wget ./build
30
31        The WGET is a workaround for msys wget port issue with argv[0].
32
33Environment
34
35        WGET
36                wget to use, default wget.
37        WGET_OPTS
38                options for wget, default empty.
39
40        MAKEOPTS
41                options for make, default "-j2".
42        CHOST
43                host to build to, default empty (native).
44        CTARGET
45                target to build to, default CHOST.
46        CBUILD
47                target of local host, default CHOST.
48
49        IMAGEROOT
50                output goes here, default "image".
51        BUILDROOT
52                build goes here, default "tmp".
53        DISTDIR
54                tarballs expeced to be here, default "distfiles".
55
56        ZLIB_VERSION
57        LIBTOOL_VERSION
58        OPENSSL_VERSION
59        OPENSC_VERSION
60        LIP11_VERSION
61        ENGINE_PKCS11_VERSION
62                versions.
63
64        OPENSC_COMPONENTS
65                pcsc, openct
66       
67        OPENSC_TARGET_ROOT
68                Target OpenSC root, default /
Note: See TracBrowser for help on using the repository browser.