mirror of https://github.com/hak5/openwrt.git
parent
60935d135b
commit
9c6c1dff2e
|
@ -231,11 +231,11 @@
|
|||
|
||||
<li><b>target</b> (in the <code>target</code> directory) contains the
|
||||
Makefiles and associated files for software related to the generation of
|
||||
the target root filesystem image. Four types of filesystems are supported
|
||||
the target root filesystem image. Two types of filesystems are supported
|
||||
: jffs2 and squashfs.
|
||||
</ul>
|
||||
|
||||
<p>Each directory contains at least 3 files :</p>
|
||||
<p>Each directory contains at least 2 files :</p>
|
||||
|
||||
<ul>
|
||||
<li><code>Makefile</code> is the Makefile that downloads, configures,
|
||||
|
@ -294,7 +294,7 @@
|
|||
<p>The toolchain generated by the Buildroot by default is located in
|
||||
<code>build_ARCH/staging_dir/</code>. The simplest way to use it
|
||||
is to add <code>build_ARCH/staging_dir/bin/</code> to your PATH
|
||||
environnement variable, and then to use
|
||||
environment variable, and then to use
|
||||
<code>arch-linux-gcc</code>, <code>arch-linux-objdump</code>,
|
||||
<code>arch-linux-ld</code>, etc.</p>
|
||||
|
||||
|
@ -304,13 +304,13 @@
|
|||
<code>~/buildroot/</code>) :</p>
|
||||
|
||||
<pre>
|
||||
export PATH=$PATH:~/buildroot/build_mips/bin/
|
||||
export PATH=$PATH:~/buildroot/build_mipsel/staging_dir/bin/
|
||||
</pre>
|
||||
|
||||
<p>Then you can simply do :</p>
|
||||
|
||||
<pre>
|
||||
mips-linux-gcc -o foo foo.c
|
||||
mipsel-linux-uclibc-gcc -o foo foo.c
|
||||
</pre>
|
||||
|
||||
<p><b>Important</b> : do not try to move the toolchain to an other
|
||||
|
@ -510,7 +510,7 @@ foo-compile: bar-compile
|
|||
of <code>BUILD_DIR</code> which is created upon decompression of
|
||||
the tarball.</li>
|
||||
|
||||
<li><code>PKG_IPK</code> : The resulting <i>ipkg</i> pacakge
|
||||
<li><code>PKG_IPK</code> : The resulting <i>ipkg</i> package
|
||||
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Reference in New Issue