Changeset e2d2a2d in clfs-embedded for BOOK/cross-tools/x86/uclibc-headers.xml
- Timestamp:
- Nov 8, 2006, 9:17:42 PM (19 years ago)
- Branches:
- master
- Children:
- e666df1
- Parents:
- a58af15
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/x86/uclibc-headers.xml
ra58af15 re2d2a2d 23 23 <title>Installation of uClibc Headers</title> 24 24 25 <para os="a">By default uClibc symlinks all its headers from the source, we 25 <para os="a">Since we are cross-compiling, we need to make sure when we 26 configuration for our architecture we get the correct information. The 27 following sed makes sure we are using the proper settings for our 28 architecture: (This is a place holder for the other architectures</para> 29 30 <screen os="b"><userinput>cp extra/Configs/Config.in extra/Configs/Config.in.orig 31 sed -e "s:default TARGET_i386:default TARGET_i386:" \ 32 extra/Configs/Config.in.orig > extra/Configs/Config.in</userinput></screen> 33 34 <para os="c">By default uClibc symlinks all its headers from the source, we 26 35 will change this behavious with the following sed:</para> 27 36 28 <screen os=" b"><userinput>cp Makefile Makefile.orig37 <screen os="d"><userinput>cp Makefile Makefile.orig 29 38 sed -e 's/$(LN) -fs/cp/g' Makefile.orig > Makefile 30 39 for file in `find libc/sysdeps/linux -name Makefile`; do … … 33 42 done</userinput></screen> 34 43 35 <para os=" c">Now we will ask uClibc to create a default configuration:</para>44 <para os="e">Now we will ask uClibc to create a default configuration:</para> 36 45 37 <screen os=" d"><userinput>make defconfig</userinput></screen>46 <screen os="f"><userinput>make defconfig</userinput></screen> 38 47 39 <para os=" e">Create the Headers:</para>48 <para os="g">Create the Headers:</para> 40 49 41 <screen os=" f"><userinput>make KERNEL_SOURCE=${CLFS}/usr TARGET_ARCH=i386 headers</userinput></screen>50 <screen os="h"><userinput>make KERNEL_SOURCE=${CLFS}/usr TARGET_ARCH=i386 headers</userinput></screen> 42 51 43 <para os=" g">We will remove the files that were copied over from our Linux Headers, these52 <para os="i">We will remove the files that were copied over from our Linux Headers, these 44 53 files were copied into the source directory of uClibc:</para> 45 54 46 <screen os=" h"><userinput>rm include/{asm,asm-generic,linux}</userinput></screen>55 <screen os="j"><userinput>rm include/{asm,asm-generic,linux}</userinput></screen> 47 56 48 <para os=" i">Install the Headers:</para>57 <para os="k">Install the Headers:</para> 49 58 50 <screen os=" j"><userinput>cp -a include/* ${CLFS}/usr/include</userinput></screen>59 <screen os="l"><userinput>cp -a include/* ${CLFS}/usr/include</userinput></screen> 51 60 52 61 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.