summaryrefslogtreecommitdiff
path: root/debian/README.cross
blob: f118d3b36e4a514efdb6c3130dbdf1b0b2122f2e (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
Cross-binutils debian packages are directly built from the binutils
source package together with the native binutils packages.

To build a cross-binutils package which is not yet built:

 o Download and unpack the binutils source package:

    apt-get source binutils

 o Ensure you have the binutils build-dependencies installed:

    apt-get build-dep binutils

 o Then build the cross-binutils package:
   
    TARGET=<your-target> dpkg-buildpackage -b -uc -us 
    or 
    echo arm >debian/target; dpkg-buildpackage -b -uc -us

   (substitute your target name, e.g. "arm" or "m68k", instead of
    "<your-target>")

--
Hector Oron <zumbi@debian.org>
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Matthias Klose <doko@debian.org>
Nikita Youshchenko <yoush@cs.msu.su>