source: clfs-embedded/BOOK/cross-tools/common/create-targetfs.xml@ 7f6542c

Last change on this file since 7f6542c was a3957dd, checked in by Andrew Bradford <andrew@…>, 8 years ago

cross-tools: Create a targetfs dir

Do this before we set the toolchain variables for the clfs user in their
.bashrc file so that we can pass the "--sysroot=" option to use this
targetfs dir as the root file system for compiling.

We will need to install musl into the targetfs in a future commit.

  • Property mode set to 100644
File size: 632 bytes
RevLine 
[a3957dd]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-cross-tools-create-targetfs">
9 <?dbhtml filename="create-targetfs.html"?>
10
11 <title>Create the Target File System Directory</title>
12
13 <para>Create a target file system directory which will be used when building
14 the programs and libraries which will deploy to the target system:</para>
15
16<screen><userinput>mkdir -pv ${CLFS}/targetfs</userinput></screen>
17
18</sect1>
19
Note: See TracBrowser for help on using the repository browser.