X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fprog_guide%2Fdev_kit_build_system.rst;h=96dbf30e0db582f9ff437d449a33e978e7873eb2;hb=218c4e68c1d9bd4a9281bc1dc4d0ab89859083bf;hp=8cb63c9a09bc4354aaef6ab7fefa10751267472e;hpb=ae2f2fee247ad0f80f5a122fd174fa16cddd5438;p=dpdk.git diff --git a/doc/guides/prog_guide/dev_kit_build_system.rst b/doc/guides/prog_guide/dev_kit_build_system.rst index 8cb63c9a09..96dbf30e0d 100644 --- a/doc/guides/prog_guide/dev_kit_build_system.rst +++ b/doc/guides/prog_guide/dev_kit_build_system.rst @@ -31,13 +31,13 @@ Each build directory contains include files, libraries, and applications. A build directory is specific to a configuration that includes architecture + execution environment + toolchain. It is possible to have several build directories sharing the same sources with different configurations. -For instance, to create a new build directory called my_sdk_build_dir using the default configuration template config/defconfig_x86_64-linuxapp, +For instance, to create a new build directory called my_sdk_build_dir using the default configuration template config/defconfig_x86_64-linux, we use: .. code-block:: console cd ${RTE_SDK} - make config T=x86_64-native-linuxapp-gcc O=my_sdk_build_dir + make config T=x86_64-native-linux-gcc O=my_sdk_build_dir This creates a new my_sdk_build_dir directory. After that, we can compile by doing: @@ -65,7 +65,7 @@ To compile an application, the user must set the RTE_SDK and RTE_TARGET environm .. code-block:: console export RTE_SDK=/opt/DPDK - export RTE_TARGET=x86_64-native-linuxapp-gcc + export RTE_TARGET=x86_64-native-linux-gcc cd /path/to/my_app For a new application, the user must create their own Makefile that includes some .mk files, such as @@ -246,7 +246,7 @@ Useful Variables Provided by the Build System * RTE_TOOLCHAIN: Defines the toolchain (gcc , icc). It is the same value as CONFIG_RTE_TOOLCHAIN but without the double-quotes around the string. -* RTE_EXEC_ENV: Defines the executive environment (linuxapp). +* RTE_EXEC_ENV: Defines the executive environment (linux). It is the same value as CONFIG_RTE_EXEC_ENV but without the double-quotes around the string. * RTE_KERNELDIR: This variable contains the absolute path to the kernel sources that will be used to compile the kernel modules.