Difference between revisions of "Template:Networking device package selection"

From Teltonika Networks Wiki
m (Lukas.janenas moved page Template:Device package selection to Template:Networking device package selection without leaving a redirect)
 
Line 7: Line 7:
  
 
After executing this command you should see a view like in the picture below.
 
After executing this command you should see a view like in the picture below.
[[File:menuconfig_main_page_v1.png|border|class=tlt-border|700px]]
+
[[File:{{{menuconfig_main_page_file}}}|border|class=tlt-border|700px]]
  
 
To move around in the <b>Kconfig</b> use the arrows on the keyboard, space bar to select or to unselect the package, and enter key to enter sub directories of packages.
 
To move around in the <b>Kconfig</b> use the arrows on the keyboard, space bar to select or to unselect the package, and enter key to enter sub directories of packages.
Line 18: Line 18:
 
<li><M> - this symbol says that the package will be compiled but will not be added to the firmware</li>
 
<li><M> - this symbol says that the package will be compiled but will not be added to the firmware</li>
 
<li>< > - this symbols says that the package will not be compiled and will not be added to the firmware</li>
 
<li>< > - this symbols says that the package will not be compiled and will not be added to the firmware</li>
</ol>[[File:menuconfig_package_marking_v1.png|border|class=tlt-border|700px]]
+
</ol>[[File:{{{menuconfig_package_select_file}}}|border|class=tlt-border|700px]]
 
</li>
 
</li>
 
----
 
----
By default all packages that were marked as to be compiled in the process, can be found separately from the firmware. Packages can be found in directory <b>~/RUT_X/openwrt-gpl-ipq40xx.Linux-x86_64/bin/packages/arm_cortex-a7_neon-vfpv4</b>.
+
By default all packages that were marked as to be compiled in the process, can be found separately from the firmware. Packages can be found in directory <b>{{{package_dir}}}</b>.
  
 
This directory also has five sub directories. Packages are categorized in these directories by there type.
 
This directory also has five sub directories. Packages are categorized in these directories by there type.

Latest revision as of 11:33, 3 December 2020

Selecting packages

To select which packages should be compiled into the firmware is through a special menu called Kconfig. To enter the Kconfig, standing in your projects root directory execute this command in the terminal:

make menuconfig

After executing this command you should see a view like in the picture below. [[File:{{{menuconfig_main_page_file}}}|border|class=tlt-border|700px]]

To move around in the Kconfig use the arrows on the keyboard, space bar to select or to unselect the package, and enter key to enter sub directories of packages.

Note: Do not unselect any package if you do not know what you are doing.


  • Packages have three markings:
    1. <*> - this symbol says that the package will be compiled an added to the firmware
    2. <M> - this symbol says that the package will be compiled but will not be added to the firmware
    3. < > - this symbols says that the package will not be compiled and will not be added to the firmware
    [[File:{{{menuconfig_package_select_file}}}|border|class=tlt-border|700px]]

  • By default all packages that were marked as to be compiled in the process, can be found separately from the firmware. Packages can be found in directory {{{package_dir}}}.

    This directory also has five sub directories. Packages are categorized in these directories by there type.