- Timestamp:
- Nov 12, 2006, 9:25:36 PM (18 years ago)
- Branches:
- master
- Children:
- 1261c88
- Parents:
- 680e44d
- Location:
- BOOK/cross-tools/x86
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/x86/uclibc-headers.xml
r680e44d re57d05e 74 74 xpointer="xpointer(//*[@os='o'])"/> 75 75 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 77 href="uclibc.xml" 78 xpointer="xpointer(//*[@os='p'])"/> 76 <para os="p">Copy the headers:</para> 79 77 80 78 <screen os="d5"><userinput>cp -a include/* ${CLFS}/usr/include</userinput></screen> -
BOOK/cross-tools/x86/uclibc.xml
r680e44d re57d05e 30 30 31 31 <para os="c">By default uClibc symlinks the headers to the source directory. 32 This is not acceptable in our build scenario . So sed the Makefiles to copy them33 instead.</para>32 This is not acceptable in our build scenario, so we modify the Makefiles 33 so that the headers will be copied instead:</para> 34 34 35 35 <screen os="d"><userinput>cp Makefile Makefile.orig … … 41 41 42 42 <note os="e"> 43 <para>Below we are just telling uClibc to use the default configuration of44 uClibc.For those for more adventureous, you can use make menuconfig, and45 do a more custom build of your uClibc.</para>43 <para>Below we are just telling uClibc to use its default configuration. 44 For those for more adventureous, you can use make menuconfig, and 45 do a more custom build for your uClibc installation.</para> 46 46 </note> 47 47 48 <para os="f">Create default configuration:</para>48 <para os="f">Create the default configuration:</para> 49 49 50 50 <screen os="g"><userinput>make defconfig</userinput></screen> 51 51 52 52 <para os="h">We will need to edit the configuration file, to make sure everything gets 53 compiled and put into it 's proper locations:</para>53 compiled and put into its proper location:</para> 54 54 55 55 <screen os="i"><userinput>cp .config .config.orig … … 76 76 <screen os="m"><userinput>make TARGET_ARCH=i386</userinput></screen> 77 77 78 <para os="n"> We will remove the files that were copied over from our Linux Headers during79 the building of uClibc. These files were copied into the include directory of the source80 directory of uClibc:</para>78 <para os="n">The uClibc build system creates symlinks in its 79 <filename class="directory">include</filename> directory pointing to 80 ${CLFS}/usr/include. We will need to remove these symlinks from the source dir:</para> 81 81 82 82 <screen os="o"><userinput>rm include/{asm,asm-generic,linux}</userinput></screen> -
BOOK/cross-tools/x86/variables.xml
r680e44d re57d05e 28 28 the command using the method listed below:</para> 29 29 30 <screen os="d"><userinput>export CLFS_TARGET="{target trip plet}"</userinput></screen>30 <screen os="d"><userinput>export CLFS_TARGET="{target triplet}"</userinput></screen> 31 31 32 32 <para os="e">Now we will add these to <filename>~/.bashrc</filename>, just in
Note:
See TracChangeset
for help on using the changeset viewer.